// File generated by CPPExt (Transient)
//
//
//                     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 _V3d_LayerMgr_HeaderFile
#define _V3d_LayerMgr_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_V3d_LayerMgr_HeaderFile
#include <Handle_V3d_LayerMgr.hxx>
#endif

#ifndef _V3d_ViewPointer_HeaderFile
#include <V3d_ViewPointer.hxx>
#endif
#ifndef _Handle_Visual3d_Layer_HeaderFile
#include <Handle_Visual3d_Layer.hxx>
#endif
#ifndef _Handle_V3d_ColorScale_HeaderFile
#include <Handle_V3d_ColorScale.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_V3d_View_HeaderFile
#include <Handle_V3d_View.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Aspect_ColorScale_HeaderFile
#include <Handle_Aspect_ColorScale.hxx>
#endif
class Visual3d_Layer;
class V3d_ColorScale;
class V3d_View;
class Aspect_ColorScale;


//! Class to manage layers <br>
class V3d_LayerMgr : public MMgt_TShared {

public:
 // Methods PUBLIC
 // 


Standard_EXPORT V3d_LayerMgr(const Handle(V3d_View)& aView);

 const Handle_Visual3d_Layer& Overlay() const;

  Handle_V3d_View View() const;


Standard_EXPORT   void ColorScaleDisplay() ;


Standard_EXPORT   void ColorScaleErase() ;


Standard_EXPORT   Standard_Boolean ColorScaleIsDisplayed() const;


Standard_EXPORT   Handle_Aspect_ColorScale ColorScale() const;

//! Recompute layer with objects <br>
Standard_EXPORT   void Compute() ;


Standard_EXPORT   void Resized() ;
//Standard_EXPORT ~V3d_LayerMgr();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 

//! Begin layers recomputation <br>
Standard_EXPORT virtual  Standard_Boolean Begin() ;

//! Perform layers recomputation <br>
Standard_EXPORT virtual  void Redraw() ;

//! End layers recomputation <br>
Standard_EXPORT virtual  void End() ;


 // Fields PROTECTED
 //
V3d_ViewPointer myView;
Handle_Visual3d_Layer myOverlay;
Handle_V3d_ColorScale myColorScale;


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //


};


#include <V3d_LayerMgr.lxx>



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


#endif
