Open CASCADE Technology
6.5.4
|
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>
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. |
Standard_Boolean STEPControl_ActorRead::ComputeSRRWT | ( | const Handle< StepRepr_RepresentationRelationship > & | SRR, |
const Handle< Transfer_TransientProcess > & | TP, | ||
gp_Trsf & | Trsf | ||
) |
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 | ||
) |
Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::OldWay | ( | const Handle< Standard_Transient > & | start, |
const Handle< Transfer_TransientProcess > & | TP | ||
) | [protected] |
void STEPControl_ActorRead::PrepareUnits | ( | const Handle< StepRepr_Representation > & | rep, |
const Handle< Transfer_TransientProcess > & | TP | ||
) |
virtual Standard_Boolean STEPControl_ActorRead::Recognize | ( | const Handle< Standard_Transient > & | start | ) | [virtual] |
Reimplemented from Transfer_ActorOfProcessForTransient.
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< StepShape_ContextDependentShapeRepresentation > & | CDSR, |
const Handle< Transfer_TransientProcess > & | TP | ||
) | [protected] |
Handle_TransferBRep_ShapeBinder STEPControl_ActorRead::TransferEntity | ( | const Handle< StepRepr_ShapeRepresentationRelationship > & | und, |
const Handle< Transfer_TransientProcess > & | TP, | ||
const Standard_Integer | nbrep = 0 |
||
) | [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] |
Handle_Transfer_Binder STEPControl_ActorRead::TransferShape | ( | const Handle< Standard_Transient > & | start, |
const Handle< Transfer_TransientProcess > & | TP, | ||
const Standard_Boolean | isManifold = Standard_True |
||
) |