X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_VTKPrsBathymetry.h;h=25e357d53737a283a15b57f60184fa8436d718d1;hb=9e5f9721be88b2f58dcf4ae6564b2bee69fdb65e;hp=3a4098c718cb11fa05b455999ee4ef5c2cf75ab2;hpb=a5479f49002017808116f8f6b7813d8bd89cf24a;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.h b/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.h index 3a4098c7..25e357d5 100644 --- a/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.h +++ b/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.h @@ -27,6 +27,11 @@ #include +#include +#include +#include +#include + /* Class : HYDROGUI_VTKPrsBathymetry Description : Presentation for Bathymetry object @@ -38,6 +43,16 @@ public: virtual ~HYDROGUI_VTKPrsBathymetry(); virtual void compute(); + + //! Get the range of colored + void setLookupTable( vtkScalarsToColors* theTable ) { myLookupTable = theTable; } + +protected: + virtual vtkMapper* mapper() { return myMapper.GetPointer(); } + +private: + vtkWeakPointer< vtkScalarsToColors > myLookupTable; + vtkNew< vtkPolyDataMapper > myMapper; }; #endif