In file inrimage/ImageGeometry.h:

namespace yav class ImageGeometry

Base class for image geometry conversion

Inheritance:


Public Fields

static const double epsilon
equals to zero

Public Methods

const Inrimage& getInrimage (void) const
returns host inrimage
Voxel& getVoxel (void) const
returns voxel value
virtual void set (double x, double y, double z)
assign new coordinate
virtual void setImage (double x, double y, double z)
assign new coordinate from Image coordinates
virtual bool in (void) const
returns true if this coordinate falls inside image bounds, false otherwise
virtual void toCartesian (double *pos) const
converts coordinate in this geometry to cartesian coordinate
virtual void toImage (int *pos) const
converts coordinate in this geometry to image voxel position
virtual double interpolate (void) const
returns tri-linearly interpolated greylevel value
virtual double nextVoxel (const Vec3& direction)
compute next image voxel intersected by a line passing through this line and with given direction vector

Public

constructors
ImageGeometry (const Inrimage& _inr)
builds an ImageGeometry parent object
ImageGeometry (const ImageGeometry& imgg)
copy constructor
destructor
virtual ~ImageGeometry ()
destroy object and allocated voxel

Protected Fields

const Inrimage& inr
host image
Voxel* voxel
associated voxel

Documentation

Base class for image geometry conversion
static const double epsilon
equals to zero

const Inrimage& inr
host image

Voxel* voxel
associated voxel

constructors

ImageGeometry(const Inrimage& _inr)
builds an ImageGeometry parent object
Parameters:
_inr - studied inrimage

ImageGeometry(const ImageGeometry& imgg)
copy constructor

destructor

virtual ~ImageGeometry()
destroy object and allocated voxel

const Inrimage& getInrimage(void) const
returns host inrimage

Voxel& getVoxel(void) const
returns voxel value

virtual void set(double x, double y, double z)
assign new coordinate
Parameters:
x - coordinate value in cartesian space
y - coordinate value in cartesian space
z - coordinate value in cartesian space

virtual void setImage(double x, double y, double z)
assign new coordinate from Image coordinates
Parameters:
x - coordinate value in image coordinate
y - coordinate value in image coordinate
z - coordinate value in image coordinate

virtual bool in(void) const
returns true if this coordinate falls inside image bounds, false otherwise

virtual void toCartesian(double *pos) const
converts coordinate in this geometry to cartesian coordinate
Parameters:
pos - 3 dimension double array to store cartesian coordinates

virtual void toImage(int *pos) const
converts coordinate in this geometry to image voxel position
Parameters:
pos - 3 dimension integer array to store voxel coordinate

virtual double interpolate(void) const
returns tri-linearly interpolated greylevel value

virtual double nextVoxel(const Vec3& direction)
compute next image voxel intersected by a line passing through this line and with given direction vector
Returns:
distance to next voxel
Parameters:
direction - line direction vector


Direct child classes:
SphericalGeometry
CylindricalGeometry
CartesianGeometry

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de