SmallChange  1.0.0
A collection of extensions to Coin3D
Loading...
Searching...
No Matches
UTMCoordinate Class Reference

The UTMCoordinate class is a node for providing coordinates to shape nodes. More...

#include <Inventor/nodes/UTMCoordinate.h>

Inheritance diagram for UTMCoordinate:
SoNode

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)
 

Detailed Description

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).

See also
UTMCamera, UTMPosition

Constructor & Destructor Documentation

◆ UTMCoordinate()

UTMCoordinate::UTMCoordinate ( void )

Constructor.

◆ ~UTMCoordinate()

UTMCoordinate::~UTMCoordinate ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ callback()

void UTMCoordinate::callback ( SoCallbackAction * action)
virtual

Coin method.

◆ doAction()

void UTMCoordinate::doAction ( SoAction * action)
virtual

Coin method.

◆ getBoundingBox()

void UTMCoordinate::getBoundingBox ( SoGetBoundingBoxAction * action)
virtual

Coin method.

◆ getPrimitiveCount()

void UTMCoordinate::getPrimitiveCount ( SoGetPrimitiveCountAction * action)
virtual

Coin method.

◆ GLRender()

void UTMCoordinate::GLRender ( SoGLRenderAction * action)
virtual

Coin method.

◆ initClass()

void UTMCoordinate::initClass ( void )
static

Required Coin method.

◆ notify()

void UTMCoordinate::notify ( SoNotList * nl)
protectedvirtual

Overloaded to invalidate cache.

◆ pick()

void UTMCoordinate::pick ( SoPickAction * action)
virtual

Coin method.

Member Data Documentation

◆ point

SoMFVec3f UTMCoordinate::point

Coordinate set of 3D points. Currently only single precision, but will be double in the future.


The documentation for this class was generated from the following files: