Cylindrical coordinate projection. More...
#include <Inventor/projection/SbCylindricalProjection.h>
Inheritance diagram for SbCylindricalProjection:Public Member Functions | |
| SbCylindricalProjection () | |
| Constructor. | |
| SbCylindricalProjection (SoProjection *node) | |
| Constructor. | |
| virtual | ~SbCylindricalProjection () |
| Destructor. | |
| virtual void | inverse (SbVec3f &point) |
| Apply the inverse coordinate to one point. | |
| virtual bool | getProjectedBoundingBox (SbBox3f &bbox) |
| Compute projected bounding box. | |
Public Member Functions inherited from SbProjection | |
| SbProjection () | |
| Constructor. | |
| SbProjection (SoProjection *node) | |
| Constructor. | |
| SbProjection (const SbProjection &proj) | |
| Copy constructor. | |
| virtual | ~SbProjection () |
| Destructor. | |
| virtual void | init () |
| Initialisation method. | |
| virtual void | exit () |
| Exit method. | |
| void | project (SbVec3f &point) |
| Apply the complete computation (matrix, pre-projection, projection, post-projection) to one point. | |
| void | project (int numPoints, float *points) |
| Apply the complete computation to a set of points. | |
| void | project (int32_t numCoords, const SbVec3f *coords, SbVec3f *projectedCoords) |
| Apply the complete computation to a set of coordinates. | |
| SoProjection * | getProjectionNode () const |
| Return associated projection node. | |
| virtual void | setParameter (int parameterId, const SbString ¶meterString) |
| Set string parameter. | |
| virtual void | setParameter (int parameterId, const float ¶meterFloat) |
| Set float parameter. | |
| void | setNumStringParameters (int numParameters) |
| Set number of string parameters to use. | |
| void | setNumFloatParameters (int numParameters) |
| Set number of float parameters to use. | |
| int | getNumStringParameters () const |
| Get number of used string parameters. | |
| int | getNumFloatParameters () const |
| Get number of used float parameters. | |
| SbBool | getParameter (int pos, SbString ¶meter) const |
| Get string parameter at position pos. | |
| SbBool | getParameter (int pos, float ¶meter) const |
| Get float parameter at position pos. | |
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
Definition at line 54 of file SbCylindricalProjection.h.
| SbCylindricalProjection::SbCylindricalProjection | ( | ) |
Constructor.
| SbCylindricalProjection::SbCylindricalProjection | ( | SoProjection * | node | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Compute projected bounding box.
Reimplemented from SbProjection.
|
virtual |
Apply the inverse coordinate to one point.
Modifies the given object.
Reimplemented from SbProjection.