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