// 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 _StepToTopoDS_MakeTransformed_HeaderFile #define _StepToTopoDS_MakeTransformed_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _gp_Trsf_HeaderFile #include #endif #ifndef _StepToTopoDS_Root_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_StepGeom_Axis2Placement3d_HeaderFile #include #endif #ifndef _Handle_StepGeom_CartesianTransformationOperator3d_HeaderFile #include #endif #ifndef _Handle_StepRepr_MappedItem_HeaderFile #include #endif #ifndef _Handle_Transfer_TransientProcess_HeaderFile #include #endif class StepGeom_Axis2Placement3d; class StepGeom_CartesianTransformationOperator3d; class gp_Trsf; class TopoDS_Shape; class StepRepr_MappedItem; class Transfer_TransientProcess; //! Produces instances by Transformation of a basic item
class StepToTopoDS_MakeTransformed : public StepToTopoDS_Root { 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); } Standard_EXPORT StepToTopoDS_MakeTransformed(); //! Computes a transformation to pass from an Origin placement to
//! a Target placement. Returns True when done
//! If not done, the transformation will by Identity
Standard_EXPORT Standard_Boolean Compute(const Handle(StepGeom_Axis2Placement3d)& Origin,const Handle(StepGeom_Axis2Placement3d)& Target) ; //! Computes a transformation defined by an operator 3D
Standard_EXPORT Standard_Boolean Compute(const Handle(StepGeom_CartesianTransformationOperator3d)& Operator) ; //! Returns the computed transformation (Identity if not yet or
//! if failed)
Standard_EXPORT const gp_Trsf& Transformation() const; //! Applies the computed transformation to a shape
//! Returns False if the transformation is Identity
Standard_EXPORT Standard_Boolean Transform(TopoDS_Shape& shape) const; //! Translates a MappedItem. More precisely
//! A MappedItem has a MappingSource and a MappingTarget
//! MappingSource has a MappedRepresentation and a MappingOrigin
//! MappedRepresentation is the basic item to be instanced
//! MappingOrigin is the starting placement
//! MappingTarget is the final placement
//!
//! Hence, the transformation from MappingOrigin and MappingTarget
//! is computed, the MappedRepr. is converted to a Shape, then
//! transformed as an instance of this Shape
Standard_EXPORT TopoDS_Shape TranslateMappedItem(const Handle(StepRepr_MappedItem)& mapit,const Handle(Transfer_TransientProcess)& TP) ; protected: private: gp_Trsf theTrsf; }; // other Inline functions and methods (like "C++: function call" methods) #endif