Open CASCADE Technology  7.1.0.beta
Public Member Functions

STEPCAFControl_ActorWrite Class Reference

Extends ActorWrite from STEPControl by analysis of whether shape is assembly (based on information from DECAF) More...

#include <STEPCAFControl_ActorWrite.hxx>

Inheritance diagram for STEPCAFControl_ActorWrite:
Inheritance graph
[legend]

Public Member Functions

 STEPCAFControl_ActorWrite ()
 
virtual Standard_Boolean IsAssembly (TopoDS_Shape &S) const override
 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) override
 Prerequesite for Transfer : the method Transfer is called on a starting object only if Recognize has returned True on it This allows to define a list of Actors, each one processing a definite kind of data TransferProcess calls Recognize on each one before calling Transfer. But even if Recognize has returned True, Transfer can reject by returning a Null Binder (afterwards rejection), the next actor is then invoked. More...
 
virtual Handle< Transfer_BinderTransfer (const Handle< Transfer_Finder > &start, const Handle< Transfer_FinderProcess > &FP) override
 
Handle< Transfer_BinderTransferSubShape (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_BinderTransferShape (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_BinderTransferCompound (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_IntegerModeTrans ()
 Returns the Transfer Mode, modifiable. More...
 
virtual Handle< Transfer_BinderTransferring (const Handle< Transfer_Finder > &start, const Handle< Transfer_ProcessForFinder > &TP) override
 Specific action of Transfer. The Result is stored in the returned Binder, or a Null Handle for "No result" (Default defined as doing nothing; should be deffered) "mutable" allows the Actor to record intermediate information, in addition to those of TransferProcess. More...
 
virtual Handle< Standard_TransientTransferTransient (const Handle< Standard_Transient > &start, const Handle< Transfer_FinderProcess > &TP)
 
- Public Member Functions inherited from Transfer_ActorOfProcessForFinder
 Transfer_ActorOfProcessForFinder ()
 
Handle< Transfer_SimpleBinderOfTransientTransientResult (const Handle< Standard_Transient > &res) const
 Prepares and Returns a Binder for a Transient Result Returns a Null Handle if <res> is itself Null. More...
 
Handle< Transfer_BinderNullResult () const
 Returns a Binder for No Result, i.e. a Null Handle. More...
 
void SetLast (const Standard_Boolean mode=Standard_True)
 If <mode> is True, commands an Actor to be set at the end of the list of Actors (see SetNext) If it is False (creation default), each add Actor is set at the beginning of the list This allows to define default Actors (which are Last) More...
 
Standard_Boolean IsLast () const
 Returns the Last status (see SetLast). More...
 
void SetNext (const Handle< Transfer_ActorOfProcessForFinder > &next)
 Defines a Next Actor : it can then be asked to work if <me> produces no result for a given type of Object. If Next is already set and is not "Last", calls SetNext on it. If Next defined and "Last", the new actor is added before it in the list. More...
 
Handle< Transfer_ActorOfProcessForFinderNext () const
 Returns the Actor defined as Next, or a Null Handle. More...
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const override
 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_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::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 opencascade::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...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 
- Protected Attributes inherited from Transfer_ActorOfFinderProcess
Standard_Integer themodetrans
 

Detailed Description

Extends ActorWrite from STEPControl by analysis of whether shape is assembly (based on information from DECAF)

Constructor & Destructor Documentation

STEPCAFControl_ActorWrite::STEPCAFControl_ActorWrite ( )

Member Function Documentation

void STEPCAFControl_ActorWrite::ClearMap ( )

Clears map of shapes registered as assemblies.

virtual Standard_Boolean STEPCAFControl_ActorWrite::IsAssembly ( TopoDS_Shape S) const
overridevirtual

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.


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