In file inrimage/ImageGeometry.h:

class CartesianGeometry : public ImageGeometry

cartesian geometry conversion

Inheritance:


Public Methods

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
CartesianGeometry (const Inrimage& inr)
builds parent, let this uninitialized (call set method)
CartesianGeometry (const CartesianGeometry& c)
copy constructor
destructor

Protected Fields

double x
x coordinate
double y
y coordinate
double z
z coordinate
int ic [3]
image coordinate

Inherited from ImageGeometry:

Public Fields

static const double epsilon

Public Methods

const Inrimage& getInrimage(void) const
Voxel& getVoxel(void) const

Protected Fields

const Inrimage& inr
Voxel* voxel

Documentation

cartesian geometry conversion
double x
x coordinate

double y
y coordinate

double z
z coordinate

int ic[3]
image coordinate

constructors

CartesianGeometry(const Inrimage& inr)
builds parent, let this uninitialized (call set method)
Parameters:
inr - studied inrimage

CartesianGeometry(const CartesianGeometry& c)
copy constructor

destructor

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


This class has no child classes.

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