Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
PoMeshLines.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_MESHLINES_
25#define _PO_MESHLINES_
26
27#include <MeshViz/3Ddata/PoMesh2D.h>
28
32class PbPolarGrid2D;
35class PbIndexedMesh2D;
36
65class PoMeshLines : public PoMesh2D {
66
67 SO_KIT_HEADER(PoMeshLines) ;
68
69 /* Define fields for new parts */
70 SO_KIT_CATALOG_ENTRY_HEADER(groupLines) ;
71
72
73 public:
74
79
83 virtual void rebuild() ;
84
85 /*----------------------------------------------------------------------------*/
86 private:
87 static void initClass() ;
88 static void exitClass() ;
89
90 void regularCartGridLines(PbRegularCartesianGrid2D *mesh);
91 void paralCartGridLines(PbParalCartesianGrid2D *mesh);
92 void cartGridLines(PbCartesianGrid2D *mesh);
93 void polarGridLines(PbPolarGrid2D *mesh);
94 void triangleLines(PbTriangleMesh2D *mesh);
95 void quadrangleLines(PbQuadrangleMesh2D *mesh) ;
96 void indexedLines(PbIndexedMesh2D *mesh) ;
97
98 private:
99 // Methods
100 // Destructor
101 virtual ~PoMeshLines() ;
102 virtual void setDefaultOnNonWritingFields();
103 virtual void addElementsAllCaches() ;
104 virtual void preRebuild();
105
106 /*----------------------------------------------------------------------------*/
107 private:
108
109
110
111 void regularCartGridLinesInhColr(PbRegularCartesianGrid2D *mesh, const float *z=0) ;
112 void regularCartGridLinesMapColr(PbRegularCartesianGrid2D *mesh, const float *v, const float *z=0) ;
113 void regularCartGridLinesAvergColr(PbRegularCartesianGrid2D *mesh, const float *v, const float *z=0) ;
114
115 void paralCartGridLinesInhColr(PbParalCartesianGrid2D *mesh, const float *z=0) ;
116 void paralCartGridLinesMapColr(PbParalCartesianGrid2D *mesh, const float *v, const float *z=0) ;
117 void paralCartGridLinesAvergColr(PbParalCartesianGrid2D *mesh, const float *v, const float *z=0) ;
118 void paralCartGridLinesContColr(PbParalCartesianGrid2D *mesh, const float *v, const float *z=0) ;
119
120 void cartGridLinesInhColr(PbCartesianGrid2D *mesh, const float *z=0) ;
121 void cartGridLinesMapColr(PbCartesianGrid2D *mesh, const float *v, const float *z=0) ;
122 void cartGridLinesAvergColr(PbCartesianGrid2D *mesh, const float *v, const float *z=0) ;
123 void cartGridLinesContColr(PbCartesianGrid2D *mesh, const float *v, const float *z=0) ;
124
125 void polarGridLinesInhColr(PbPolarGrid2D *mesh, const float *z=0) ;
126 void polarGridLinesMapColr(PbPolarGrid2D *mesh, const float *v, const float *z=0) ;
127 void polarGridLinesAvergColr(PbPolarGrid2D *mesh, const float *v, const float *z=0) ;
128 void polarGridLinesContColr(PbPolarGrid2D *mesh, const float *v, const float *z=0) ;
129
130 void triangleLinesInhColr(PbTriangleMesh2D *mesh, const float *z=0) ;
131 void triangleLinesMapColr(PbTriangleMesh2D *mesh, const float *v, const float *z=0) ;
132 void triangleLinesAvergColr(PbTriangleMesh2D *mesh, const float *v, const float *z=0);
133 void triangleLinesContColr(PbTriangleMesh2D *mesh, const float *v, const float *z=0);
134
135 void quadrangleLinesInhColr(PbQuadrangleMesh2D *mesh, const float *z=0) ;
136 void quadrangleLinesMapColr(PbQuadrangleMesh2D *mesh, const float *v, const float *z=0) ;
137 void quadrangleLinesAvergColr(PbQuadrangleMesh2D *mesh, const float *v, const float *z=0);
138 void quadrangleLinesContColr(PbQuadrangleMesh2D *mesh, const float *v, const float *z=0);
139
140 void indexedLinesInhColr(PbIndexedMesh2D *mesh, const float *z=0);
141 void indexedLinesMapColr(PbIndexedMesh2D *mesh, const float *v, const float *z=0);
142 void indexedLinesAvergColr(PbIndexedMesh2D *mesh, const float *v, const float *z=0);
143 void indexedLinesContColr(PbIndexedMesh2D *mesh, const float *v, const float *z=0);
144} ;
145
146/*----------------------------------------------------------------------------*/
147
148#endif /* _PO_MESHLINES_ */
149
150
151
<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 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
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Representation of the ed...
Definition PoMeshLines.h:65
PoMeshLines()
Constructor.
virtual void rebuild()
Forces node-kit rebuilding.