SmallChange
1.0.0
A collection of extensions to Coin3D
|
The UTMCoordinate class is a node for providing coordinates to shape nodes. More...
#include <Inventor/nodes/UTMCoordinate.h>
Public Member Functions | |
UTMCoordinate (void) | |
virtual void | callback (SoCallbackAction *action) |
virtual void | doAction (SoAction *action) |
virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
virtual void | getPrimitiveCount (SoGetPrimitiveCountAction *action) |
virtual void | GLRender (SoGLRenderAction *action) |
virtual void | pick (SoPickAction *action) |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoMFVec3f | point |
Protected Member Functions | |
virtual | ~UTMCoordinate () |
virtual void | notify (SoNotList *nl) |
The UTMCoordinate class is a node for providing coordinates to shape nodes.
When encountering a node of this type during traversal, the coordinates it contains will be put on the state stack for later use by shape nodes of types which needs coordinate sets (like SoFaceSet nodes or SoPointSet nodes). If your scene graph contains an UTMCamera node, the coordinates will be adjusted for this. This is just a convenience node which makes it possible to specify shapes directly in UTMCoordinates. It should only be used for quite simple and static geometry, as transformation nodes will have no effect on this node. To specify more complex geometry, you're better off using a UTMPosition node and specify the coordinates relative to the position using an SoCoordinate3 node.
Note that an UTMCoordinate node will replace the coordinates already present in the state (if any).
UTMCoordinate::UTMCoordinate | ( | void | ) |
Constructor.
|
protectedvirtual |
Destructor.
|
virtual |
Coin method.
|
virtual |
Coin method.
|
virtual |
Coin method.
|
virtual |
Coin method.
|
virtual |
Coin method.
SoMFVec3f UTMCoordinate::point |
Coordinate set of 3D points. Currently only single precision, but will be double in the future.