]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.h
#3262 creaMaracasVisu Feature New Normal - Export LookupTable fron ColorLayerImageV...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageViewManager.h
index b00693026f57b2d393679faae249e8924a81535e..6589398626a2ebd8071425533952aec846c8f475 100644 (file)
@@ -44,29 +44,41 @@ class  ColorLayerImageViewManager
   public: 
          ColorLayerImageViewManager( );
          ~ColorLayerImageViewManager( );
-         void SetX2(int x2);
-         void SetY2(int y2);
-         void SetZ2(int z2);
-         virtual int GetX();
-         virtual int GetY();
-         virtual int GetZ();
-         void          SetwxVtkBaseView(int id, wxVtkBaseView *baseview);
-         void          SetBaseColors(std::vector<double> & base_color);
-         double        GetBaseColors(unsigned int index);
-         void          SetGreyLevelBoundaries(std::vector<double> & grey_level_boundary);
-         void          SetBaseTransparence(std::vector<double> & base_transparence);
-         void          SetRangeForColorBar(std::vector<double> & range);
-         double        GetGreyLevelBoundaries(unsigned int index);
-         void          SetPlainOrGradientColor(bool color_type);
-         int           GetBaseColorNb();
-         void          Refresh();
-         void          onThreshold();
-         void          onThresholdRemove();
-         void          onThresholdChange();
-         void          onThresholdInterpolation( bool interpolation );
-         void          SetSliceFixDynamic( bool fixdin );
-         void          onThresholdChangeOpacity( int opacity );
-         void          SetImage( vtkImageData* img );
+         void                          SetX2(int x2);
+         void                          SetY2(int y2);
+         void                          SetZ2(int z2);
+         virtual int           GetX();
+         virtual int           GetY();
+         virtual int           GetZ();
+         void                          SetwxVtkBaseView(int id, wxVtkBaseView *baseview);
+         wxVtkBaseView*        GetwxVtkBaseView(int id);
+         void                          SetBaseColors(std::vector<double> & base_color);
+         double                        GetBaseColors(unsigned int index);
+         void                          SetGreyLevelBoundaries(std::vector<double> & grey_level_boundary);
+         void                          SetBaseTransparence(std::vector<double> & base_transparence);
+         void                          SetRangeForColorBar(std::vector<double> & range);
+         void                          SetColorBarPosition(std::vector<int> & colorbarposition);
+         double                        GetGreyLevelBoundaries(unsigned int index);
+         void                          SetPlainOrGradientColor(bool color_type);
+         int                           GetBaseColorNb();
+         void                          Refresh();
+         void                          onThreshold();
+         void                          onThresholdRemove();
+         void                          onThresholdChange();
+         void                          onThresholdInterpolation( bool interpolation );
+         void                          SetSliceFixDynamic( bool fixdin );
+         void                          onThresholdChangeOpacity( int opacity );
+         void                          SetImage( vtkImageData* img );
+         vtkImageData*         GetImageChangeInformation(int id);
+
+         void                          GetDimensionBase                        (int id,int     *dim);
+         void                          GetSpcBase                                      (int id,double  *spc);
+         void                          GetDimensionOriginalLayer       (int id,int     *dim);
+         void                          GetSpcOriginalLayer                     (int id,double  *spc);
+         void                          SetNewSpacingLayer                      (double *spc);
+         vtkScalarsToColors* GetLookupTable(int id);
+
+
   private:
 
        std::vector< ColorLayerImageView* >     _colorLayerImageViewLst;