27#include <MeshViz/3Ddata/PbMesh.h>
55 virtual float getArea()
const {
return 0.0 ;}
90 virtual void print(FILE *fp)
const;
96 virtual void getXYGeometry(
const PoChart *chartRep,
102 SbBool isIndexSourceNeeded,
103 int* &indexSource)
const;
109 virtual void getFilteredXYGeometry(
const PoChart *chartRep,
116 virtual void getFilteredXYGeometry(
const PoChart *chartRep,
122 float *&vset1)
const ;
124 virtual void getFilteredXYGeometry(
const PoChart *chartRep,
131 float *&vset2)
const ;
139 void getGeometryInterThreshold(
const PoChart *chartRep,
141 SbBool isVertOrient,
float threshold,
142 int &sizeTmp,
float* &xTmp,
float* &yTmp,
144 int* &indexSource,
int &numInters,
int* &indexInters)
const ;
146 virtual float getXCoord(
int nodeIndex)
const=0 ;
155 virtual void updateCellBoundingBox()
const;
156 virtual const PbCell* findContainingCellProtected(
const SbVec3f &point,
float tolerance,
162 void copy(
const PbMesh1D &other_mesh) ;
164 static void setMaterialInterVertex(
const float *x,
const float *y,
int startIndex,
167 static void setMaterialAtVertex(
const SoMaterial *matSrc,
const float *colValSet,
168 int srcIndex,
int index,
SoMaterial *matPerVertex) ;
170 static void interpolateMaterial(
SoMaterial *srcMat,
int startIndexSrc,
int endIndexSrc,
171 float value,
SoMaterial *dstMat,
int indexDst) ;
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> Defines an abstract mono...
virtual void getAdjacentCellsIndByNode(int cell_index, PbArrayOfInt &adjacent_cells) const
Gets the list of indices of cells that are adjacent (by a node) to cell_index.
virtual const PbCell * findContainingCell(const SbVec3f &point, float tolerance, SbVec3f &pcoord, const PbCell *adjacent_cell) const
Returns always NULL.
virtual void getAdjacentCellsIndByFacet(int cell_index, PbArrayOfInt &adjacent_cells) const
Gets the list of indices of cells that are adjacent (by a facet) to cell_index.
virtual const PbCell * getCell(int cell_index) const
Returns always NULL.
virtual void getNodesOwnerCellsInd(const PbArrayOfInt &nod_indices, PbArrayOfInt &owner_cells) const
Returns always an empty list of index.
virtual void getNodeOwnerCellsInd(int nod_index, PbArrayOfInt &owner_cells) const
Gets the list of indices of cells that own the node "nod_index".
virtual float getArea() const
Returns always 0.
virtual float getVolume() const
Returns always 0.
PbMesh1D & operator=(const PbMesh1D &mesh)
Assignment operator.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an abstract mesh...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
Surface material definition node.