Open CASCADE Technology  6.9.1
Public Member Functions | Protected Member Functions
STEPControl_ActorRead Class Reference

This class performs the transfer of an Entity from AP214 and AP203, either Geometric or Topologic. More...

#include <STEPControl_ActorRead.hxx>

Inheritance diagram for STEPControl_ActorRead:
Inheritance graph
[legend]

Public Member Functions

 STEPControl_ActorRead ()
 
virtual Standard_Boolean Recognize (const Handle< Standard_Transient > &start)
 
virtual Handle< Transfer_BinderTransfer (const Handle< Standard_Transient > &start, const Handle< Transfer_TransientProcess > &TP)
 
Handle< Transfer_BinderTransferShape (const Handle< Standard_Transient > &start, const Handle< Transfer_TransientProcess > &TP, const Standard_Boolean isManifold=Standard_True)
 
void PrepareUnits (const Handle< StepRepr_Representation > &rep, const Handle< Transfer_TransientProcess > &TP)
 set units and tolerances context by given ShapeRepresentation More...
 
void ResetUnits ()
 reset units and tolerances context to default (mm, radians, read.precision.val, etc.) More...
 
Standard_Boolean ComputeTransformation (const Handle< StepGeom_Axis2Placement3d > &Origin, const Handle< StepGeom_Axis2Placement3d > &Target, const Handle< StepRepr_Representation > &OrigContext, const Handle< StepRepr_Representation > &TargContext, const Handle< Transfer_TransientProcess > &TP, gp_Trsf &Trsf)
 Computes transformation defined by two axis placements (in MAPPED_ITEM or ITEM_DEFINED_TRANSFORMATION) taking into account their representation contexts (i.e. units, which may be different) Returns True if transformation is computed and is not an identity. More...
 
Standard_Boolean ComputeSRRWT (const Handle< StepRepr_RepresentationRelationship > &SRR, const Handle< Transfer_TransientProcess > &TP, gp_Trsf &Trsf)
 Computes transformation defined by given REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION. More...
 
- Public Member Functions inherited from Transfer_ActorOfTransientProcess
 Transfer_ActorOfTransientProcess ()
 
virtual Handle< Transfer_BinderTransferring (const Handle< Standard_Transient > &start, const Handle< Transfer_ProcessForTransient > &TP)
 
virtual Handle< Standard_TransientTransferTransient (const Handle< Standard_Transient > &start, const Handle< Transfer_TransientProcess > &TP)
 
- Public Member Functions inherited from Transfer_ActorOfProcessForTransient
 Transfer_ActorOfProcessForTransient ()
 
Handle< Transfer_SimpleBinderOfTransientTransientResult (const Handle< Standard_Transient > &res) const
 
Handle< Transfer_BinderNullResult () const
 
void SetLast (const Standard_Boolean mode=Standard_True)
 
Standard_Boolean IsLast () const
 
void SetNext (const Handle< Transfer_ActorOfProcessForTransient > &next)
 
Handle< Transfer_ActorOfProcessForTransientNext () 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_Transientoperator= (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...
 

Protected Member Functions

Handle< TransferBRep_ShapeBinderTransferEntity (const Handle< StepBasic_ProductDefinition > &PD, const Handle< Transfer_TransientProcess > &TP)
 Transfers product definition entity. More...
 
Handle< TransferBRep_ShapeBinderTransferEntity (const Handle< StepRepr_NextAssemblyUsageOccurrence > &NAUO, const Handle< Transfer_TransientProcess > &TP)
 Transfers next assembly usage occurence entity. More...
 
Handle< TransferBRep_ShapeBinderTransferEntity (const Handle< StepShape_ShapeRepresentation > &sr, const Handle< Transfer_TransientProcess > &TP, Standard_Boolean &isBound)
 Transfers shape representation entity. More...
 
Handle< TransferBRep_ShapeBinderTransferEntity (const Handle< StepShape_ContextDependentShapeRepresentation > &CDSR, const Handle< Transfer_TransientProcess > &TP)
 Transfers context dependent shape representation entity. More...
 
Handle< TransferBRep_ShapeBinderTransferEntity (const Handle< StepRepr_ShapeRepresentationRelationship > &und, const Handle< Transfer_TransientProcess > &TP, const Standard_Integer nbrep=0)
 Transfers shape representation relationship entity. More...
 
Handle< TransferBRep_ShapeBinderTransferEntity (const Handle< StepGeom_GeometricRepresentationItem > &git, const Handle< Transfer_TransientProcess > &TP, const Standard_Boolean isManifold)
 Transfers geometric representation item entity such as ManifoldSolidBRep ,...etc. More...
 
Handle< TransferBRep_ShapeBinderTransferEntity (const Handle< StepRepr_MappedItem > &mapit, const Handle< Transfer_TransientProcess > &TP)
 Transfers mapped item. More...
 
Handle< TransferBRep_ShapeBinderTransferEntity (const Handle< StepShape_FaceSurface > &fs, const Handle< Transfer_TransientProcess > &TP)
 Transfers FaceSurface entity. More...
 
Handle< TransferBRep_ShapeBinderOldWay (const Handle< Standard_Transient > &start, const Handle< Transfer_TransientProcess > &TP)
 Tranlates file by old way when CDSR are roots . Acts only if "read.step.product_mode" is equal Off. More...
 

Detailed Description

This class performs the transfer of an Entity from AP214 and AP203, either Geometric or Topologic.

I.E. for each type of Entity, it invokes the appropriate Tool then returns the Binder which contains the Result

Constructor & Destructor Documentation

STEPControl_ActorRead::STEPControl_ActorRead ( )

Member Function Documentation

Standard_Boolean STEPControl_ActorRead::ComputeSRRWT ( const Handle< StepRepr_RepresentationRelationship > &  SRR,
const Handle< Transfer_TransientProcess > &  TP,
gp_Trsf Trsf 
)

Computes transformation defined by given REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION.

Standard_Boolean STEPControl_ActorRead::ComputeTransformation ( const Handle< StepGeom_Axis2Placement3d > &  Origin,
const Handle< StepGeom_Axis2Placement3d > &  Target,
const Handle< StepRepr_Representation > &  OrigContext,
const Handle< StepRepr_Representation > &  TargContext,
const Handle< Transfer_TransientProcess > &  TP,
gp_Trsf Trsf 
)

Computes transformation defined by two axis placements (in MAPPED_ITEM or ITEM_DEFINED_TRANSFORMATION) taking into account their representation contexts (i.e. units, which may be different) Returns True if transformation is computed and is not an identity.

Handle< TransferBRep_ShapeBinder > STEPControl_ActorRead::OldWay ( const Handle< Standard_Transient > &  start,
const Handle< Transfer_TransientProcess > &  TP 
)
protected

Tranlates file by old way when CDSR are roots . Acts only if "read.step.product_mode" is equal Off.

void STEPControl_ActorRead::PrepareUnits ( const Handle< StepRepr_Representation > &  rep,
const Handle< Transfer_TransientProcess > &  TP 
)

set units and tolerances context by given ShapeRepresentation

virtual Standard_Boolean STEPControl_ActorRead::Recognize ( const Handle< Standard_Transient > &  start)
virtual
void STEPControl_ActorRead::ResetUnits ( )

reset units and tolerances context to default (mm, radians, read.precision.val, etc.)

virtual Handle< Transfer_Binder > STEPControl_ActorRead::Transfer ( const Handle< Standard_Transient > &  start,
const Handle< Transfer_TransientProcess > &  TP 
)
virtual

Reimplemented from Transfer_ActorOfTransientProcess.

Handle< TransferBRep_ShapeBinder > STEPControl_ActorRead::TransferEntity ( const Handle< StepBasic_ProductDefinition > &  PD,
const Handle< Transfer_TransientProcess > &  TP 
)
protected

Transfers product definition entity.

Handle< TransferBRep_ShapeBinder > STEPControl_ActorRead::TransferEntity ( const Handle< StepRepr_NextAssemblyUsageOccurrence > &  NAUO,
const Handle< Transfer_TransientProcess > &  TP 
)
protected

Transfers next assembly usage occurence entity.

Handle< TransferBRep_ShapeBinder > STEPControl_ActorRead::TransferEntity ( const Handle< StepShape_ShapeRepresentation > &  sr,
const Handle< Transfer_TransientProcess > &  TP,
Standard_Boolean isBound 
)
protected

Transfers shape representation entity.

Handle< TransferBRep_ShapeBinder > STEPControl_ActorRead::TransferEntity ( const Handle< StepShape_ContextDependentShapeRepresentation > &  CDSR,
const Handle< Transfer_TransientProcess > &  TP 
)
protected

Transfers context dependent shape representation entity.

Handle< TransferBRep_ShapeBinder > STEPControl_ActorRead::TransferEntity ( const Handle< StepRepr_ShapeRepresentationRelationship > &  und,
const Handle< Transfer_TransientProcess > &  TP,
const Standard_Integer  nbrep = 0 
)
protected

Transfers shape representation relationship entity.

Handle< TransferBRep_ShapeBinder > STEPControl_ActorRead::TransferEntity ( const Handle< StepGeom_GeometricRepresentationItem > &  git,
const Handle< Transfer_TransientProcess > &  TP,
const Standard_Boolean  isManifold 
)
protected

Transfers geometric representation item entity such as ManifoldSolidBRep ,...etc.

Handle< TransferBRep_ShapeBinder > STEPControl_ActorRead::TransferEntity ( const Handle< StepRepr_MappedItem > &  mapit,
const Handle< Transfer_TransientProcess > &  TP 
)
protected

Transfers mapped item.

Handle< TransferBRep_ShapeBinder > STEPControl_ActorRead::TransferEntity ( const Handle< StepShape_FaceSurface > &  fs,
const Handle< Transfer_TransientProcess > &  TP 
)
protected

Transfers FaceSurface entity.

Handle< Transfer_Binder > STEPControl_ActorRead::TransferShape ( const Handle< Standard_Transient > &  start,
const Handle< Transfer_TransientProcess > &  TP,
const Standard_Boolean  isManifold = Standard_True 
)

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