Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkPAVesselTree.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef MITKVESSELSTRUCTURE_H
14 #define MITKVESSELSTRUCTURE_H
15 
16 //std includes
17 #include <vector>
18 
19 //mitk includes
20 #include "mitkPAVessel.h"
23 
24 //Includes for smart pointer usage
25 #include "mitkCommon.h"
26 #include "itkLightObject.h"
27 
28 namespace mitk {
29  namespace pa {
30  class MITKPHOTOACOUSTICSLIB_EXPORT VesselTree : public itk::LightObject
31  {
32  public:
33  mitkClassMacroItkParent(VesselTree, itk::LightObject)
34  mitkNewMacro1Param(Self, VesselProperties::Pointer)
35 
36 
43  void Step(InSilicoTissueVolume::Pointer volume,
44  Vessel::CalculateNewVesselPositionCallback calculateNewPosition,
45  double bendingFactor, std::mt19937* rng);
46 
51  bool IsFinished();
52 
53  itkGetConstMacro(CurrentSubvessels, std::vector<Vessel::Pointer>*);
54 
55  protected:
56  VesselTree(VesselProperties::Pointer initialProperties);
57  ~VesselTree() override;
58 
59  private:
60  std::vector<Vessel::Pointer>* m_CurrentSubvessels;
61  };
62 
63  MITKPHOTOACOUSTICSLIB_EXPORT bool Equal(const VesselTree::Pointer leftHandSide, const VesselTree::Pointer rightHandSide, double eps, bool verbose);
64  }
65 }
66 #endif // MITKVESSELSTRUCTURE_H
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
VesselProperties::Pointer typedef void(VesselMeanderStrategy::* CalculateNewVesselPositionCallback)(Vector::Pointer, double, std::mt19937 *)
Definition: mitkPAVessel.h:41
DataCollection - Class to facilitate loading/accessing structured data.
MITKPHOTOACOUSTICSLIB_EXPORT bool Equal(const MonteCarloThreadHandler::Pointer leftHandSide, const MonteCarloThreadHandler::Pointer rightHandSide, double eps, bool verbose)
Equal A function comparing two thread handlers for beeing equal.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
bool verbose(false)
MITKCORE_EXPORT const ScalarType eps
#define MITKPHOTOACOUSTICSLIB_EXPORT