X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FColorLayerImageViewManager.h;h=6a4f95f57b6d1899d0d27790da79c6891144d8fc;hb=ca35b13e046343c8b50cbd6b833828b06c9d1608;hp=0d6a6a899c9216f95f4a6503964a26ea21484c5d;hpb=e44e380ce1a1ba82e9fc6ecda35451e360c5f436;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.h index 0d6a6a8..6a4f95f 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.h @@ -44,27 +44,40 @@ 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 & base_color); - double GetBaseColors(unsigned int index); - void SetGreyLevelBoundaries(std::vector & 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 & base_color); + double GetBaseColors(unsigned int index); + void SetGreyLevelBoundaries(std::vector & grey_level_boundary); + void SetBaseTransparence(std::vector & base_transparence); + void SetRangeForColorBar(std::vector & range); + void SetColorBarPosition(std::vector & 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); + + vtkLookupTable* GetLookupTable(int id); private: std::vector< ColorLayerImageView* > _colorLayerImageViewLst;