13 #ifndef MITKSMARTVECTOR_H 14 #define MITKSMARTVECTOR_H 23 #include "itkLightObject.h" 31 itkFactorylessNewMacro(Self);
39 double GetElement(
unsigned short index);
40 void SetElement(
unsigned short index,
double value);
46 void SetValue(Vector::Pointer value);
54 void RandomizeByPercentage(
double percentage,
double bendingFactor, std::mt19937* rng);
66 void Randomize(
double xLowerLimit,
double xUpperLimit,
double yLowerLimit,
double yUpperLimit,
double zLowerLimit,
double zUpperLimit, std::mt19937* rng);
75 void Randomize(
double xLimit,
double yLimit,
double zLimit, std::mt19937* rng);
80 void Randomize(std::mt19937* rng);
88 void Rotate(
double xAngle,
double yAngle);
97 void Scale(
double factor);
104 Vector::Pointer
Clone();
106 void Subtract(Vector::Pointer other);
108 void Add(Vector::Pointer other);
114 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
132 #endif // MITKSMARTVECTOR_H
DataCollection - Class to facilitate loading/accessing structured data.
MITKPHOTOACOUSTICSLIB_EXPORT bool Equal(const MonteCarloThreadHandler::Pointer leftHandSide, const MonteCarloThreadHandler::Pointer rightHandSide, double eps, bool verbose)
Equal A function comparing two thread handlers for beeing equal.
#define mitkClassMacroItkParent(className, SuperClassName)
void Normalize(itk::Image< TPixel, VImageDimension > *itkImage, mitk::Image::Pointer im2, mitk::Image::Pointer mask1, std::string output)
MITKCORE_EXPORT const ScalarType eps
#define MITKPHOTOACOUSTICSLIB_EXPORT