// File generated by CPPExt (Value)
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _StepToTopoDS_MakeTransformed_HeaderFile
#define _StepToTopoDS_MakeTransformed_HeaderFile

#ifndef _gp_Trsf_HeaderFile
#include <gp_Trsf.hxx>
#endif
#ifndef _StepToTopoDS_Root_HeaderFile
#include <StepToTopoDS_Root.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_StepGeom_Axis2Placement3d_HeaderFile
#include <Handle_StepGeom_Axis2Placement3d.hxx>
#endif
#ifndef _Handle_StepGeom_CartesianTransformationOperator3d_HeaderFile
#include <Handle_StepGeom_CartesianTransformationOperator3d.hxx>
#endif
#ifndef _Handle_StepRepr_MappedItem_HeaderFile
#include <Handle_StepRepr_MappedItem.hxx>
#endif
#ifndef _Handle_Transfer_TransientProcess_HeaderFile
#include <Handle_Transfer_TransientProcess.hxx>
#endif
class StepGeom_Axis2Placement3d;
class StepGeom_CartesianTransformationOperator3d;
class gp_Trsf;
class TopoDS_Shape;
class StepRepr_MappedItem;
class Transfer_TransientProcess;


#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

//! Produces instances by Transformation of a basic item <br>
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); 
      }
 // Methods PUBLIC
 // 


Standard_EXPORT StepToTopoDS_MakeTransformed();

//! Computes a transformation to pass from an Origin placement to <br>
//!           a Target placement. Returns True when done <br>
//!           If not done, the transformation will by Identity <br>
Standard_EXPORT   Standard_Boolean Compute(const Handle(StepGeom_Axis2Placement3d)& Origin,const Handle(StepGeom_Axis2Placement3d)& Target) ;

//! Computes a transformation defined by an operator 3D <br>
Standard_EXPORT   Standard_Boolean Compute(const Handle(StepGeom_CartesianTransformationOperator3d)& Operator) ;

//! Returns the computed transformation (Identity if not yet or <br>
//!           if failed) <br>
Standard_EXPORT  const gp_Trsf& Transformation() const;

//! Applies the computed transformation to a shape <br>
//!           Returns False if the transformation is Identity <br>
Standard_EXPORT   Standard_Boolean Transform(TopoDS_Shape& shape) const;

//! Translates a MappedItem. More precisely <br>
//!           A MappedItem has a MappingSource and a MappingTarget <br>
//!           MappingSource has a MappedRepresentation and a MappingOrigin <br>
//!           MappedRepresentation is the basic item to be instanced <br>
//!           MappingOrigin is the starting placement <br>
//!           MappingTarget is the final placement <br>
//! <br>
//!           Hence, the transformation from MappingOrigin and MappingTarget <br>
//!           is computed, the MappedRepr. is converted to a Shape, then <br>
//!           transformed as an instance of this Shape <br>
Standard_EXPORT   TopoDS_Shape TranslateMappedItem(const Handle(StepRepr_MappedItem)& mapit,const Handle(Transfer_TransientProcess)& TP) ;





protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
gp_Trsf theTrsf;


};





// other Inline functions and methods (like "C++: function call" methods)
//


#endif
