OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

# DataExchange
TKSTEP
STEPControl

# 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:

[legend]

## Public Member Functions
Standard_EXPORT | STEPControl_ActorRead ()
virtual Standard_EXPORT Standard_Boolean | Recognize (const Handle(Standard_Transient)&start)
virtual Standard_EXPORT Handle_Transfer_Binder | Transfer (const Handle(Standard_Transient)&start, const Handle(Transfer_TransientProcess)&TP)
Standard_EXPORT Handle_Transfer_Binder | TransferShape (const Handle(Standard_Transient)&start, const Handle(Transfer_TransientProcess)&TP)
Standard_EXPORT void | PrepareUnits (const Handle(StepRepr_Representation)&rep, const Handle(Transfer_TransientProcess)&TP)
| set units and tolerances context by given ShapeRepresentation
Standard_EXPORT void | ResetUnits ()
| reset units and tolerances context to default (mm, radians, read.precision.val, etc.)
Standard_EXPORT 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_EXPORT 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 .
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const
## Protected Member Functions
Standard_EXPORT Handle_TransferBRep_ShapeBinder | TransferEntity (const Handle(StepBasic_ProductDefinition)&PD, const Handle(Transfer_TransientProcess)&TP)
| Transfers product definition entity .
Standard_EXPORT Handle_TransferBRep_ShapeBinder | TransferEntity (const Handle(StepRepr_NextAssemblyUsageOccurrence)&NAUO, const Handle(Transfer_TransientProcess)&TP)
| Transfers next assembly usage occurence entity .
Standard_EXPORT Handle_TransferBRep_ShapeBinder | TransferEntity (const Handle(StepShape_ShapeRepresentation)&sr, const Handle(Transfer_TransientProcess)&TP, Standard_Boolean &isBound)
| Transfers shape representation entity .
Standard_EXPORT Handle_TransferBRep_ShapeBinder | TransferEntity (const Handle(StepShape_ContextDependentShapeRepresentation)&CDSR, const Handle(Transfer_TransientProcess)&TP)
| Transfers context dependent shape representation entity .
Standard_EXPORT Handle_TransferBRep_ShapeBinder | TransferEntity (const Handle(StepRepr_ShapeRepresentationRelationship)&und, const Handle(Transfer_TransientProcess)&TP, const Standard_Integer nbrep=0)
| Transfers shape representation relationship entity .
Standard_EXPORT Handle_TransferBRep_ShapeBinder | TransferEntity (const Handle(StepGeom_GeometricRepresentationItem)&git, const Handle(Transfer_TransientProcess)&TP)
| Transfers geometric representation item entity such as ManifoldSolidBRep ,...etc .
Standard_EXPORT Handle_TransferBRep_ShapeBinder | TransferEntity (const Handle(StepRepr_MappedItem)&mapit, const Handle(Transfer_TransientProcess)&TP)
| Transfers mapped item .
Standard_EXPORT Handle_TransferBRep_ShapeBinder | TransferEntity (const Handle(StepShape_FaceSurface)&fs, const Handle(Transfer_TransientProcess)&TP)
| Transfers FaceSurface entity .
Standard_EXPORT 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. .
## Private Attributes
Standard_Real | myPrecision
Standard_Real | myMaxTol
Handle_StepRepr_Representation | mySRContext

## Constructor & Destructor Documentation

Standard_EXPORT STEPControl_ActorRead::STEPControl_ActorRead | ( |  | ) |

## Member Function Documentation

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

Standard_EXPORT 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
| ) |

Standard_EXPORT const STEPControl_ActorRead::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from Transfer_ActorOfTransientProcess.

Standard_EXPORT Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::OldWay | ( | const Handle(Standard_Transient)& | start,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) | `[protected]`

Standard_EXPORT void STEPControl_ActorRead::PrepareUnits | ( | const Handle(StepRepr_Representation)& | rep,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) |

virtual Standard_EXPORT Standard_Boolean STEPControl_ActorRead::Recognize | ( | const Handle(Standard_Transient)& | start | ) | `[virtual]`

| Reimplemented from Transfer_ActorOfProcessForTransient.

Standard_EXPORT void STEPControl_ActorRead::ResetUnits | ( |  | ) |

virtual Standard_EXPORT Handle_Transfer_Binder STEPControl_ActorRead::Transfer | ( | const Handle(Standard_Transient)& | start,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) | `[virtual]`

| Reimplemented from Transfer_ActorOfTransientProcess.

Standard_EXPORT Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity | ( | const Handle(StepShape_FaceSurface)& | fs,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) | `[protected]`

Standard_EXPORT Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity | ( | const Handle(StepRepr_MappedItem)& | mapit,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) | `[protected]`

Standard_EXPORT Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity | ( | const Handle(StepGeom_GeometricRepresentationItem)& | git,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) | `[protected]`

Standard_EXPORT Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity | ( | const Handle(StepRepr_ShapeRepresentationRelationship)& | und,
|  | const Handle(Transfer_TransientProcess)& | TP,
|  | const Standard_Integer | nbrep = `0`
| ) | `[protected]`

Standard_EXPORT Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity | ( | const Handle(StepShape_ContextDependentShapeRepresentation)& | CDSR,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) | `[protected]`

Standard_EXPORT Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity | ( | const Handle(StepShape_ShapeRepresentation)& | sr,
|  | const Handle(Transfer_TransientProcess)& | TP,
|  | Standard_Boolean & | isBound
| ) | `[protected]`

Standard_EXPORT Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity | ( | const Handle(StepRepr_NextAssemblyUsageOccurrence)& | NAUO,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) | `[protected]`

Standard_EXPORT Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity | ( | const Handle(StepBasic_ProductDefinition)& | PD,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) | `[protected]`

Standard_EXPORT Handle_Transfer_Binder STEPControl_ActorRead::TransferShape | ( | const Handle(Standard_Transient)& | start,
|  | const Handle(Transfer_TransientProcess)& | TP
| ) |

## Field Documentation

Standard_Real STEPControl_ActorRead::myMaxTol`[private]`

Standard_Real STEPControl_ActorRead::myPrecision`[private]`

Handle_StepRepr_Representation STEPControl_ActorRead::mySRContext`[private]`

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

- STEPControl_ActorRead.hxx