Salome HOME
refs #1327: debug of scaling operations
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ShapeImage.h
index ed7347f8824e8d1c64509ca2a775c304d09d5453..aba5b82b4b2d45516f9fb8dcb547fb18abebc514 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
 
 #include <QPolygonF>
 
-class Handle_HYDROData_Image;
+class HYDROData_Image;
 
 class HYDROGUI_ShapeImage : public HYDROGUI_Shape
 {
 public:
   HYDROGUI_ShapeImage( const Handle(AIS_InteractiveContext)& theContext,
-                       const Handle_HYDROData_Image&         theImage,
+                       const Handle(HYDROData_Image)&        theImage,
                        const int                             theZLayer = -1 );
   virtual ~HYDROGUI_ShapeImage();
 
   virtual void                         update( bool isUpdateViewer, bool isDeactivateSelection );
 
 protected:
-  virtual Handle_AIS_InteractiveObject createShape() const;
-  Handle(Image_PixMap)                 imagePixMap( const Handle_HYDROData_Image& ) const;
-  QPolygonF                            imageContour( const Handle_HYDROData_Image& ) const;
+  virtual Handle(AIS_InteractiveObject) createShape() const;
+  Handle(Image_PixMap)                  imagePixMap( const Handle(HYDROData_Image)& ) const;
+  QPolygonF                             imageContour( const Handle(HYDROData_Image)& ) const;
 };
 
 #endif