CFx SDK Documentation  2020SP3
Public Member Functions | Protected Member Functions | List of all members
OdModelerTools Class Referenceabstract

#include <ModelerTools.h>

Inheritance diagram for OdModelerTools:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdModelerTools)
 
virtual OdResult deleteModelerBulletins ()=0
 
virtual void beginThreadSafetyMode (unsigned nThreads, const unsigned *aThreads)=0
 
virtual void endThreadSafetyMode (unsigned nThreads, const unsigned *aThreads)=0
 
virtual bool startThread ()=0
 
virtual bool stopThread ()=0
 
virtual bool isThreadStarted () const =0
 
virtual OdResult check3dSolid (const OdDb3dSolidPtr &, OdString &report)=0
 
virtual void executeInMainHistoryStream (MainHistStreamFunc func, void *data)=0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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

 OdModelerTools ()
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class defines the interface for classes that provide the services for ACIS SAT and SAB data.

Corresponding C++ library: ModelerGeometry <group Other_Classes>

Definition at line 47 of file ModelerTools.h.

Constructor & Destructor Documentation

◆ OdModelerTools()

OdModelerTools::OdModelerTools ( )
inlineprotected

Definition at line 50 of file ModelerTools.h.

Member Function Documentation

◆ beginThreadSafetyMode()

virtual void OdModelerTools::beginThreadSafetyMode ( unsigned  nThreads,
const unsigned *  aThreads 
)
pure virtual

Should be called from the main stream to start ACIS thread-safety mode. Prepares separate history streams for each thread, turns the thread-safety mode on. Returns false if no modeler geometry exist.

◆ check3dSolid()

virtual OdResult OdModelerTools::check3dSolid ( const OdDb3dSolidPtr ,
OdString report 
)
pure virtual

Checks topology and geometry correctness of given entity. Results are returned as text in parameter 'report'.

◆ deleteModelerBulletins()

virtual OdResult OdModelerTools::deleteModelerBulletins ( )
pure virtual

Delete the modeler bulletins.

◆ endThreadSafetyMode()

virtual void OdModelerTools::endThreadSafetyMode ( unsigned  nThreads,
const unsigned *  aThreads 
)
pure virtual

Should be called from the main stream to end ACIS thread-safety mode. Merges separate history streams into the main history, turns the thread-safety mode off.

◆ executeInMainHistoryStream()

virtual void OdModelerTools::executeInMainHistoryStream ( MainHistStreamFunc  func,
void data 
)
pure virtual

Executes given function when history stream is set to a main one

◆ isThreadStarted()

virtual bool OdModelerTools::isThreadStarted ( ) const
pure virtual

Checks if the modeler is started in this particular thread.

◆ ODRX_DECLARE_MEMBERS()

OdModelerTools::ODRX_DECLARE_MEMBERS ( OdModelerTools  )

◆ startThread()

virtual bool OdModelerTools::startThread ( )
pure virtual

Should be called from a thread function to start modeler in this particular thread. Substitutes default history stream by unique one for the given thread.

◆ stopThread()

virtual bool OdModelerTools::stopThread ( )
pure virtual

Should be called from a thread function to stop modeler in this particular thread. Restores default history stream for the given thread.


The documentation for this class was generated from the following file: