CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
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
212 #endif //#ifndef __FMMDL_DRAW_BODY_H__
void setVisibility(const OdUInt8 *visibilities)
Edge * edge(OdUInt32 nLoop=0) const
OdUInt32 countEdges() const
void setTag(FacetModeler::AecTagType nTag)
FacetModeler::Face * face() const
virtual void setColor(OdUInt16 color)=0
OdGeVector3d normal() const
OdUInt32 loopCount() const
bool isFlagOn(OdUInt32 iFlag) const
void normal(const Face &atF, OdGeVector3d &normal) const
OdUInt32 vertexCount() const
virtual OdUInt16 color() const =0
FacetModeler::AecTagType tag() const
virtual OdGiSubEntityTraits & subEntityTraits() const =0
Surface * surfaceList() const
size_type append(const T &value)
void setVisibility(const OdUInt8 *visibilities)
FacetModeler::Vertex * vertex() const
OdUInt32 surfaceCount() const
const OdGePoint3d & point() const
OdUInt32 faceCount() const
FaceOrientation orientation() const
Surface * surface() const
void reserve(size_type reserveLength)
virtual OdGiGeometry & rawGeometry() const =0
void push_back(const T &value)
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
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)
double dotProduct(const OdGeVector3d &vect) const
void setNormals(const OdGeVector3d *normals)