1#ifndef COIN_SOGETBOUNDINGBOXACTION_H
2#define COIN_SOGETBOUNDINGBOXACTION_H
27#include <Inventor/actions/SoAction.h>
28#include <Inventor/actions/SoSubAction.h>
29#include <Inventor/SbViewportRegion.h>
30#include <Inventor/SbBox3f.h>
31#include <Inventor/SbXfBox3f.h>
45 enum ResetType { TRANSFORM = 0x1, BBOX = 0x2, ALL = TRANSFORM | BBOX };
50 SbBox3f getBoundingBox(
void)
const;
53 const SbVec3f & getCenter(
void)
const;
55 void setInCameraSpace(
const SbBool flag);
56 SbBool isInCameraSpace(
void)
const;
58 void setResetPath(
const SoPath * path,
const SbBool resetbefore = TRUE,
59 const ResetType what = ALL);
60 const SoPath * getResetPath(
void)
const;
61 SbBool isResetPath(
void)
const;
62 SbBool isResetBefore(
void)
const;
66 void checkResetBefore(
void);
67 void checkResetAfter(
void);
69 void extendBy(
const SbBox3f & box);
72 void setCenter(
const SbVec3f & center,
const SbBool transformcenter);
73 SbBool isCenterSet(
void)
const;
74 void resetCenter(
void);
80 enum { CENTER_SET = 0x1, CAMERA_SPACE = 0x2, RESET_BEFORE= 0x4 };
84 SbViewportRegion vpregion;
86 const SoPath * resetpath;
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition SbBox3f.h:37
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:37
The SbViewportRegion class is a viewport within a full window.
Definition SbViewportRegion.h:31
The SbXfBox3f class is a 3 dimensional box with floating point coordinates and an attached transforma...
Definition SbXfBox3f.h:31
static void initClass(void)
Definition SoAction.cpp:392
SoAction(void)
Definition SoAction.cpp:357
virtual void beginTraversal(SoNode *node)
Definition SoAction.cpp:1208
SoGetBoundingBoxAction(const SbViewportRegion &vp)
Definition SoGetBoundingBoxAction.cpp:265
ResetType
Definition SoGetBoundingBoxAction.h:45
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoPath class is a container class for traversal path descriptions.
Definition SoPath.h:43
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Thu Jan 16 2025 for Coin by Doxygen. 1.13.2