]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.h
#2971 creaMaracasVisu Feature New Normal - ColorLayerImage ColorBar position
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageViewManager.h
index 0d6a6a899c9216f95f4a6503964a26ea21484c5d..b086e9e78a9376074ae95b8b120483e4ce25df9a 100644 (file)
@@ -44,27 +44,39 @@ 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);
-         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);
+
   private:
 
        std::vector< ColorLayerImageView* >     _colorLayerImageViewLst;