typedef int EventType;
/// Ctor
- WxGimmickView(boost::shared_ptr<Gimmick> ,
+ WxGimmickView(boost::shared_ptr<Gimmick>,
wxWindow *parent,
const wxWindowID id,
const wxPoint& pos, const wxSize& size,
/// Returns the selected Images so that they comply with the
/// given parameter(4D) (overloaded from GimmickView)
void GetSelectedImages(std::vector<vtkImageData*>& s, int dim);
+ void GetSelectedImagesInVector(std::vector<vtkImageData*>& s, int dim);
/// Returns the images indicated by the filenames in the vector
/// so that they comply with the given parameter(dim)
private:
+ wxBoxSizer *mbottom_sizer;
+ wxBoxSizer *msizer;
/// Is set to true at the end of constructor
/// (in order to lock callbacks from threaded objects or event
/// before everything is ok)
void CreateIconList();
boost::shared_ptr<Gimmick> mGimmick;
-
+
Listener* mListener;
+
/// Callback for adding files
void OnAddFiles(wxCommandEvent& event);
+
/// Callback for adding dir
void OnAddDir(wxCommandEvent& event);
+
/// Callback for removing files
void OnRemove(wxCommandEvent& event);
+
/// Callback for synchronization
void OnSynchronize(wxCommandEvent& event);
+
/// Callback for settings edition
void OnSettings(wxCommandEvent& event);
+
/// Callback for settings edition
void OnTools(wxCommandEvent& event);
+
/// Callback for Import/Export images
void OnImportExport(wxCommandEvent& event);
///Edits the fields of a given node
void CreateEditFieldsDialog(tree::Node* node, std::vector<std::string> names, std::vector<std::string> keys);
+
+ /// Display all Dicom Tags
+ void DumpTags(const std::string i_filename);
+
+ /// Export from Storage to Storage
+ void ExportToStorage(const std::vector<std::string> i_filenames);
/// Progress dialog
wxProgressDialog* mProgressDialog;
+
///The selection's maximum dimension
int mSelectionMaxDimension;
+
///The selection's minimum dimension
int mSelectionMinDimension;
+
///Image previewer
WxViewer* mViewer;
+
///Currently Displayed Node
tree::Node* mCurImageItemToShow;
+
//Pointer holders for images to be shown
std::vector< boost::shared_ptr<ImagePointerHolder> > pointers;
-
-
+
wxString mCurrentDirectory;
DECLARE_EVENT_TABLE()
};
// EO class WxGimmickView
//=====================================================================
-
-
-
+
} // EO namespace creaImageIO
#endif // USE_WIDGETS
// EOF
-#endif
+#endif