Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
SoBBox.h
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2024 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : Damien DALLA ROSA (Dec 2008)
22**=======================================================================*/
23
24
25#ifndef SO_BBOX_H
26#define SO_BBOX_H
27
28#include <Inventor/nodes/SoNode.h>
29#include <Inventor/SoType.h>
30
31#include <Inventor/fields/SoSFEnum.h>
32#include <Inventor/fields/SoSFBool.h>
33#include <Inventor/fields/SoSFBox3f.h>
34
35class SoCube;
36
72class SoBBox : public SoNode
73{
74 SO_NODE_HEADER( SoBBox );
75
76 public:
77
104
110
115
120
121
122 private:
123
127 static void initClass();
128
132 static void exitClass();
133
134 private:
135
140 virtual void getBoundingBox( SoGetBoundingBoxAction *action );
141
145 virtual void GLRender(SoGLRenderAction *action);
146
147 private:
148
149 // Destructor
150 virtual ~SoBBox();
151
152 private:
153
155 SoCube* m_boundingBoxCube;
156
157};
158
159#endif // SOBBOX_H
160
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Bounding box nod...
Definition SoBBox.h:73
SoSFEnum mode
Specifies the behavior of the SoBBox node.
Definition SoBBox.h:109
SoSFBox3f boundingBox
Application-defined bounding box.
Definition SoBBox.h:114
SoBBox()
Constructor.
Mode
This enum specifies how the node interacts with OpenInventor during a traversal.
Definition SoBBox.h:82
@ USER_DEFINED
SoGetBoundingBoxAction will ignore subsequent nodes in this portion of the scene graph and use the bo...
Definition SoBBox.h:102
@ NO_BOUNDING_BOX
SoGetBoundingBoxAction will ignore subsequent nodes in this portion of the scene graph (as if the nod...
Definition SoBBox.h:92
@ DISABLE
The node doesn't do anything.
Definition SoBBox.h:86
Cube shape node.
Definition SoCube.h:123
Renders a scene graph using Open Inventor's Render Engine.
Computes bounding box of a scene.
Abstract base class for all database nodes.
Definition SoNode.h:145
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Definition SoSFBox3f.h:55
Field containing an enumerated value.
Definition SoSFEnum.h:89