Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkPAVessel.h>
Public Types | |
typedef void(VesselMeanderStrategy::* | CalculateNewVesselPositionCallback) (Vector::Pointer, double, std::mt19937 *) |
Public Member Functions | |
mitkClassMacroItkParent (Vessel, itk::LightObject) | |
mitkNewMacro1Param (Self, VesselProperties::Pointer) | |
void | ExpandVessel (mitk::pa::InSilicoTissueVolume::Pointer volume, CalculateNewVesselPositionCallback calculateNewPosition, double bendingFactor, std::mt19937 *rng) |
ExpandVessel makes this Vessel expand one step in its current direction. After expanding, the vessel will draw itself into the given InSilicoTissueVolume. More... | |
bool | CanBifurcate () |
CanBifurcate. More... | |
Vessel::Pointer | Bifurcate (std::mt19937 *rng) |
Bifurcate bifurcates this vessel into two new ones. Makes sure that the volume of the vessels stays the same. More... | |
bool | IsFinished () |
IsFinished. More... | |
virtual VesselProperties::Pointer | GetVesselProperties () const |
Protected Member Functions | |
Vessel (VesselProperties::Pointer parameters) | |
~Vessel () override | |
Definition at line 31 of file mitkPAVessel.h.
typedef void(VesselMeanderStrategy::* mitk::pa::Vessel::CalculateNewVesselPositionCallback) (Vector::Pointer, double, std::mt19937 *) |
Callback function definition of a VesselMeanderStrategy
Definition at line 41 of file mitkPAVessel.h.
|
protected |
Definition at line 17 of file mitkPAVessel.cpp.
References mitk::pa::VesselProperties::New(), mitk::pa::VesselMeanderStrategy::New(), and mitk::pa::VesselDrawer::New().
|
overrideprotected |
Definition at line 31 of file mitkPAVessel.cpp.
mitk::pa::Vessel::Pointer mitk::pa::Vessel::Bifurcate | ( | std::mt19937 * | rng | ) |
Bifurcate bifurcates this vessel into two new ones. Makes sure that the volume of the vessels stays the same.
Definition at line 58 of file mitkPAVessel.cpp.
References mitk::pa::VesselProperties::New().
bool mitk::pa::Vessel::CanBifurcate | ( | ) |
CanBifurcate.
Definition at line 45 of file mitkPAVessel.cpp.
void mitk::pa::Vessel::ExpandVessel | ( | mitk::pa::InSilicoTissueVolume::Pointer | volume, |
CalculateNewVesselPositionCallback | calculateNewPosition, | ||
double | bendingFactor, | ||
std::mt19937 * | rng | ||
) |
ExpandVessel makes this Vessel expand one step in its current direction. After expanding, the vessel will draw itself into the given InSilicoTissueVolume.
volume | volume for the vessel to draw itself in |
calculateNewPosition | a callback function of the VesselMeanderStrategy class. It is used to calculate the final position after taking the step. |
bendingFactor | a metric of how much the Vessel should bend. If set to 0 the vessel will go in a straight line. |
Definition at line 37 of file mitkPAVessel.cpp.
|
virtual |
bool mitk::pa::Vessel::IsFinished | ( | ) |
IsFinished.
Definition at line 77 of file mitkPAVessel.cpp.
mitk::pa::Vessel::mitkClassMacroItkParent | ( | Vessel | , |
itk::LightObject | |||
) |
mitk::pa::Vessel::mitkNewMacro1Param | ( | Self | , |
VesselProperties::Pointer | |||
) |