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=f9901e756bb82bd333310b47607875331616bb29;hp=b00693026f57b2d393679faae249e8924a81535e;hpb=d40f88aeb2e3bf3619875d913eb876a6c82e6009;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 b006930..6a4f95f 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.h @@ -44,29 +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); - void SetBaseTransparence(std::vector & base_transparence); - void SetRangeForColorBar(std::vector & 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 & 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;