Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
PoCircleArc.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
24#ifndef _PO_CIRCLE_ARC_
25#define _PO_CIRCLE_ARC_
26
27#include <MeshViz/graph/PoGraphMaster.h>
28
37class PoCircleArc : public PoGraphMaster {
38
39 SO_KIT_HEADER(PoCircleArc) ;
40
41 /* Define fields for new parts */
42 SO_KIT_CATALOG_ENTRY_HEADER(circleArc) ;
43
44
45 public:
46
47
48
66
71
72 /*----------------------------------------------------------------------------*/
73 private:
74 static void initClass() ;
75 static void exitClass() ;
76
77 private:
78 // Conctructor
79 PoCircleArc() ;
80
81 // Destructor
82 virtual ~PoCircleArc() ;
83
84 // Methods
85 virtual void setDefaultOnNonWritingFields() ;
86 virtual SbBool setUpConnections(SbBool onOff, SbBool doItAlways = FALSE) ;
87 private:
88 // Sensors
89 FieldSensorList fieldSensorList ;
90
91 // List of fields defined in this class
92 SoFieldList fieldList ;
93} ;
94
95/*----------------------------------------------------------------------------*/
96
97#endif /* _PO_CIRCLE_ARC_ */
98
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for 2D ci...
Definition PoCircleArc.h:37
SoSFEnum arcType
Indicates if the arc is opened, closed by its extremities or closed by its center.
Definition PoCircleArc.h:70
ArcType
Type of the circle arc.
Definition PoCircleArc.h:52
@ CENTER_CLOSE
The arc is closed by the circle center.
Definition PoCircleArc.h:64
@ END_CLOSE
The arc is closed by its extremities.
Definition PoCircleArc.h:60
@ OPENED
The arc is opened.
Definition PoCircleArc.h:56
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
Maintains a list of pointers to fields.
Definition SoFieldList.h:72
Field containing an enumerated value.
Definition SoSFEnum.h:89
int SbBool
Boolean type.
Definition SbBase.h:87