50#ifndef _SO_GET_BOUNDING_BOX_ACTION_
51#define _SO_GET_BOUNDING_BOX_ACTION_
190#ifndef HIDDEN_FROM_DOC
281 void checkResetBefore();
282 void checkResetAfter();
287 void extendBy(
const SbBox3f &box);
290 void extendBy(
const SbBox3d &box);
303 void setCenter(
const SbVec3f ¢er,
SbBool transformCenter);
304 void setCenter(
const SbVec3d ¢er,
SbBool transformCenter);
306 SbBool isCenterSet()
const;
310 static void initClass();
311 static void exitClass();
321 void setIgnoreScreenSpaceBoundingBoxes(
bool flag);
326 bool ignoreScreenSpaceBoundingBoxes()
const;
330 virtual void beginTraversal(
SoNode *node);
342 bool m_ignoreScreenSpaceBoundingBoxes;
346 void checkReset(
SbBool resetBefore);
#define TRUE
Possible value of SbBool.
#define SO_ACTION_HEADER(className)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D box class.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D vector class ...
Class for representing a viewport.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D box with an a...
3D box with an associated transformation matrix.
Abstract base class for all actions.
Computes bounding box of a scene.
SbBool isInCameraSpace() const
Returns camera space flag.
SbXfBox3f & getXfBoundingBox()
Returns computed bounding box before transformation into world space.
void setViewportRegion(const SbViewportRegion &newRegion)
Sets current viewport region to use for action.
SbBool isResetPath() const
Returns TRUE if the current reset path is not NULL.
const SbVec3f & getCenter() const
Returns computed center point in world space.
SoGetBoundingBoxAction(const SbViewportRegion &viewportRegion)
Constructor.
SbBool isResetBefore() const
Returns TRUE if the resetBefore flag was specified for the reset path.
void setInCameraSpace(SbBool flag)
Set this flag to TRUE if you want the returned bounding box to be in the space of whatever camera is ...
const SbViewportRegion & getViewportRegion() const
Returns current viewport region to use for action.
const SoPath * getResetPath() const
Returns the current reset path, or NULL.
ResetType
Set a path to do a resetTransform/resetBoundingBox on.
@ ALL
Both transform and bounding box.
@ TRANSFORM
Transformation.
SbBox3f getBoundingBox() const
Returns computed bounding box in world space.
void setResetPath(const SoPath *path, SbBool resetBefore=TRUE, ResetType what=ALL)
If a non-NULL path is specified, the action will reset the computed bounding box to be empty and/or t...
SoGetBoundingBoxAction::ResetType getWhatReset() const
Returns what flags were specified to be reset for the reset path.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.