X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageContour.h;h=3bf4a6e3c07203ca4177d615e615f2aaf24c6803;hb=c7c62b61f99ae5c36563613b9a7b4b3b2ec3648b;hp=36c0af8b6b5dcefd1f4c993ed563a2d98e5d0fe7;hpb=a60043d19405389a5f452f42a8d7c42f23624734;p=clitk.git diff --git a/vv/vvImageContour.h b/vv/vvImageContour.h index 36c0af8..3bf4a6e 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/07 09:24:46 $ - Version: $Revision: 1.1 $ + Date: $Date: 2010/03/01 07:37:25 $ + Version: $Revision: 1.4 $ Author : David Sarrut (david.sarrut@creatis.insa-lyon.fr) Copyright (C) 2010 @@ -28,36 +28,34 @@ #ifndef VVIMAGECONTOUR_H #define VVIMAGECONTOUR_H -#include "vtkMarchingSquares.h" -#include "vtkImageClip.h" -#include "vtkMarchingCubes.h" -#include "vtkPolyData.h" -#include "vtkPolyDataMapper.h" -#include "vtkActor.h" -#include "vtkProperty.h" -#include "vtkRenderer.h" - +#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(); + void update(int value); + void hideActors(); + void showActors(); protected: vvSlicer * mSlicer; + int mSlice; + int mTSlice; + int mValue; - vtkImageClip* mClipper; - vtkMarchingSquares* mSquares; - vtkPolyDataMapper* mSquaresMapper; - vtkActor* mSquaresActor; + std::vector mClipperList; + std::vector mSquaresList; + std::vector mSquaresActorList; }; // end class vvImageContour //------------------------------------------------------------------------------