24 #ifndef __FMMDL_DRAW_BODY_H__
25 #define __FMMDL_DRAW_BODY_H__
60 pSurf = pSurf->
next();
89 vEdgeVisibilities.
reserve( iECount );
90 vFaceVisibilities.
reserve( iFCount );
93 vFD.
reserve( iECount + iFCount * 2 );
98 bool bFaceVis =
false;
99 bool bEdgeVis =
false;
104 while( !itF.
done() ) {
123 for ( i = 0; i < iSize; i++ ) {
137 vertexId = aVertices.
size();
139 pVertex->
setTag( vertexId+1 );
185 vFD[ nFaceStart-1 ] = ( i==0 ? vFD.
size() - nFaceStart : nFaceStart - vFD.
size() );
205 bEdgeVis ? &cEdgeData : 0,
207 normals.
size() ? &cVertexData : 0
Surface * surfaceList() const
OdUInt32 surfaceCount() const
OdUInt32 faceCount() const
OdUInt32 vertexCount() const
OdUInt32 countEdges() const
FacetModeler::Vertex * vertex() const
FacetModeler::Face * face() const
void setTag(FacetModeler::AecTagType nTag)
FacetModeler::AecTagType tag() const
bool isFlagOn(OdUInt32 iFlag) const
OdGeVector3d normal() const
FaceOrientation orientation() const
Surface * surface() const
OdUInt32 loopCount() const
Edge * edge(OdUInt32 nLoop=0) const
void normal(const Face &atF, OdGeVector3d &normal) const
const OdGePoint3d & point() const
void push_back(const T &value)
void reserve(size_type reserveLength)
size_type append(const T &value)
double dotProduct(const OdGeVector3d &vect) const
virtual OdGiGeometry & rawGeometry() const =0
virtual OdGiSubEntityTraits & subEntityTraits() const =0
void setVisibility(const OdUInt8 *visibilities)
void setNormals(const OdGeVector3d *normals)
void setVisibility(const OdUInt8 *visibilities)
virtual void shell(OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
virtual OdUInt16 color() const =0
virtual void setColor(OdUInt16 color)=0
void setNormals(const OdGeVector3d *normals)
void DrawBodySurface(OdGiCommonDraw *pDraw, const Body &rBody, const Surface *pSurface, const OdGeVector3d *pViewDir)
void DrawBody(OdGiCommonDraw *pDraw, const Body &rBody, const OdGeVector3d *pViewDir=0)