28#include <MeshViz/3Ddata/Po3DdataPrivate.h>
158 return getFaultMesh(num_fault_lines, fault_line_sizes, coord,
173 virtual const float *getZcoord()
const;
175 virtual void meshLines(
PoMeshLines *_PoMeshLines)
const;
176 virtual void meshFilled(
PoMeshFilled *_PoMeshFilled)
const;
177 virtual void meshContouring(PiContouring *_PiContouring,
const float *z)
const;
178 virtual void mesh2DVec(
PoMesh2DVec *_PoMesh2DVec)
const;
180 virtual void getNodesCoord(
const float *z,
SoMFVec3f &vertices)
const = 0;
183 virtual SbBool hasSidesNormals()
const;
184 virtual void getSidesNormals(
SbVec3f *&normals,
187 void pushZCoord(
int val_index);
190 virtual SbVec3f getFirstCellNormal()
const = 0;
193 void print(FILE *fp)
const;
197 void setZCoord(
int num_z,
const float *z);
200 float *m_zCoord, *m_zCoordSaved;
207 void modify_triangle(int32_t *trianglelist,
int triangle,
int old_node,
int new_node)
const;
#define TRUE
Possible value of SbBool.
void triangle(const SbVec3f &p1, const SbVec3f &p2, const SbVec3f &p3)
Send a triangle.
DTEXT Dynamic array of int .
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an abstract cell...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class used to manage "de...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an abstract surf...
PbMesh2D * getFaultMesh(int num_fault_lines, const int *fault_line_sizes, const SbVec3f *coord) const
Same as calling getFaultMesh(num_fault_lines, fault_line_sizes, coord,PbMesh2D::USE_ADJACENT_DERIVS,...
virtual float getVolume() const
Always returns 0.
PbMesh2D * getFaultMesh(int num_fault_lines, const int *fault_line_sizes, const SbVec3f *coord, ExtrapolationMethod extrapol_method, PbDefinedValue &definedValue) const
Builds a new mesh by inserting some fault lines in this mesh.
ExtrapolationMethod
Specifies the type of extrapolation used by getFaultMesh() when computing values on the fault lines.
@ USE_ADJACENT_DERIVS
Computes the value at a point of the fault line by using the derivatives at its adjacent nodes.
@ USE_ADJACENT_VALUES
Computes the value at a point of the fault line as the average values of its adjacent nodes.
void addVecsSet(int set_index, const SbVec2f *val, const SbString &setName="")
Adds a set of 2D vectors on the mesh.
virtual SbBox2f getBoundingBox() const
Gets the 2D mesh's bounding box.
virtual float getArea() const
Gets the area of the mesh.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an abstract mesh...
virtual void addVecsSet(int set_index, const SbVec3f *val, const SbString &set_name="")
Adds a set of vector values .
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Base class for all surfa...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Representation of vector...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to build contour l...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Filled representation of...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Representation of the ed...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to build the sides...
Class for smart character strings.
Multiple-value field containing any number of three-dimensional vectors.