CFx SDK Documentation
2023 SP0
|
#include <ModelerGeometryCreator.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdModelerGeometryCreator) | |
virtual OdResult | createModeler (OdArray< OdModelerGeometryPtr > &models, OdStreamBuf *pStreamBuf, bool standardSaveFlag=true)=0 |
virtual OdResult | createSat (const OdArray< OdModelerGeometryPtr > &models, OdStreamBuf *pStreamBuf, AfTypeVer typeVer, bool standardSaveFlag=true)=0 |
virtual OdResult | createSat (const OdDbEntityPtrArray &entities, OdStreamBuf *pStreamBuf, AfTypeVer typeVer, bool standardSaveFlag=true)=0 |
virtual OdResult | createRegionFromCurves (const OdRxObjectPtrArray &curveSegments, OdArray< OdModelerGeometryPtr > &pRegions)=0 |
virtual OdResult | initBrepBuilder (OdBrepBuilder &brepBuilder, BrepType brepType)=0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Protected Member Functions | |
OdModelerGeometryCreator () | |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This utility class loads and saves SAT/SAB files, and performs other miscellaneous other ACIS-related operations.
Corresponding C++ library: ModelerGeometry <group Other_Classes>
Definition at line 51 of file ModelerGeometryCreator.h.
|
inlineprotected |
Definition at line 54 of file ModelerGeometryCreator.h.
|
pure virtual |
Creates one or more instances of OdModelerGeometry from the specified SAT/SAB file.
models | [out] Receives an array of OdModelerGeometry SmartPointers. |
pStreamBuf | [in] Pointer to the StreamBuf object from which the data are to be read. |
standardSaveFlag | [in] Controls the saving and restoring of use count data in the save file. |
Empty streamBuf generates single element array with empty OdModelerGeometry.
Returns eOk if successful, or an appropriate error code if not.
|
pure virtual |
Creates OdDbRegion entities from the closed loops defined by the specified curve segments.
curveSegments | [in] Array of curve segments. |
pRegions | [out] Receives an array of pointers to the regions. |
@untitled table OdDb3dPolyline OdDbArc OdDbCircle OdDbEllipse OdDbLine OdDbPolyline OdDbSpline
The newly created regions are non- database -resident. It is up to the caller to either add them to an OdDbDatabase or to delete them.
|
pure virtual |
Creates a single SAT/SAB file from the specified array of objects.
models | [in] Array of SmartPointers to the OdDbModelerGeometry objects to be written. |
pStreamBuf | [in] Pointer to the StreamBuf object to which the data are to be written. |
typeVer | [in] Type and version of ACIS data to write. |
standardSaveFlag | [in] Controls the saving and restoring of use count data in the save file. |
|
pure virtual |
Creates a single SAT/SAB file from the specified array of objects.
entities | [in] Array of SmartPointers to the OdDbEntity objects to be written. |
pStreamBuf | [in] Pointer to the StreamBuf object to which the data are to be written. |
typeVer | [in] Type and version of ACIS data to write. |
standardSaveFlag | [in] Controls the saving and restoring of use count data in the save file. \returnsReturns eOk if successful, or an appropriate error code if not. \remarksColor attributes are also added to the SAT/SAB file from the specified OdDbEntity objects. Only the following OdDbEntity types are valid: OdDb3dSolid, OdDbBody, and OdDbRegion/ |
|
pure virtual |
OdModelerGeometryCreator::ODRX_DECLARE_MEMBERS | ( | OdModelerGeometryCreator | ) |