Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
PoMesh3DVecCrossSection.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
25#ifndef _PO_MESH3DVECCROSSSECTION_
26#define _PO_MESH3DVECCROSSSECTION_
27
28#include <MeshViz/3Ddata/PoMesh3DVec.h>
29#include <Inventor/fields/SoSFPlane.h>
30
31class PbIndexedMesh3D;
37
90
91 SO_KIT_HEADER(PoMesh3DVecCrossSection) ;
92
93
94 public:
95
100
104 virtual void rebuild() ;
105
123
124
125
126 /* Fields */
127
132
137 private:
138 static void initClass() ;
139 static void exitClass() ;
140
141 private:
142 virtual void setDefaultOnNonWritingFields();
143 virtual SbBool setUpConnections(SbBool onOff, SbBool doItAlways = FALSE) ;
144 virtual ~PoMesh3DVecCrossSection() ;
145
146 virtual void addElementsAllCaches() ;
147 virtual void preRebuild();
148
149 /*----------------------------------------------------------------------------*/
150 private:
151
152 FieldSensorList m_fieldSensorList ;
153 // Sensors
154
155 SoFieldList m_fieldList ;
156 // List of fields defined in this class
157
158} ;
159
160/*----------------------------------------------------------------------------*/
161
162#endif /* _PO_MESH3DVECCROSSSECTION_ */
163
164
165
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a cartesian grid...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a mesh of hexahe...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a volume mesh of...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a parallel carte...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a regular cartes...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a mesh of tetrah...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Representation of vector...
PoMesh3DVecCrossSection()
Constructor.
SoSFEnum projectionType
Defines how each vector is projected.
SoSFPlane plane
Position of the cross section.
ProjectionType
Type of projection of vectors.
@ PROJECTION_ON_PLANE
Each vector is projected onto the plane.
@ NO_PROJECTION
Each vector is drawn as is.
@ PROJECTION_ON_NORMAL
Each vector is projected onto the normal of the plane.
virtual void rebuild()
Forces node-kit rebuilding.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Representation of vector...
Definition PoMesh3DVec.h:95
Maintains a list of pointers to fields.
Definition SoFieldList.h:72
Field containing an enumerated value.
Definition SoSFEnum.h:89
Field containing a plane equation.
Definition SoSFPlane.h:82
int SbBool
Boolean type.
Definition SbBase.h:87