Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
SoEdgeFlag.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_EDGE_FLAG
24#define _SO_EDGE_FLAG
25
26#include <Inventor/fields/SoMFInt32.h>
27#include <Inventor/nodes/SoNode.h>
28
29class SoBevelAction;
30
32//
33// Class: SoEdgeFlag
34//
35// Node used to mark or unmark edges in the different shapes.
36//
38
201class SoEdgeFlag : public SoNode
202{
203 SO_NODE_HEADER(SoEdgeFlag);
204
205 public:
206 // Edges can be marked using an int array. The values of the array determinate the edges to mark.
207 // These values are interpreted differently by the different shapes.
209
215
220
221 private:
222 virtual void doAction(SoAction *action);
223 virtual void getBoundingBox(SoGetBoundingBoxAction *action);
224 virtual void callback(SoCallbackAction *action);
225 virtual void pick(SoPickAction *action);
226 virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action);
227 virtual void bevel(SoBevelAction *action);
228
229 private:
230 static void initClass();
231 static void exitClass();
232
233 private:
234 virtual ~SoEdgeFlag();
235};
236
237#endif
238
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.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class to mark/un...
Definition SoEdgeFlag.h:202
SoMFInt32 edgeUnmarked
These are the fields for marked/unmarked edges.
Definition SoEdgeFlag.h:214
SoMFInt32 edgeMarked
Definition SoEdgeFlag.h:208
SoEdgeFlag()
Constructor.
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.