In file inrimage/ImageGeometry.h:

class CylindricalGeometry : public ImageGeometry

cylindrical geometry conversion

Inheritance:


Public Methods

double getRadius (void) const
returns radius
double getAngle (void) const
returns angle
double getZ (void) const
returns elevation
double getX0 (void) const
returns XDIM * VX / 2 constant
virtual void setImage (double x, double y, double z)
assign new coordinate from Image coordinates
virtual void set (double x, double y, double z)
assign new 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
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
CylindricalGeometry (const Inrimage& inr)
builds parent, let this uninitialized (call set method)
CylindricalGeometry (const CylindricalGeometry& c)
copy constructor
destructor

Protected Fields

double x0
XDIM * VX / 2 constant
double r
radius
double theta
angle
double z
elevation

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

cylindrical geometry conversion
double x0
XDIM * VX / 2 constant

double r
radius

double theta
angle

double z
elevation

constructors

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

CylindricalGeometry(const CylindricalGeometry& c)
copy constructor

destructor

double getRadius(void) const
returns radius

double getAngle(void) const
returns angle

double getZ(void) const
returns elevation

double getX0(void) const
returns XDIM * VX / 2 constant

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 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 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