X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.h;h=7a1ee02a5857b559cbef3fb30f831b17a8ac241b;hb=dd96575fcb3e3af28160766907f68e34dfbf1ba2;hp=4b7d1697d14c65d6cbd849ee4d5e4fb6d257e61a;hpb=3d059f81bab4d113bdd5e87bc15a266381ee7182;p=clitk.git diff --git a/vv/vvSlicer.h b/vv/vvSlicer.h index 4b7d169..7a1ee02 100644 --- a/vv/vvSlicer.h +++ b/vv/vvSlicer.h @@ -27,6 +27,7 @@ #include #include +#include class vtkActor; class vtkActor2D; @@ -168,6 +169,11 @@ public: int GetOrientation(); int * GetExtent(); + double* GetVFColor() { + return mVFColor; + } + void SetVFColor(double r, double g, double b); + protected: vvSlicer(); ~vvSlicer(); @@ -193,6 +199,7 @@ protected: vtkSmartPointer mVOIFilter; vtkSmartPointer mGlyphFilter; vtkSmartPointer mVFMapper; + vtkSmartPointer mVFColorLUT; vtkSmartPointer mVFActor; vtkSmartPointer mLandGlyph; vtkSmartPointer mCross; @@ -210,6 +217,7 @@ protected: int mScale; int mVFLog; int mVFWidth; + double mVFColor[3]; bool mUseReducedExtent; int * mReducedExtent; int * mInitialExtent;