NorMIT-nav
22.09
An IGT application
|
#include <cxtestSphereSyntheticVolume.h>
Public Member Functions | |
SphereSyntheticVolume (cx::Vector3D bounds) | |
void | setSphere (const cx::Vector3D ¢er, double radius) |
virtual unsigned char | evaluate (const cx::Vector3D &p) const |
virtual void | printInfo () const |
Public Member Functions inherited from cx::cxSyntheticVolume | |
cxSyntheticVolume (Vector3D bounds) | |
virtual | ~cxSyntheticVolume () |
virtual Vector3D | getBounds () |
virtual ProcessedUSInputDataPtr | sampleUsData (const std::vector< Transform3D > &planes_rMf, const Eigen::Array2f &pixelSpacing, const Eigen::Array2i &sliceDimension, const Transform3D &output_dMr, const double noiseSigma, const unsigned char noiseMean) const |
virtual ProcessedUSInputDataPtr | sampleUsData (const std::vector< Transform3D > &planes_rMt, const ProbeDefinition &probe, const Transform3D &output_dMr, const double noiseSigma=0, const unsigned char noiseMean=0) const |
vtkImageDataPtr | sampleUsData (const Transform3D &plane_rMt, const ProbeDefinition &probe, const double noiseSigma=0, const unsigned char noiseMean=0) const |
vtkImageDataPtr | sampleUsData (const Transform3D &plane_rMf, const Eigen::Array2f &pixelSpacing, const Eigen::Array2i &sliceDimension, const double noiseSigma, const unsigned char noiseMean) const |
void | fillVolume (cx::ImagePtr vol) |
virtual float | computeRMSError (cx::ImagePtr vol) |
Additional Inherited Members | |
Protected Member Functions inherited from cx::cxSyntheticVolume | |
unsigned char | constrainToUnsignedChar (const int val) const |
vtkImageDataPtr | createEmptyMask (const Eigen::Array2i &sliceDimension) const |
Protected Attributes inherited from cx::cxSyntheticVolume | |
Vector3D | mBounds |
Definition at line 26 of file cxtestSphereSyntheticVolume.h.
cxtest::SphereSyntheticVolume::SphereSyntheticVolume | ( | cx::Vector3D | bounds | ) |
Definition at line 17 of file cxtestSphereSyntheticVolume.cpp.
|
virtual |
Evaluate the volume at position (x, y, z). The coordinates are given in volume space.
Implements cx::cxSyntheticVolume.
Definition at line 40 of file cxtestSphereSyntheticVolume.cpp.
|
virtual |
Reimplemented from cx::cxSyntheticVolume.
Definition at line 24 of file cxtestSphereSyntheticVolume.cpp.
void cxtest::SphereSyntheticVolume::setSphere | ( | const cx::Vector3D & | center, |
double | radius | ||
) |
Definition at line 33 of file cxtestSphereSyntheticVolume.cpp.