// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _STEPConstruct_HeaderFile #define _STEPConstruct_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_StepRepr_RepresentationItem_HeaderFile #include #endif #ifndef _Handle_Transfer_FinderProcess_HeaderFile #include #endif #ifndef _Handle_Transfer_TransientProcess_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Transfer_Binder_HeaderFile #include #endif #ifndef _Handle_StepShape_ShapeDefinitionRepresentation_HeaderFile #include #endif #ifndef _Handle_StepShape_ContextDependentShapeRepresentation_HeaderFile #include #endif class StepRepr_RepresentationItem; class Transfer_FinderProcess; class TopoDS_Shape; class TopLoc_Location; class Transfer_TransientProcess; class Transfer_Binder; class StepShape_ShapeDefinitionRepresentation; class StepShape_ContextDependentShapeRepresentation; class STEPConstruct_Tool; class STEPConstruct_UnitContext; class STEPConstruct_Part; class STEPConstruct_Assembly; class STEPConstruct_Styles; class STEPConstruct_ValidationProps; class STEPConstruct_ExternRefs; class STEPConstruct_AP203Context; class STEPConstruct_ContextTool; class STEPConstruct_DataMapOfAsciiStringTransient; class STEPConstruct_PointHasher; class STEPConstruct_DataMapOfPointTransient; class STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient; class STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient; class STEPConstruct_DataMapNodeOfDataMapOfPointTransient; class STEPConstruct_DataMapIteratorOfDataMapOfPointTransient; //! Defines tools for creation and investigation STEP constructs
//! used for representing various kinds of data, such as product and
//! assembly structure, unit contexts, associated information
//! The creation of these structures is made according to currently
//! active schema (AP203 or AP214 CD2 or DIS)
//! This is taken from parameter write.step.schema
class STEPConstruct { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Returns STEP entity of the (sub)type of RepresentationItem
//! which is a result of the tranalation of the Shape, or Null if
//! no result is recorded
Standard_EXPORT static Handle_StepRepr_RepresentationItem FindEntity(const Handle(Transfer_FinderProcess)& FinderProcess,const TopoDS_Shape& Shape) ; //! The same as above, but in the case if item not found, repeats
//! search on the same shape without location. The Loc corresponds to the
//! location with which result is found (either location of the Shape,
//! or Null)
Standard_EXPORT static Handle_StepRepr_RepresentationItem FindEntity(const Handle(Transfer_FinderProcess)& FinderProcess,const TopoDS_Shape& Shape,TopLoc_Location& Loc) ; //! Returns Shape resulting from given STEP entity (Null if not mapped)
Standard_EXPORT static TopoDS_Shape FindShape(const Handle(Transfer_TransientProcess)& TransientProcess,const Handle(StepRepr_RepresentationItem)& item) ; //! Find CDSR correcponding to the component in the specified assembly
Standard_EXPORT static Standard_Boolean FindCDSR(const Handle(Transfer_Binder)& ComponentBinder,const Handle(StepShape_ShapeDefinitionRepresentation)& AssemblySDR,Handle(StepShape_ContextDependentShapeRepresentation)& ComponentCDSR) ; protected: private: friend class STEPConstruct_Tool; friend class STEPConstruct_UnitContext; friend class STEPConstruct_Part; friend class STEPConstruct_Assembly; friend class STEPConstruct_Styles; friend class STEPConstruct_ValidationProps; friend class STEPConstruct_ExternRefs; friend class STEPConstruct_AP203Context; friend class STEPConstruct_ContextTool; friend class STEPConstruct_DataMapOfAsciiStringTransient; friend class STEPConstruct_PointHasher; friend class STEPConstruct_DataMapOfPointTransient; friend class STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient; friend class STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient; friend class STEPConstruct_DataMapNodeOfDataMapOfPointTransient; friend class STEPConstruct_DataMapIteratorOfDataMapOfPointTransient; }; // other Inline functions and methods (like "C++: function call" methods) #endif