X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=vv%2FvvImageContour.h;h=4228b7021732c6cab89553a7568ebf815dfc3713;hb=95c9ed39f813cd2a90d5dfbee394b50425627e8e;hp=be96b05e8665a26d383d0ed16632274663636427;hpb=0a85e47a06c7d046d06a4645b724c4e81b19998d;p=clitk.git diff --git a/vv/vvImageContour.h b/vv/vvImageContour.h index be96b05..4228b70 100644 --- a/vv/vvImageContour.h +++ b/vv/vvImageContour.h @@ -3,8 +3,8 @@ Program: vv Module: $RCSfile: vvImageContour.h,v $ Language: C++ - Date: $Date: 2010/02/24 11:42:42 $ - Version: $Revision: 1.3 $ + Date: $Date: 2010/03/05 10:32:33 $ + Version: $Revision: 1.5 $ Author : David Sarrut (david.sarrut@creatis.insa-lyon.fr) Copyright (C) 2010 @@ -28,34 +28,31 @@ #ifndef VVIMAGECONTOUR_H #define VVIMAGECONTOUR_H -#include -#include -#include -#include -#include -#include -#include - #include "clitkCommon.h" #include "vvSlicer.h" +class vtkImageClip; +class vtkMarchingSquares; +class vtkActor; //------------------------------------------------------------------------------ class vvImageContour { // Q_OBJECT - public: + public: vvImageContour(); ~vvImageContour(); void setSlicer(vvSlicer * slicer); - // vtkActor * getActor() { return mSquaresActor;} - void update(int value); - void removeActors(); + void update(double value); + void hideActors(); + void showActors(); + void setColor(double r, double g, double b); protected: vvSlicer * mSlicer; int mSlice; int mTSlice; + double mValue; std::vector mClipperList; std::vector mSquaresList;