13 #ifndef MITKPHOTOACOUSTICVOLUME_H 14 #define MITKPHOTOACOUSTICVOLUME_H 24 #include "itkLightObject.h" 60 void SetVolumeValues(
int x,
int y,
int z,
double absorption,
double scattering,
double anisotropy,
SegmentationType segmentType);
72 void SetVolumeValues(
int x,
int y,
int z,
double absorption,
double scattering,
double anisotropy);
82 bool IsInsideVolume(
int x,
int y,
int z);
90 void AddDoubleProperty(std::string label,
double value);
98 void AddIntProperty(std::string label,
int value);
100 Volume::Pointer GetAbsorptionVolume();
101 Volume::Pointer GetScatteringVolume();
102 Volume::Pointer GetAnisotropyVolume();
103 Volume::Pointer GetSegmentationVolume();
105 void SetAbsorptionVolume(Volume::Pointer volume);
106 void SetScatteringVolume(Volume::Pointer volume);
107 void SetAnisotropyVolume(Volume::Pointer volume);
108 void SetSegmentationVolume(Volume::Pointer volume);
111 void SetSpacing(
double spacing);
113 void FinalizeVolume();
114 itkGetMacro(TissueParameters, TissueGeneratorParameters::Pointer);
115 itkGetMacro(TDim,
unsigned int);
117 static InSilicoTissueVolume::Pointer New(mitk::pa::Volume::Pointer absorptionVolume,
118 Volume::Pointer scatteringVolume,
119 Volume::Pointer anisotropyVolume,
120 Volume::Pointer segmentationVolume,
121 TissueGeneratorParameters::Pointer tissueParameters,
127 Volume::Pointer scatteringVolume,
128 Volume::Pointer anisotropyVolume,
129 Volume::Pointer segmentationVolume,
130 TissueGeneratorParameters::Pointer tissueParameters,
147 void RandomizeTissueCoefficients(
long rngSeed,
bool useRngSeed,
double percentage);
152 void FillZLayer(
int x,
int y,
double startIdx,
double endIdx,
153 double absorption,
double scattering,
double anisotropy,
155 void AddSkinAndAirLayers();
156 void UpdatePropertyList();
160 #endif // MITKPHOTOACOUSTICVOLUME_H
mitk::pa::Volume::Pointer m_ScatteringVolume
mitk::pa::Volume::Pointer m_AnisotropyVolume
TissueGeneratorParameters::Pointer m_TissueParameters
mitk::PropertyList::Pointer m_PropertyList
DataCollection - Class to facilitate loading/accessing structured data.
double m_InitialBackgroundAbsorption
#define mitkNewMacro2Param(classname, typea, typeb)
#define mitkClassMacroItkParent(className, SuperClassName)
mitk::pa::Volume::Pointer m_SegmentationVolume
#define MITKPHOTOACOUSTICSLIB_EXPORT
mitk::pa::Volume::Pointer m_AbsorptionVolume