Medical Imaging Interaction Toolkit  2018.4.99-c0f884b2
Medical Imaging Interaction Toolkit
mitk::pa::Vessel Class Reference

#include <mitkPAVessel.h>

Inheritance diagram for mitk::pa::Vessel:
Collaboration diagram for mitk::pa::Vessel:

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
 

Detailed Description

Definition at line 31 of file mitkPAVessel.h.

Member Typedef Documentation

◆ CalculateNewVesselPositionCallback

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.

Constructor & Destructor Documentation

◆ Vessel()

mitk::pa::Vessel::Vessel ( VesselProperties::Pointer  parameters)
protected

◆ ~Vessel()

mitk::pa::Vessel::~Vessel ( )
overrideprotected

Definition at line 31 of file mitkPAVessel.cpp.

Member Function Documentation

◆ Bifurcate()

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.

Returns
a new vessel split up from the current one.

Definition at line 58 of file mitkPAVessel.cpp.

References mitk::pa::VesselProperties::New().

◆ CanBifurcate()

bool mitk::pa::Vessel::CanBifurcate ( )

CanBifurcate.

Returns
true if the Vessel is ready to Bifurcate()

Definition at line 45 of file mitkPAVessel.cpp.

◆ ExpandVessel()

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.

Parameters
volumevolume for the vessel to draw itself in
calculateNewPositiona callback function of the VesselMeanderStrategy class. It is used to calculate the final position after taking the step.
bendingFactora 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.

◆ GetVesselProperties()

virtual VesselProperties::Pointer mitk::pa::Vessel::GetVesselProperties ( ) const
virtual

◆ IsFinished()

bool mitk::pa::Vessel::IsFinished ( )

IsFinished.

Returns
true if the vessel cannot expand any further

Definition at line 77 of file mitkPAVessel.cpp.

◆ mitkClassMacroItkParent()

mitk::pa::Vessel::mitkClassMacroItkParent ( Vessel  ,
itk::LightObject   
)

◆ mitkNewMacro1Param()

mitk::pa::Vessel::mitkNewMacro1Param ( Self  ,
VesselProperties::Pointer   
)

The documentation for this class was generated from the following files: