Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkPAVesselProperties.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 MITKPhotoacousticVesselParameters_H
14 #define MITKPhotoacousticVesselParameters_H
15 
17 
18 #include <mitkPAVector.h>
19 
20 //Includes for smart pointer usage
21 #include "mitkCommon.h"
22 #include "itkLightObject.h"
23 
24 namespace mitk {
25  namespace pa {
27  {
28  public:
30  itkFactorylessNewMacro(Self);
31  mitkNewMacro1Param(Self, Self::Pointer);
32 
33  itkGetMacro(PositionVector, Vector::Pointer);
34  itkGetMacro(DirectionVector, Vector::Pointer);
35  itkGetMacro(RadiusInVoxel, double);
36  itkGetMacro(AbsorptionCoefficient, double);
37  itkGetMacro(ScatteringCoefficient, double);
38  itkGetMacro(AnisotopyCoefficient, double);
39  itkGetMacro(BifurcationFrequency, double);
40  itkGetMacro(DoPartialVolume, bool);
41 
42  itkSetMacro(PositionVector, Vector::Pointer);
43  itkSetMacro(DirectionVector, Vector::Pointer);
44  itkSetMacro(RadiusInVoxel, double);
45  itkSetMacro(AbsorptionCoefficient, double);
46  itkSetMacro(ScatteringCoefficient, double);
47  itkSetMacro(AnisotopyCoefficient, double);
48  itkSetMacro(BifurcationFrequency, double);
49  itkSetMacro(DoPartialVolume, bool);
50 
51  protected:
53  VesselProperties(Self::Pointer other);
54  ~VesselProperties() override;
55 
56  private:
57  Vector::Pointer m_PositionVector;
58  Vector::Pointer m_DirectionVector;
59  double m_RadiusInVoxel;
60  double m_AbsorptionCoefficient;
61  double m_ScatteringCoefficient;
62  double m_AnisotopyCoefficient;
63  double m_BifurcationFrequency;
64  bool m_DoPartialVolume;
65  };
66 
76  MITKPHOTOACOUSTICSLIB_EXPORT bool Equal(const VesselProperties::Pointer leftHandSide, const VesselProperties::Pointer rightHandSide, double eps, bool verbose);
77  }
78 }
79 #endif // MITKPhotoacousticVesselParameters_H
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
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