1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://www.centreleonberard.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
23 #include <QtDesigner/QDesignerExportWidget>
26 #include <QMessageBox>
27 #include "QTreePushButton.h"
30 #include "vvImageReader.h"
31 #include "vvProgressDialog.h"
32 #include "vvSlicerManager.h"
33 #include "ui_vvWipeImage.h"
35 #include <vtkTransform.h>
36 #include <vtkImageRectilinearWipe.h>
38 #include <itkLightObject.h>
40 //------------------------------------------------------------------------------
43 public itk::LightObject,
44 private Ui::vvWipeImage
49 typedef vvWipeImage Self;
50 typedef itk::SmartPointer<Self> Pointer;
51 typedef itk::ProcessObject::Pointer ConverterPointer;
57 void Initialize(QString inputPathName, std::vector<vvSlicerManager*> slicerManagers);
58 void selectWipeImage(int index, QTreeWidget* DataTree);
59 void setInputImage(int number, vvImage::Pointer image);
60 void AddWipeImage(int index, std::vector<std::string> fileNames, vvImageReader::LoadedImageType type, QTreeWidget* DataTree);
63 void crossPointerChanged();
66 vtkSmartPointer<vtkImageRectilinearWipe> mWipe;
68 vtkSmartPointer<vtkMatrix4x4> mConcatenedTransform;
69 vvImage::Pointer mImage;
70 QString mInputPathName;
71 std::vector<vvSlicerManager*> mSlicerManagers;
73 }; // end class vvWipeImage
74 //------------------------------------------------------------------------------