27#ifndef _OD_DB_SUBDMESH
28#define _OD_DB_SUBDMESH
208 double sectionRadiusRatio,
209 double sectionRotate,
OdSmartPtr< OdDbSubDMesh > OdDbSubDMeshPtr
DBENT_EXPORT OdResult oddbGetObjectMesh(OdDbObject *pObj, const OdDbFaceterSettings *faceter, OdGePoint3dArray &vertexArray, OdInt32Array &faceArray, OdGiFaceData *&faceData)
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 subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMarker, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xrm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack) const
OdResult getCrease(const OdDbSubentId &id, double &result) const
OdResult setVertexAt(const OdDbSubentId &id, const OdGePoint3d &vertex)
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)
OdResult clearVertexTextureArray()
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const
OdResult setCrease(double creaseVal)
OdResult extrudeFaces(const OdDbFullSubentPathArray &subentPaths, double length, const OdGeVector3d &dir, double taper)
OdResult clearVertexNormalArray()
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 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 computeRayIntersection(const OdGePoint3d &rayStart, const OdGeVector3d &rayDir, OdArray< OdDbSubentId > &retSubents, OdArray< double > &retIntersectDist, OdGePoint3dArray &retIntersectPoint) 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
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) 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 extrudeConnectedFaces(const OdDbFullSubentPathArray &subentPaths, double length, const OdGeVector3d &dir, double taper)
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
OdResult clearVertexColorArray()
GLuint GLsizei GLsizei GLint GLenum * type
GLuint GLsizei GLsizei * length
GLint GLenum GLsizei GLsizei height
double faceterMaxEdgeLength