CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
27 #ifndef _OD_DB_SUBDMESH
28 #define _OD_DB_SUBDMESH
118 double sectionRadiusRatio,
119 double sectionRotate,
OdResult numOfEdges(OdInt32 &result) const
OdResult getVertexColorArray(OdCmEntityColorArray &arrColor)
OdResult extrudeFaces(const OdDbFullSubentPathArray &subentPaths, double length, const OdGeVector3d &dir, double taper)
OdResult setSubDMesh(const OdGePoint3dArray &vertexArray, const OdInt32Array &faceArray, OdInt32 subDLevel)
virtual OdDbObjectPtr decomposeForSave(OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
OdResult getNormalArray(OdGeVector3dArray &normalArray) const
OdResult setSubentMaterialMapper(const OdDbSubentId &id, const OdGiMapper &mapper)
OdResult getSubentColor(const OdDbSubentId &id, OdCmColor &color) const
OdResult numOfSubDividedVertices(OdInt32 &result) const
OdResult subGetGeomExtents(OdGeExtents3d &extents) const
OdResult setSphere(double radius, OdInt32 divAxis, OdInt32 divHeight, OdInt32 subDLevel)
OdResult getSubentMaterial(const OdDbSubentId &id, OdDbObjectId &material) const
OdResult setVertexNormalArray(OdGeVector3dArray &arrNorm)
OdResult getSubDividedVertexAt(const OdDbSubentId &id, OdGePoint3d &vertex) const
OdResult setCone(double majorRadius, double minorRadius, double height, OdInt32 divAxis, OdInt32 divHeight, OdInt32 divCap, double radiusRatio, OdInt32 subDLevel)
GLuint GLsizei GLsizei GLint GLenum * type
OdResult setCrease(double creaseVal)
OdResult getSubentMaterialMapper(const OdDbSubentId &id, OdGiMapper &mapper) const
OdSmartPtr< OdDbSubDMesh > OdDbSubDMeshPtr
OdResult getFaceArray(OdInt32Array &faceArray) const
OdResult numOfFaces(OdInt32 &result) const
OdResult getSubDividedVertices(OdGePoint3dArray &vertexArray) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult setVertexTextureArray(OdGePoint3dArray &arrPts)
OdResult computeVolume(double &retVolume) const
OdResult getVertexAt(const OdDbSubentId &id, OdGePoint3d &vertex) const
OdResult getFacePlane(const OdDbSubentId &id, OdGePlane &facePlane) const
OdResult setCylinder(double majorRadius, double minorRadius, double height, OdInt32 divAxis, OdInt32 divHeight, OdInt32 divCap, OdInt32 subDLevel)
OdResult subdRefine(const OdDbFullSubentPathArray &subentPaths)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult getCrease(const OdDbSubentId &id, double &result) const
OdResult getVertexNormalArray(OdGeVector3dArray &arrNorm)
OdResult getVertices(OdGePoint3dArray &vertexArray) const
OdResult setVertexAt(const OdDbSubentId &id, const OdGePoint3d &vertex)
OdResult setSubentColor(const OdDbSubentId &id, const OdCmColor &color)
OdResult subdLevel(OdInt32 &result) const
OdResult getEdgeArray(OdInt32Array &edgeArray) const
OdResult convertToSurface(bool bConvertAsSmooth, const OdDbSubentId &id, OdDbSurfacePtr &pSurface) const
OdResult getSubDividedVertexAt(OdInt32 nIndex, OdGePoint3d &vertex) const
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdResult getSubDividedData(OdGePoint3dArray &vertexArray, OdInt32Array &edgeArray, OdInt32Array &faceArray) const
OdResult setVertexColorArray(OdCmEntityColorArray &arrColor)
OdResult splitFace(const OdDbSubentId &subentFaceId, const OdDbSubentId &subent0, const OdGePoint3d &point0, const OdDbSubentId &subent1, const OdGePoint3d &point1)
ODDB_DECLARE_MEMBERS(OdDbSubDMesh)
OdResult getAdjacentSubentPath(const OdDbFullSubentPath &path, OdDb::SubentType type, OdDbFullSubentPathArray &subentPaths) const
OdResult convertToSurface(bool bConvertAsSmooth, bool optimize, OdDbSurfacePtr &pSurface) const
OdResult subdDivideDown()
TOOLKIT_EXPORT OdResult oddbGetObjectMesh(OdDbObject *pObj, const OdDbFaceterSettings *faceter, OdGePoint3dArray &vertexArray, OdInt32Array &faceArray, OdGiFaceData *&faceData)
OdResult getSubDividedData(OdGePoint3dArray &vertexArray, OdInt32Array &edgeArray, OdInt32Array &faceArray, OdGeDoubleArray &newCreases, OdUInt32Array &edgeData) const
OdResult convertToSolid(bool bConvertAsSmooth, bool optimize, OdDb3dSolidPtr &pSolid) const
OdResult setVertexAt(OdInt32 nIndex, const OdGePoint3d &vertex)
OdResult getSubDividedFaceArray(OdInt32Array &faceArray) const
OdResult computeSurfaceArea(double &retSurfArea) const
OdResult getVertexAt(OdInt32 nIndex, OdGePoint3d &vertex) const
GLint GLenum GLsizei GLsizei height
GLuint GLsizei GLsizei * length
OdResult setPyramid(double radius, double height, OdInt32 divLength, OdInt32 divHeight, OdInt32 divCap, OdInt32 nSides, double radiusRatio, OdInt32 subDLevel)
OdResult getSubDividedEdgeArray(OdInt32Array &edgeArray) const
OdResult getCrease(const OdDbFullSubentPathArray &subentPaths, OdDoubleArray &result) const
OdResult setSubentMaterial(const OdDbSubentId &id, const OdDbObjectId &material)
OdResult numOfVertices(OdInt32 &result) const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
OdResult setWedge(double xLen, double yLen, double zLen, OdInt32 divLength, OdInt32 divWidth, OdInt32 divHeight, OdInt32 divSlope, OdInt32 divCap, OdInt32 subDLevel)
OdResult numOfSubDividedFaces(OdInt32 &result) const
OdResult extrudeFaces(const OdDbFullSubentPathArray &subentPaths, const OdGePoint3dArray &alongPath, double taper)
OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &, const OdGeMatrix3d &, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack) const
OdResult getVertexTextureArray(OdGePoint3dArray &arrPts)
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
OdResult setCrease(const OdDbFullSubentPathArray &subentPaths, double creaseVal)
OdResult getSubentPath(OdInt32 nIndex, OdDb::SubentType type, OdDbFullSubentPathArray &subentPaths) const
double faceterMaxEdgeLength
OdResult numOfSubDividedFacesAt(const OdDbFullSubentPathArray &subentPaths, OdInt32 &result) const
OdResult setBox(double xLen, double yLen, double zLen, OdInt32 divX, OdInt32 divY, OdInt32 divZ, OdInt32 subDLevel)
OdResult getSubDividedNormalArray(OdGeVector3dArray &normalArray) const
OdResult setTorus(double majorRadius, OdInt32 divSection, OdInt32 divSweepPath, double sectionRadiusRatio, double sectionRotate, OdInt32 subDLevel)
OdResult isWatertight(bool &result) const
OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const