In file inrimage/ImageGeometry.h:

class SphericalGeometry : public ImageGeometry

spherical geometry conversion

Inheritance:


Public Methods

double getRadius (void) const
returns radius
double getAlpha (void) const
returns alpha
double getTheta (void) const
returns theta
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
SphericalGeometry (const Inrimage& inr)
builds parent, let this uninitialized (call set method)
SphericalGeometry (const SphericalGeometry& c)
copy constructor
destructor

returns x0

Protected Fields

double x0
XDIM * VX * sin(alpha0/2)
double alpha
alpha : polar angle in the considered slice [0,alpha0]
double theta
theta : angle between the Y axis and the considered slice [0,Pi[

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

spherical geometry conversion
double x0
XDIM * VX * sin(alpha0/2)

double alpha
alpha : polar angle in the considered slice [0,alpha0]

double theta
theta : angle between the Y axis and the considered slice [0,Pi[

constructors

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

SphericalGeometry(const SphericalGeometry& c)
copy constructor

destructor

double getRadius(void) const
returns radius

double getAlpha(void) const
returns alpha

double getTheta(void) const
returns theta

returns x0

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