Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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

#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

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

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.

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

Protected Member Functions

Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepBasic_ProductDefinition > &PD, const Handle< Transfer_TransientProcess > &TP)
 Transfers product definition entity

Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepRepr_NextAssemblyUsageOccurrence > &NAUO, const Handle< Transfer_TransientProcess > &TP)
 Transfers next assembly usage occurence entity

Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepShape_ShapeRepresentation > &sr, const Handle< Transfer_TransientProcess > &TP, Standard_Boolean &isBound)
 Transfers shape representation entity

Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepShape_ContextDependentShapeRepresentation > &CDSR, const Handle< Transfer_TransientProcess > &TP)
 Transfers context dependent shape representation entity

Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepRepr_ShapeRepresentationRelationship > &und, const Handle< Transfer_TransientProcess > &TP, const Standard_Integer nbrep=0)
 Transfers shape representation relationship entity

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

Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepRepr_MappedItem > &mapit, const Handle< Transfer_TransientProcess > &TP)
 Transfers mapped item

Handle_TransferBRep_ShapeBinder TransferEntity (const Handle< StepShape_FaceSurface > &fs, const Handle< Transfer_TransientProcess > &TP)
 Transfers FaceSurface entity

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.


Constructor & Destructor Documentation


Member Function Documentation

Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::OldWay ( const Handle< Standard_Transient > &  start,
const Handle< Transfer_TransientProcess > &  TP 
) [protected]
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]
Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity ( const Handle< StepRepr_NextAssemblyUsageOccurrence > &  NAUO,
const Handle< Transfer_TransientProcess > &  TP 
) [protected]
Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity ( const Handle< StepShape_ShapeRepresentation > &  sr,
const Handle< Transfer_TransientProcess > &  TP,
Standard_Boolean isBound 
) [protected]
Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity ( const Handle< StepGeom_GeometricRepresentationItem > &  git,
const Handle< Transfer_TransientProcess > &  TP,
const Standard_Boolean  isManifold 
) [protected]
Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity ( const Handle< StepRepr_MappedItem > &  mapit,
const Handle< Transfer_TransientProcess > &  TP 
) [protected]
Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity ( const Handle< StepShape_FaceSurface > &  fs,
const Handle< Transfer_TransientProcess > &  TP 
) [protected]

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