Medical Imaging Interaction Toolkit  2018.4.99-07c45cb1
Medical Imaging Interaction Toolkit
mitk::pa::VesselMeanderStrategy Class Reference

#include <mitkPAVesselMeanderStrategy.h>

Inheritance diagram for mitk::pa::VesselMeanderStrategy:
Collaboration diagram for mitk::pa::VesselMeanderStrategy:

Public Member Functions

 mitkClassMacroItkParent (VesselMeanderStrategy, itk::LightObject)
 
void CalculateNewDirectionVectorInStraightLine (Vector::Pointer direction, double bendingFactor, std::mt19937 *rng)
 CalculateNewPositionInStraightLine calculates the new position by just following the direction vector. More...
 
void CalculateNewRandomlyDivergingDirectionVector (Vector::Pointer direction, double bendingFactor, std::mt19937 *rng)
 CalculateRandomlyDivergingPosition calculates the new position by modifying the direction vector randomly, proportional to the selected bendingFactor. This means, that the vessels will bend in each expansion step, if bendingFactor > 0. More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 VesselMeanderStrategy ()
 
 ~VesselMeanderStrategy () override
 

Protected Attributes

const double RANDOMIZATION_PERCENTAGE
 

Detailed Description

Definition at line 27 of file mitkPAVesselMeanderStrategy.h.

Constructor & Destructor Documentation

◆ VesselMeanderStrategy()

mitk::pa::VesselMeanderStrategy::VesselMeanderStrategy ( )
protected

Definition at line 15 of file mitkPAVesselMeanderStrategy.cpp.

◆ ~VesselMeanderStrategy()

mitk::pa::VesselMeanderStrategy::~VesselMeanderStrategy ( )
overrideprotected

Definition at line 19 of file mitkPAVesselMeanderStrategy.cpp.

Member Function Documentation

◆ CalculateNewDirectionVectorInStraightLine()

void mitk::pa::VesselMeanderStrategy::CalculateNewDirectionVectorInStraightLine ( Vector::Pointer  direction,
double  bendingFactor,
std::mt19937 *  rng 
)

CalculateNewPositionInStraightLine calculates the new position by just following the direction vector.

Parameters
direction
bendingFactor

Definition at line 23 of file mitkPAVesselMeanderStrategy.cpp.

References mitk::eps.

Referenced by CreatePhantom_04_04_18_Parameters().

◆ CalculateNewRandomlyDivergingDirectionVector()

void mitk::pa::VesselMeanderStrategy::CalculateNewRandomlyDivergingDirectionVector ( Vector::Pointer  direction,
double  bendingFactor,
std::mt19937 *  rng 
)

CalculateRandomlyDivergingPosition calculates the new position by modifying the direction vector randomly, proportional to the selected bendingFactor. This means, that the vessels will bend in each expansion step, if bendingFactor > 0.

Parameters
direction
bendingFactor

Definition at line 31 of file mitkPAVesselMeanderStrategy.cpp.

References mitk::eps, and RANDOMIZATION_PERCENTAGE.

Referenced by CreateBaselineHB_13_02_18_Parameters(), CreateMultiHB_13_02_18_Parameters(), CreateMultivessel_19_10_17_Parameters(), CreateMultivessel_19_12_17_Parameters(), CreateSinglevessel_19_10_17_Parameters(), CreateSingleVesselHeterogeneousBackground_08_02_18_Parameters(), and mitk::pa::TissueGeneratorParameters::TissueGeneratorParameters().

◆ mitkClassMacroItkParent()

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

◆ New()

static Pointer mitk::pa::VesselMeanderStrategy::New ( )
static

Member Data Documentation

◆ RANDOMIZATION_PERCENTAGE

const double mitk::pa::VesselMeanderStrategy::RANDOMIZATION_PERCENTAGE
protected

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