Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkPAVesselMeanderStrategy.h
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 
13 #ifndef MITKVESSELMEANDERSTRATEGY_H
14 #define MITKVESSELMEANDERSTRATEGY_H
15 
16 #include "mitkVector.h"
17 #include "mitkPAVector.h"
18 
20 
21 //Includes for smart pointer usage
22 #include "mitkCommon.h"
23 #include "itkLightObject.h"
24 
25 namespace mitk {
26  namespace pa {
27  class MITKPHOTOACOUSTICSLIB_EXPORT VesselMeanderStrategy : public itk::LightObject
28  {
29  public:
31  itkFactorylessNewMacro(Self);
32 
38  void CalculateNewDirectionVectorInStraightLine(Vector::Pointer direction, double bendingFactor, std::mt19937* rng);
39 
48  void CalculateNewRandomlyDivergingDirectionVector(Vector::Pointer direction, double bendingFactor, std::mt19937* rng);
49 
50  protected:
52  ~VesselMeanderStrategy() override;
53 
54  const double RANDOMIZATION_PERCENTAGE = 0.4;
55  };
56  }
57 }
58 #endif // MITKVESSELMEANDERSTRATEGY_H
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
#define MITKPHOTOACOUSTICSLIB_EXPORT