Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

I.E. for each type of Entity, it invokes the appropriate Tool
then returns the Binder which contains the Result
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_Binder Transfer (const Handle< Standard_Transient > &start, const Handle< Transfer_TransientProcess > &TP)
 
Handle_Transfer_Binder TransferShape (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_Binder Transferring (const Handle< Standard_Transient > &start, const Handle< Transfer_ProcessForTransient > &TP)
 
virtual Handle_Standard_Transient TransferTransient (const Handle< Standard_Transient > &start, const Handle< Transfer_TransientProcess > &TP)
 
- Public Member Functions inherited from Transfer_ActorOfProcessForTransient
 Transfer_ActorOfProcessForTransient ()
 
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_ActorOfProcessForTransient > &next)
 
Handle_Transfer_ActorOfProcessForTransient 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_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void ShallowDump (Standard_OStream &) const
 
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_ShapeBinder TransferEntity (const Handle< StepBasic_ProductDefinition > &PD, const Handle< Transfer_TransientProcess > &TP)
 Transfers product definition entity
More...
 
Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepRepr_NextAssemblyUsageOccurrence > &NAUO, const Handle< Transfer_TransientProcess > &TP)
 Transfers next assembly usage occurence entity
More...
 
Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepShape_ShapeRepresentation > &sr, const Handle< Transfer_TransientProcess > &TP, Standard_Boolean &isBound)
 Transfers shape representation entity
More...
 
Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepShape_ContextDependentShapeRepresentation > &CDSR, const Handle< Transfer_TransientProcess > &TP)
 Transfers context dependent shape representation entity
More...
 
Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepRepr_ShapeRepresentationRelationship > &und, const Handle< Transfer_TransientProcess > &TP, const Standard_Integer nbrep=0)
 Transfers shape representation relationship entity
More...
 
Handle_TransferBRep_ShapeBinder TransferEntity (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_ShapeBinder TransferEntity (const Handle< StepRepr_MappedItem > &mapit, const Handle< Transfer_TransientProcess > &TP)
 Transfers mapped item
More...
 
Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepShape_FaceSurface > &fs, const Handle< Transfer_TransientProcess > &TP)
 Transfers FaceSurface entity
More...
 
Handle_TransferBRep_ShapeBinder OldWay (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: