12 #ifndef SYNTHETIC_VOLUME_HPP
13 #define SYNTHETIC_VOLUME_HPP
15 #include "cxtestutilities_export.h"
69 sampleUsData(
const std::vector<Transform3D>& planes_rMf,
70 const Eigen::Array2f& pixelSpacing,
71 const Eigen::Array2i& sliceDimension,
73 const double noiseSigma,
74 const unsigned char noiseMean)
const;
79 sampleUsData(
const std::vector<Transform3D>& planes_rMt,
82 const double noiseSigma=0,
83 const unsigned char noiseMean=0)
const;
89 const double noiseSigma=0,
90 const unsigned char noiseMean=0)
const;
95 const Eigen::Array2f& pixelSpacing,
96 const Eigen::Array2i& sliceDimension,
97 const double noiseSigma,
98 const unsigned char noiseMean)
const;
104 virtual unsigned char evaluate(
const Vector3D& p)
const = 0;
111 unsigned char constrainToUnsignedChar(
const int val)
const;
112 vtkImageDataPtr createEmptyMask(
const Eigen::Array2i& sliceDimension)
const;