CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::cxSimpleSyntheticVolume Class Reference

#include <cxSimpleSyntheticVolume.h>

Inheritance diagram for cx::cxSimpleSyntheticVolume:
cx::cxSyntheticVolume

Public Member Functions

 cxSimpleSyntheticVolume (Vector3D bounds)
 
virtual void printInfo () const
 
virtual bool isOnLine (float x, float y, float thickness, int n_lines, int axis) const
 
virtual unsigned char evaluate (const cx::Vector3D &p) 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

Definition at line 21 of file cxSimpleSyntheticVolume.h.

Constructor & Destructor Documentation

cx::cxSimpleSyntheticVolume::cxSimpleSyntheticVolume ( Vector3D  bounds)

Definition at line 18 of file cxSimpleSyntheticVolume.cpp.

Member Function Documentation

unsigned char cx::cxSimpleSyntheticVolume::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 51 of file cxSimpleSyntheticVolume.cpp.

bool cx::cxSimpleSyntheticVolume::isOnLine ( float  x,
float  y,
float  thickness,
int  n_lines,
int  axis 
) const
virtual

Definition at line 30 of file cxSimpleSyntheticVolume.cpp.

void cx::cxSimpleSyntheticVolume::printInfo ( ) const
virtual

Reimplemented from cx::cxSyntheticVolume.

Definition at line 23 of file cxSimpleSyntheticVolume.cpp.


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