class SphericalGeometry : public ImageGeometry spherical geometry conversion
| | getRadius (void) const returns radius |
| | getAlpha (void) const returns alpha |
| | getTheta (void) const returns theta |
| | setImage (double x, double y, double z) assign new coordinate from Image coordinates |
| | set (double x, double y, double z) assign new coordinate |
| | in (void) const returns true if this coordinate falls inside image bounds, false otherwise |
| | toCartesian (double *pos) const converts coordinate in this geometry to cartesian coordinate |
| | toImage (int *pos) const converts coordinate in this geometry to image voxel position |
| | interpolate (void) const returns tri-linearly interpolated greylevel value |
| | nextVoxel (const Vec3 compute next image voxel intersected by a line passing through this line and with given direction vector |
| | constructors
| ||||
| | destructor | ||||
| | returns x0 |
| | x0 XDIM * VX * sin(alpha0/2) |
| | alpha alpha : polar angle in the considered slice [0,alpha0] |
| | theta theta : angle between the Y axis and the considered slice [0,Pi[ |
spherical geometry conversion
double alpha
double theta
constructors
destructor
double getRadius(void) const
double getAlpha(void) const
double getTheta(void) const
virtual void setImage(double x, double y, double z)
y - coordinate value in image coordinate
z - coordinate value in image coordinate
virtual void set(double x, double y, double z)
y - coordinate value in cartesian space
z - coordinate value in cartesian space
virtual bool in(void) const
virtual void toCartesian(double *pos) const
virtual void toImage(int *pos) const
virtual double interpolate(void) const
virtual double nextVoxel(const Vec3
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