CustusX  22.04-rc5
An IGT application
cxtest::SphereSyntheticVolume Class Reference

#include <cxtestSphereSyntheticVolume.h>

Inheritance diagram for cxtest::SphereSyntheticVolume:
cx::cxSyntheticVolume

Public Member Functions

 SphereSyntheticVolume (cx::Vector3D bounds)
 
void setSphere (const cx::Vector3D &center, 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
 

Detailed Description

Date
21.11.2013, 2013
Author
christiana

Definition at line 26 of file cxtestSphereSyntheticVolume.h.

Constructor & Destructor Documentation

cxtest::SphereSyntheticVolume::SphereSyntheticVolume ( cx::Vector3D  bounds)

Definition at line 17 of file cxtestSphereSyntheticVolume.cpp.

Member Function Documentation

unsigned char cxtest::SphereSyntheticVolume::evaluate ( const cx::Vector3D p) const
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.

void cxtest::SphereSyntheticVolume::printInfo ( ) const
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.


The documentation for this class was generated from the following files: