#include <Inventor/engines/SoComputeBoundingBox.h>
Inheritance diagram for SoComputeBoundingBox::
Public Methods | |
SoComputeBoundingBox (void) | |
void | setViewportRegion (const SbViewportRegion &vpr) |
const SbViewportRegion & | getViewportRegion (void) const |
Static Public Methods | |
void | initClass (void) |
Public Attributes | |
SoSFNode | node |
SoSFPath | path |
SoEngineOutput | min |
SoEngineOutput | max |
SoEngineOutput | boxCenter |
SoEngineOutput | objectCenter |
Protected Methods | |
virtual | ~SoComputeBoundingBox () |
This engine is simply a wrapper around the SoGetBoundingBoxAction, for a convenient way of having automatic updating of some data in the scene graph which is dependent on the bounding box of some other part of the scene.
|
Default constructor. Sets up the internal SoGetBoundingBoxAction instance. |
|
Destructor. Deallocate the SoGetBoundingBoxAction instance. |
|
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. Reimplemented from SoEngine. |
|
Set viewport region for the SoGetBoundingBoxAction instance we're using for calculating bounding boxes. The default setting is to use an SbViewportRegion with only default values. |
|
Returns viewport region used by the internal SoGetBoundingBoxAction instance. |
|
If this input field is set and SoComputeBoundingBox::path is |
|
If this input field is not |
|
(SoSFVec3f) Corner coordinates of the bounding box. |
|
(SoSFVec3f) Corner coordinates of the bounding box. |
|
(SoSFVec3f) Geometric center point of the bounding box. |
|
(SoSFVec3f) Object center point for the bounding box. See SoGetBoundingBoxAction::getCenter() for an explanation for how this can differ from the geometric center point of the bounding box. |