27 direction->Randomize(rng);
35 direction->Randomize(rng);
40 direction->Normalize();
void CalculateNewRandomlyDivergingDirectionVector(Vector::Pointer direction, double bendingFactor, std::mt19937 *rng)
CalculateRandomlyDivergingPosition calculates the new position by modifying the direction vector rand...
const double RANDOMIZATION_PERCENTAGE
~VesselMeanderStrategy() override
void CalculateNewDirectionVectorInStraightLine(Vector::Pointer direction, double bendingFactor, std::mt19937 *rng)
CalculateNewPositionInStraightLine calculates the new position by just following the direction vector...
MITKCORE_EXPORT const ScalarType eps