Open CASCADE Technology
6.9.1
|
Extends ActorWrite from STEPControl by analysis of whether shape is assembly (based on information from DECAF) More...
#include <STEPCAFControl_ActorWrite.hxx>
Public Member Functions | |
STEPCAFControl_ActorWrite () | |
virtual Standard_Boolean | IsAssembly (TopoDS_Shape &S) const |
Check whether shape S is assembly Returns True if shape is registered in assemblies map. More... | |
void | SetStdMode (const Standard_Boolean stdmode=Standard_True) |
Set standard mode of work In standard mode Actor (default) behaves exactly as its ancestor, also map is cleared. More... | |
void | ClearMap () |
Clears map of shapes registered as assemblies. More... | |
void | RegisterAssembly (const TopoDS_Shape &S) |
Registers shape to be written as assembly The shape should be TopoDS_Compound (else does nothing) More... | |
Public Member Functions inherited from STEPControl_ActorWrite | |
STEPControl_ActorWrite () | |
virtual Standard_Boolean | Recognize (const Handle< Transfer_Finder > &start) |
virtual Handle< Transfer_Binder > | Transfer (const Handle< Transfer_Finder > &start, const Handle< Transfer_FinderProcess > &FP) |
Handle< Transfer_Binder > | TransferSubShape (const Handle< Transfer_Finder > &start, const Handle< StepShape_ShapeDefinitionRepresentation > &SDR, Handle< StepGeom_Axis2Placement3d > &AX1, const Handle< Transfer_FinderProcess > &FP, const Handle< TopTools_HSequenceOfShape > &shapeGroup=NULL, const Standard_Boolean isManifold=Standard_True) |
Handle< Transfer_Binder > | TransferShape (const Handle< Transfer_Finder > &start, const Handle< StepShape_ShapeDefinitionRepresentation > &SDR, const Handle< Transfer_FinderProcess > &FP, const Handle< TopTools_HSequenceOfShape > &shapeGroup=NULL, const Standard_Boolean isManifold=Standard_True) |
Handle< Transfer_Binder > | TransferCompound (const Handle< Transfer_Finder > &start, const Handle< StepShape_ShapeDefinitionRepresentation > &SDR, const Handle< Transfer_FinderProcess > &FP) |
void | SetMode (const STEPControl_StepModelType M) |
STEPControl_StepModelType | Mode () const |
void | SetGroupMode (const Standard_Integer mode) |
Standard_Integer | GroupMode () const |
void | SetTolerance (const Standard_Real Tol) |
Public Member Functions inherited from Transfer_ActorOfFinderProcess | |
Transfer_ActorOfFinderProcess () | |
Standard_Integer & | ModeTrans () |
Returns the Transfer Mode, modifiable. More... | |
virtual Handle< Transfer_Binder > | Transferring (const Handle< Transfer_Finder > &start, const Handle< Transfer_ProcessForFinder > &TP) |
virtual Handle< Standard_Transient > | TransferTransient (const Handle< Standard_Transient > &start, const Handle< Transfer_FinderProcess > &TP) |
Public Member Functions inherited from Transfer_ActorOfProcessForFinder | |
Transfer_ActorOfProcessForFinder () | |
Handle< Transfer_SimpleBinderOfTransient > | TransientResult (const Handle< Standard_Transient > &res) const |
Handle< Transfer_Binder > | NullResult () const |
void | SetLast (const Standard_Boolean mode=Standard_True) |
Standard_Boolean | IsLast () const |
void | SetNext (const Handle< Transfer_ActorOfProcessForFinder > &next) |
Handle< Transfer_ActorOfProcessForFinder > | Next () const |
Public Member Functions inherited from MMgt_TShared | |
virtual void | Delete () const |
Memory deallocator for transient classes. More... | |
Public Member Functions inherited from Standard_Transient | |
Standard_Transient () | |
Empty constructor. More... | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. More... | |
Standard_Transient & | operator= (const Standard_Transient &) |
Assignment operator, needed to avoid copying reference counter. More... | |
virtual | ~Standard_Transient () |
Destructor must be virtual. More... | |
virtual const Handle_Standard_Type & | DynamicType () const |
Returns a type information object about this object. More... | |
Standard_Boolean | IsInstance (const Handle_Standard_Type &theType) const |
Returns a true value if this is an instance of Type. More... | |
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
Returns a true value if this is an instance of TypeName. More... | |
Standard_Boolean | IsKind (const Handle_Standard_Type &theType) const |
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
virtual Handle_Standard_Transient | This () const |
Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
Standard_Integer | GetRefCount () const |
Get the reference counter of this object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Transfer_ActorOfFinderProcess | |
Standard_Integer | themodetrans |
Extends ActorWrite from STEPControl by analysis of whether shape is assembly (based on information from DECAF)
STEPCAFControl_ActorWrite::STEPCAFControl_ActorWrite | ( | ) |
void STEPCAFControl_ActorWrite::ClearMap | ( | ) |
Clears map of shapes registered as assemblies.
|
virtual |
Check whether shape S is assembly Returns True if shape is registered in assemblies map.
Reimplemented from STEPControl_ActorWrite.
void STEPCAFControl_ActorWrite::RegisterAssembly | ( | const TopoDS_Shape & | S | ) |
Registers shape to be written as assembly The shape should be TopoDS_Compound (else does nothing)
void STEPCAFControl_ActorWrite::SetStdMode | ( | const Standard_Boolean | stdmode = Standard_True | ) |
Set standard mode of work In standard mode Actor (default) behaves exactly as its ancestor, also map is cleared.