SbProjectionCoordinates Class Reference
[Basics]

Cache projected coordinates. More...

#include <Inventor/projection/SbProjectionCoordinates.h>

List of all members.

Public Member Functions

 SbProjectionCoordinates (SoProjection *projection)
 SbProjectionCoordinates ()
 ~SbProjectionCoordinates ()
SbVec3fgetCoordinates ()
void setProjection (SoProjection *projection)
void resetCache (SoNode *node)
void initCoordinates (SoNode *node, int size)
SbBool cacheIsValid (SoNode *node)

Detailed Description

Cache projected coordinates.

This class stores the projected coordinates associated with a given geometry node and a given SoProjection node during a scene graph traversal. Each instance of SbProjectionCoordinates maintains a cache, based on the node IDs of the associated node and projection node. Calling resetCache() will force the projected coordinates to be recomputed during the next traversal.

SEE ALSO

SoProjection, SoGeoProjection


Constructor & Destructor Documentation

SbProjectionCoordinates::SbProjectionCoordinates ( SoProjection projection  ) 

Constructor.

SbProjectionCoordinates::SbProjectionCoordinates (  ) 

Constructor.

SbProjectionCoordinates::~SbProjectionCoordinates (  ) 

Destructor.


Member Function Documentation

SbBool SbProjectionCoordinates::cacheIsValid ( SoNode node  ) 

Return whether the cache is valid or not.

SbVec3f* SbProjectionCoordinates::getCoordinates (  )  [inline]

Return coordinates.

void SbProjectionCoordinates::initCoordinates ( SoNode node,
int  size 
)

Initialisation.

void SbProjectionCoordinates::resetCache ( SoNode node  ) 

Reset the cache.

void SbProjectionCoordinates::setProjection ( SoProjection projection  )  [inline]

Set associated projection.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/