1 #ifndef COIN_SOGETBOUNDINGBOXACTION_H 2 #define COIN_SOGETBOUNDINGBOXACTION_H 36 #include <Inventor/actions/SoAction.h> 37 #include <Inventor/actions/SoSubAction.h> 38 #include <Inventor/tools/SbLazyPimplPtr.h> 39 #include <Inventor/SbViewportRegion.h> 40 #include <Inventor/SbBox3f.h> 41 #include <Inventor/SbXfBox3f.h> 43 class SoGetBoundingBoxActionP;
56 enum ResetType { TRANSFORM = 0x1, BBOX = 0x2, ALL = TRANSFORM | BBOX };
61 SbBox3f getBoundingBox(
void)
const;
64 const SbVec3f & getCenter(
void)
const;
66 void setInCameraSpace(
const SbBool flag);
67 SbBool isInCameraSpace(
void)
const;
69 void setResetPath(
const SoPath * path,
const SbBool resetbefore = TRUE,
70 const ResetType what = ALL);
71 const SoPath * getResetPath(
void)
const;
72 SbBool isResetPath(
void)
const;
73 SbBool isResetBefore(
void)
const;
77 void checkResetBefore(
void);
78 void checkResetAfter(
void);
80 void extendBy(
const SbBox3f & box);
83 void setCenter(
const SbVec3f & center,
const SbBool transformcenter);
84 SbBool isCenterSet(
void)
const;
85 void resetCenter(
void);
91 enum { CENTER_SET = 0x1, CAMERA_SPACE = 0x2, RESET_BEFORE= 0x4 };
107 #endif // !COIN_SOGETBOUNDINGBOXACTION_H static void initClass(void)
Definition: SoAction.cpp:370
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition: SbBox3f.h:46
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
The SbXfBox3f class is a 3 dimensional box with floating point coordinates and an attached transforma...
Definition: SbXfBox3f.h:40
The SoPath class is a container class for traversal path descriptions.
Definition: SoPath.h:52
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:77
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
ResetType
Definition: SoGetBoundingBoxAction.h:56
The SoGetBoundingBoxAction class calculates bounding boxes for nodes and subgraphs.
Definition: SoGetBoundingBoxAction.h:45
virtual void beginTraversal(SoNode *node)
Definition: SoAction.cpp:1270
The SbViewportRegion class is a viewport within a full window.
Definition: SbViewportRegion.h:40