Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoVertexFlag.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-2014 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23#ifndef _SO_VERTEX_FLAG
24#define _SO_VERTEX_FLAG
25
26#include <Inventor/nodes/SoNode.h>
27#include <Inventor/fields/SoMFInt32.h>
28
29class SoBevelAction;
30
32//
33// Class: SoVertexFlag
34//
35// Node used to mark or unmark vertices in the different shapes.
36//
38
80class SoVertexFlag : public SoNode
81{
82 SO_NODE_HEADER(SoVertexFlag);
83
84 public:
85 // Fields
86 // Vertices can be marked using an int array. The values of the array determinate the vertices to mark.
87 // These values are interpreted differently by the different shapes.
89
96
101
102 private:
103 virtual void doAction(SoAction *action);
104#ifdef NEEDS_MARKS_FOR_GL
105 virtual void GLRender(SoGLRenderAction *action);
106#endif /* NEEDS_MARKS_FOR_GL */
107 virtual void getBoundingBox(SoGetBoundingBoxAction *action);
108 virtual void callback(SoCallbackAction *action);
109 virtual void pick(SoPickAction *action);
110 virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action);
111 virtual void bevel(SoBevelAction *action);
112
113 private:
114 static void initClass();
115 static void exitClass();
116
117 private:
118 virtual ~SoVertexFlag();
119};
120
121#endif
122
Abstract base class for all actions.
Definition SoAction.h:132
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Creates a scene ...
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
Computes bounding box of a scene.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Counts number of...
Multiple-value field containing any number of int32_t integers.
Definition SoMFInt32.h:88
Abstract base class for all database nodes.
Definition SoNode.h:145
Abstract base class for picking objects in a scene.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class to mark/un...
SoMFInt32 vertexMarked
SoMFInt32 vertexUnmarked
These are the fields for marked/unmarked vertices.
SoVertexFlag()
Constructor.