92 SO_KIT_CATALOG_ENTRY_HEADER(groupCrossSection) ;
156 { m_crossMethod = method; }
159 static void initClass() ;
160 static void exitClass() ;
169 const float *getIsosurfDataSet();
170 float getIsosurfValue()
const;
175 virtual size_t getMemorySize();
180 virtual void setDefaultOnNonWritingFields();
182 virtual void addElementsAllCaches() ;
183 virtual void preRebuild();
185 virtual int getIsosurfDataSetId()
const;
186 virtual SbVec3f getOverallNormal()
const;
191 FieldSensorList m_fieldSensorList ;
199 void orientPolygon(std::vector< int > &coordIndex,
int start_ind,
float xn,
float yn,
float zn);
201 void crossPlaneAndTetrahedron(
int cell_index,
const float *x,
const float *y,
const float *z,
const float *v,
const int *tetra_nodes,
202 float xn,
float yn,
float zn,
float dist_plane_orig,
203 int &num_cross_pt,
SbBool at_vertex=TRUE);
204 void crossPlaneAndPyramid(
int cell_index,
const float *x,
const float *y,
const float *z,
const float *v,
const int *pyra_nodes,
205 float xn,
float yn,
float zn,
float dist_plane_orig,
206 int &num_cross_pt,
SbBool at_vertex=TRUE);
207 void crossPlaneAndPentahedron(
int cell_index,
const float *x,
const float *y,
const float *z,
const float *v,
const int *penta_nodes,
208 float xn,
float yn,
float zn,
float dist_plane_orig,
209 int &num_cross_pt,
SbBool at_vertex=TRUE);
210 void crossPlaneAndHexahedron(
int cell_index,
const float *x,
const float *y,
const float *z,
const float *v,
211 const int *hexa_nodes,
const int *hexa_ind,
212 float xn,
float yn,
float zn,
float dist_plane_orig,
213 int &num_cross_pt,
SbBool at_vertex=TRUE);
214 SbBool isFaceAlreadyFound(
int num_new_points,
int nb_pt_inters,
int pt_inters_sorted[4]);
225 void hexahedronMeshCrossSectionTexContColr(
PbHexahedronMesh3D *mesh,
const float *v) ;
226 void hexahedronMeshCrossSectionPerCellColr(
PbHexahedronMesh3D *mesh,
const float *v) ;
229 void indexedMeshCrossSectionMapColr(
PbIndexedMesh3D *mesh,
const float *v) ;
230 void indexedMeshCrossSectionContColr(
PbIndexedMesh3D *mesh,
const float *v) ;
231 void indexedMeshCrossSectionTexContColr(
PbIndexedMesh3D *mesh,
const float *v) ;
232 void indexedMeshCrossSectionPerCellColr(
PbIndexedMesh3D *mesh,
const float *v) ;
258 int m_allocElementFaces,m_numElementFaces;
259 int (*m_elementFaces)[5];
261 SbBool m_distNodes2PlaneUpdated;
262 std::vector<float> m_distNodes2Plane;
263 int m_distNodes2PlaneId;