29 #ifndef __creaImageIOGimmickView_h_INCLUDED__
30 #define __creaImageIOGimmickView_h_INCLUDED__
38 #include <vtkImageData.h>
39 #if defined (USE_WXWIDGETS)
44 #include "Qt/creaImageIOQMultiThreadImageReader.h"
49 #include <boost/signal.hpp>
50 #include <boost/bind.hpp>
52 #define GIMMICK_NO_IMAGE_SELECTION 0
53 #define GIMMICK_2D_IMAGE_SELECTION 2
54 #define GIMMICK_3D_IMAGE_SELECTION 3
55 #define GIMMICK_4D_IMAGE_SELECTION 4
86 GimmickView(boost::shared_ptr<Gimmick>,
int number_of_threads = 0 );
112 {
GimmickError(
"INTERNAL ERROR : GetSelectedImagesInVector not implemented"); }
116 {
GimmickError(
"INTERNAL ERROR : GetSelectedImages not implemented"); }
119 {
GimmickError(
"INTERNAL ERROR : GetSelectedFiles not implemented"); }
121 virtual void GetImages(
int dim, std::vector<std::string> files, std::vector<vtkImageData*>& s)
122 {
GimmickError(
"INTERNAL ERROR : GetImages not implemented"); }
124 virtual void OnSelectionChange(
const std::vector<tree::Node*>& s,
bool isSelection,
int selection,
bool mProcess)
125 {
GimmickError(
"INTERNAL ERROR : OnSelectionChange not implemented"); }
128 {
GimmickError(
"INTERNAL ERROR : ClearSelection not implemented"); }
132 {
GimmickError(
"INTERNAL ERROR : AddIgnoreFile not implemented"); }
135 virtual void CopyFiles(
const std::vector<std::string>& filenames)
136 {
GimmickError(
"INTERNAL ERROR : CopyFiles not implemented"); }
140 {
GimmickError(
"INTERNAL ERROR : EditFields not implemented"); }
143 void Anonymize(std::vector<std::string> i_filenames,
int type);
147 {
GimmickError(
"INTERNAL ERROR : DumpTags not implemented"); }
151 {
GimmickError(
"INTERNAL ERROR : ExportToStorage not implemented"); }
154 virtual void SaveAs(
const std::vector<std::string>& filenames)
155 {
GimmickError(
"INTERNAL ERROR : SaveAs not implemented"); }
191 {
GimmickError(
"INTERNAL ERROR : CreateTreeView not implemented"); }
200 vtkImageData* image);
223 void readImages(std::vector<OutStrGimmick>& o_output, std::vector<std::string> im,
225 bool isSingle(
const std::string i_file);
231 typedef void (*
readXD)(std::vector<OutStrGimmick>&, std::vector<std::string>,
OutputAttr, double);
235 virtual void readImages2(std::vector<OutStrGimmick>& o_output, std::vector<std::string> im,
238 virtual void readImages3(std::vector<OutStrGimmick>& o_output, std::vector<std::string> im,
241 virtual void readImages4(std::vector<OutStrGimmick>& o_output, std::vector<std::string> im,
244 virtual void readImages1(std::vector<OutStrGimmick>& o_output, std::vector<std::string> im,