Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoVolumeIndexedTriangleStripSet.h
Go to the documentation of this file.
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-2022 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : Thierry Dufour (Aug 2002)
22** Modified by : Jerome Hummel (MMM yyyy)
23** Modified by : David Beilloin (Apr 2011)
24**=======================================================================*/
25#ifndef __VOLUME_INDEXED_TRIANGLE_STRIP_SET
26#define __VOLUME_INDEXED_TRIANGLE_STRIP_SET
27
29
33#include <Inventor/SbBox.h>
34
35class SoVolumeGeometryVbo;
36
176{
178
179public :
180
183
189
202
207
208#if 1 SoDEPRECATED enum
216 };
217
218#endif
221private:
223 static void initClass();
224
226 static void exitClass();
227
229 virtual void GLRender(SoGLRenderAction *action);
230
232 virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f &center);
233
235 virtual void computeBBox(SoAction *action, SbXfBox3d &box, SbVec3d &center);
236
237private:
238
240 virtual void notify(SoNotList *list);
241
242#if 1 SoDEPRECATED
246 virtual SoVolumeShape::Interpolation getInteractiveInterpolationValue(SoState* state) const;
247
248#endif
250private:
252 virtual void shapeRender(SoGLRenderAction* action);
253
255 virtual void shapeGeneratePrimitives(SoAction* action);
256
258 virtual void checkShapeStyle(SoState *state,const SoShapeStyleElement *shapeStyle);
259
261 virtual void GLRenderBoundingBox(SoGLRenderAction* action);
262
264 virtual void getBBox(SoAction *action, SbBox3f &box, SbVec3f &center);
265
267 virtual void getBBox(SoAction *action, SbXfBox3d &box, SbVec3d &center);
268
270 virtual int getNumVertices(SoState* state);
271
273 virtual int getIndexCoord(int index) const;
274
277
278 using SoVolumeGeometry::doRendering;
279
280private:
281SoDEPRECATED
283 SoSFBool useVbo;
284
285};
286
287#endif //__VOLUME_INDEXED_TRIANGLE_STRIP_SET
288
289
#define SO_NODE_HEADER(className)
Definition SoSubNode.h:151
3D box class.
Definition SbBox.h:649
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D vector class ...
Definition SbVec.h:1214
3D vector class.
Definition SbVec.h:932
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D box with an a...
Definition SbBox.h:1513
Abstract base class for all actions.
Definition SoAction.h:132
Renders a scene graph using Open Inventor's Render Engine.
Indexed triangle strip set shape node.
Field containing a single Boolean value.
Definition SoSFBool.h:79
Field containing an enumerated value.
Definition SoSFEnum.h:89
Field containing a floating-point value.
Definition SoSFFloat.h:78
Stores some information used by shapes.
Traversal state.
Definition SoState.h:74
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> LDM valuation interfa...
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Indexed triangle stri...
SoSFFloat offset
Sets an offset value used for computing the texture coordinates.
@ NEAREST
OpenGL "nearest neighbor" interpolation.
@ LINEAR
OpenGL linear interpolation (Default).
SoSFBool clipGeometry
Specifies to clip the geometry at the volume boundaries.
SoVolumeIndexedTriangleStripSet()
Constructor.
Interpolation
Interpolation mode.
@ LINEAR
OpenGL linear interpolation (Default).
@ NEAREST
OpenGL "nearest neighbor" interpolation.