Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
PoMesh2D.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-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_MESH2D_
25#define _PO_MESH2D_
26
28
30#include <MeshViz/3Ddata/Po3DdataPrivate.h>
31
32class PbMesh2D;
36class PbPolarGrid2D;
39class PbIndexedMesh2D;
40
53class PoMesh2D : public PoMesh {
54
56
57
58 public:
59
60
61
62 /* Fields */
63
70
74 void setMesh(PbMesh2D *mesh);
75
79 const PbMesh2D * getMesh() const;
80
81 /*----------------------------------------------------------------------------*/
82
83
84 private:
85 static void initClass();
86 static void exitClass() ;
87
88 void makeSoCoordinate3(const float *z);
89
90 private:
91 PoMesh2D();
92 // Constructor
93
94 virtual ~PoMesh2D();
95 // Destructor
96
97 virtual SbBool setUpConnections(SbBool onOff, SbBool doItAlways = FALSE);
98 virtual void setDefaultOnNonWritingFields();
99 virtual void basicObjectChange(PbBase *basicObj);
100 virtual void preRebuild();
101
102 const PbMesh2D *m_mesh2D; // mesh used by all derived Po classes
103 /*----------------------------------------------------------------------------*/
104 private:
105 PbMesh2D *m_mesh2DSet; // mesh set by the setMesh method
106
107 // Sensors
108 FieldSensorList m_fieldSensorList;
109
110 // List of fields defined in this class
111 SoFieldList m_fieldList;
112};
113
114/*----------------------------------------------------------------------------*/
115
116#endif /* _PO_MESH2D_ */
117
#define FALSE
Possible value of SbBool.
Definition SbBase.h:75
#define SO_KIT_HEADER(className)
Definition SoSubKit.h:91
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for all b...
Definition PbBase.h:49
<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 surface mesh o...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an abstract surf...
Definition PbMesh2D.h:54
<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 polar grid sur...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a surface mesh o...
<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 surface mesh o...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Base class for all surfa...
Definition PoMesh2D.h:53
const PbMesh2D * getMesh() const
Gets the current surface mesh.
void setMesh(PbMesh2D *mesh)
Defines the current surface mesh.
SoSFShort zValuesIndex
Defines the index of the set of values used by a representation as a z-coordinate of each mesh node (...
Definition PoMesh2D.h:69
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Base class for all mesh ...
Definition PoMesh.h:110
Maintains a list of pointers to fields.
Definition SoFieldList.h:72
Field containing a short integer.
Definition SoSFShort.h:81
int SbBool
Boolean type.
Definition SbBase.h:87