Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkPATissueGeneratorParameters.cpp
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 
14 
16 {
17  m_XDim = 50;
18  m_YDim = 50;
19  m_ZDim = 50;
20  m_VoxelSpacingInCentimeters = 1;
21  m_DoPartialVolume = false;
22  m_UseRngSeed = false;
23  m_RngSeed = 1337L;
24  m_RandomizePhysicalProperties = false;
25  m_RandomizePhysicalPropertiesPercentage = 0;
26  m_ForceVesselsMoveAlongYDirection = false;
27 
28  m_MinBackgroundAbsorption = 0.1;
29  m_MaxBackgroundAbsorption = 0.1;
30  m_BackgroundScattering = 15;
31  m_BackgroundAnisotropy = 0.9;
32  m_AirAbsorption = 0.0001;
33  m_AirScattering = 1;
34  m_AirAnisotropy = 1;
35  m_AirThicknessInMillimeters = 0;
36  m_SkinAbsorption = 0.1;
37  m_SkinScattering = 15;
38  m_SkinAnisotropy = 0.9;
39  m_SkinThicknessInMillimeters = 0;
40 
41  m_CalculateNewVesselPositionCallback = &VesselMeanderStrategy::CalculateNewRandomlyDivergingDirectionVector;
42  m_MinNumberOfVessels = 0;
43  m_MaxNumberOfVessels = 0;
44  m_MinVesselBending = 0;
45  m_MaxVesselBending = 0.1;
46  m_MinVesselAbsorption = 1;
47  m_MaxVesselAbsorption = 8;
48  m_MinVesselRadiusInMillimeters = 1;
49  m_MaxVesselRadiusInMillimeters = 3;
50  m_VesselBifurcationFrequency = 25;
51  m_MinVesselScattering = 15;
52  m_MaxVesselScattering = 15;
53  m_MinVesselAnisotropy = 0.9;
54  m_MaxVesselAnisotropy = 0.9;
55  m_MinVesselZOrigin = 10;
56  m_MaxVesselZOrigin = 40;
57 
58  m_MCflag = 1;
59  m_MCLaunchflag = 0;
60  m_MCBoundaryflag = 2;
61  m_MCLaunchPointX = 25;
62  m_MCLaunchPointY = 25;
63  m_MCLaunchPointZ = 2;
64  m_MCFocusPointX = 25;
65  m_MCFocusPointY = 25;
66  m_MCFocusPointZ = 25;
67  m_MCTrajectoryVectorX = 0;
68  m_MCTrajectoryVectorY = 0;
69  m_MCTrajectoryVectorZ = 1;
70  m_MCRadius = 2;
71  m_MCWaist = 4;
72 }
73 
75 {
76 }
void CalculateNewRandomlyDivergingDirectionVector(Vector::Pointer direction, double bendingFactor, std::mt19937 *rng)
CalculateRandomlyDivergingPosition calculates the new position by modifying the direction vector rand...