Scale/recenter projection class More...
#include <Inventor/projection/SbTransformProjection.h>
Public Member Functions | |
SbTransformProjection (SoProjection *node) | |
virtual | ~SbTransformProjection () |
virtual bool | getProjectedBoundingBox (SbBox3f &bbox) |
This class implements a projection that applies a scale and recenter to geometry.
This class can be used with an SoProjection node, but mainly exists to be used internally by the SoTransformProjection node.
SbProjection, SoTransformProjection
SbTransformProjection::SbTransformProjection | ( | SoProjection * | node | ) | [inline] |
Constructor.
virtual SbTransformProjection::~SbTransformProjection | ( | ) | [inline, virtual] |
Destructor.
bool SbTransformProjection::getProjectedBoundingBox | ( | SbBox3f & | bbox | ) | [inline, virtual] |
Compute projected bounding box.
As this projection is linear, projecting a bounding box is equivalent to the bbox of the projected points. Defining this method speeds up some rendering nodes.
Reimplemented from SbProjection.