CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 47 of file cxtestSphereSyntheticVolume.h.

Constructor & Destructor Documentation

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

Definition at line 38 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 61 of file cxtestSphereSyntheticVolume.cpp.

void cxtest::SphereSyntheticVolume::printInfo ( ) const
virtual

Reimplemented from cx::cxSyntheticVolume.

Definition at line 45 of file cxtestSphereSyntheticVolume.cpp.

void cxtest::SphereSyntheticVolume::setSphere ( const cx::Vector3D center,
double  radius 
)

Definition at line 54 of file cxtestSphereSyntheticVolume.cpp.


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