Cylindrical coordinate projection. More...
#include <Inventor/projection/SbCylindricalProjection.h>
Public Member Functions | |
SbCylindricalProjection () | |
SbCylindricalProjection (SoProjection *node) | |
virtual | ~SbCylindricalProjection () |
virtual void | inverse (SbVec3f &point) |
virtual bool | getProjectedBoundingBox (SbBox3f &bbox) |
Cylindrical coordinate projection.
This class performs a cylindrical coordinate projection.
Cylindrical coordinates are: radius, theta (angle), height
Radius and height are 3D units and theta is in radians.
The projection of cylindrical coordinates into XYZ space is: x = r * cos(theta) y = r * sin(theta) z = h
SbCylindricalProjection::SbCylindricalProjection | ( | ) |
Constructor.
SbCylindricalProjection::SbCylindricalProjection | ( | SoProjection * | node | ) |
Constructor.
virtual SbCylindricalProjection::~SbCylindricalProjection | ( | ) | [virtual] |
Destructor.
virtual bool SbCylindricalProjection::getProjectedBoundingBox | ( | SbBox3f & | bbox | ) | [virtual] |
Compute projected bounding box.
Reimplemented from SbProjection.
virtual void SbCylindricalProjection::inverse | ( | SbVec3f & | point | ) | [virtual] |
Apply the inverse coordinate to one point. Modifies the given object.
Reimplemented from SbProjection.