55 #ifndef _SO_GET_BOUNDING_BOX_ACTION_
56 #define _SO_GET_BOUNDING_BOX_ACTION_
132 const SbVec3f & getCenter()
const;
156 void setResetPath(
const SoPath *path,
157 bool resetBefore =
TRUE,
158 ResetType what = ALL);
172 void checkResetBefore();
173 void checkResetAfter();
178 void extendBy(
const SbBox3f &box);
191 void setCenter(
const SbVec3f ¢er,
192 bool transformCenter);
193 bool isCenterSet()
const;
215 void checkReset(
bool resetBefore);
bool isResetBefore() const
Returns TRUE if the resetBefore flag was specified for the reset path.
const SoPath * getResetPath() const
Returns the current reset path, or NULL.
Abstract base class for all database nodes.
3D box with an associated transformation matrix.
SoGetBoundingBoxAction::ResetType getWhatReset() const
Path that points to a list of hierarchical nodes.
const SbViewportRegion & getViewportRegion() const
Sets/returns current viewport region to use for action.
Abstract base class for all actions.
SbXfBox3f & getXfBoundingBox()
Returns computed bounding box before transformation into world space.
ResetType
set a path to do a resetTransform/resetBoundingBox on.
bool isInCameraSpace() const
Returns camera space flag.
virtual void beginTraversal(SoNode *node)
Begins traversal of an action at the given node.
Computes bounding box of a scene.
void setInCameraSpace(bool flag)
Set this flag to TRUE if you want the returned bounding box to be in the space of whatever camera is ...
SbBox3f getBoundingBox() const
Returns computed bounding box in world space.
#define SO_ACTION_HEADER(className)
Macros to be called within the class definition header for an action subclass:
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
Class for representing a viewport.
bool isResetPath() const
Returns TRUE if the current reset path is not NULL.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.