24#ifndef _BREPBUILDER_H_
25#define _BREPBUILDER_H_
192 void set(
const void* pFile);
OdUInt32 BRepBuilderGeometryId
@ kHideEdgesBetweenTangentFaces
OdArray< BrepBuilderErrorsHolder > ValidationErrors
#define BREPBUILDEREXPORT_STATIC
#define BREPBUILDEREXPORT
void setTag(const BRepBuilderGeometryId &id, OdUInt32 tag)
const ValidationErrors * getValidationErrors() const
BRepBuilderGeometryId addVertex(const OdGePoint3d &point)
static BREPBUILDEREXPORT_STATIC const BRepBuilderGeometryId kDefaultVertexId
void setFlag(const BRepBuilderGeometryId &id, OdUInt32 flag, bool enable)
void setBBSettings(OdUInt32 flag, bool enable)
void setAllowShortEdges()
void enableValidator(bool bEnable=true)
BRepBuilderGeometryId addComplex()
BRepBuilderGeometryId addShell(const BRepBuilderGeometryId &complexId)
bool isValidEdgeId(const BRepBuilderGeometryId &edgeId)
OdResult setFaceColor(const BRepBuilderGeometryId &faceId, const OdCmEntityColor &faceColor)
OdResult setFaceMaterialMapping(const BRepBuilderGeometryId &faceId, const OdGiMapper &materialMapper)
void finishLoop(const BRepBuilderGeometryId &loopId)
BRepBuilderGeometryId addEdge(const OdGeCurve3d *pCurveForEdge)
void finishComplex(const BRepBuilderGeometryId &complexId)
OdResult setTransformation(const OdGeMatrix3d &transformation)
bool isValidFaceId(const BRepBuilderGeometryId &faceId)
void set(const void *pFile)
bool isPermittedSurfaceType(const OdGeSurface *pSurf)
static BREPBUILDEREXPORT_STATIC const BRepBuilderGeometryId kDefaultShellId
BRepBuilderGeometryId addCoedge(const BRepBuilderGeometryId &loopId, const BRepBuilderGeometryId &edgeId, EntityDirection codgeDirection=kForward, const OdGeCurve2d *pParCur=NULL)
void allowRemovalOfProblematicFaces()
void finishShell(const BRepBuilderGeometryId &shellId)
OdRxObjectPtr getResult()
void finishFace(const BRepBuilderGeometryId &faceId)
bool isValidShellId(const BRepBuilderGeometryId &shellId)
OdResult setFacesMaterial(const BRepBuilderGeometryId &faceId, OdDbStub &materialId)
BRepBuilderGeometryId addLoop(const BRepBuilderGeometryId &faceId)
OdResult setEdgeColor(const BRepBuilderGeometryId &edgeId, const OdCmEntityColor &edgeColor)
BRepBuilderGeometryId addEdge(const OdGeCurve3d *pCurveForEdge, const BRepBuilderGeometryId &vertex1Id, const BRepBuilderGeometryId &vertex2Id)
bool isValidLoopId(const BRepBuilderGeometryId &loopId)
BRepBuilderGeometryId addFace(const OdGeSurface *pSurf, EntityDirection faceDirection, const BRepBuilderGeometryId &shellId=kDefaultShellId)
bool isValidComplexId(const BRepBuilderGeometryId &complexId)
OdUInt32 getBBSettings() const
BRepBuilderGeometryId m_shellId
BRepBuilderGeometryId m_edgeId
BRepBuilderGeometryId m_loopId
static const BRepBuilderGeometryId kInvalidId
BrepBuilderErrorsHolder()
BrepBuilderErrorsHolder(OdResult errCode, const OdString &errMsg="", BRepBuilderGeometryId complexId=kInvalidId, BRepBuilderGeometryId shellId=kInvalidId, BRepBuilderGeometryId faceId=kInvalidId, BRepBuilderGeometryId loopId=kInvalidId, BRepBuilderGeometryId edgeId=kInvalidId, BRepBuilderGeometryId coedgeId=kInvalidId)
BRepBuilderGeometryId m_complexId
BRepBuilderGeometryId m_coedgeId
BRepBuilderGeometryId m_faceId