wxWindow *parent,
const wxWindowID id,
const wxPoint& pos, const wxSize& size,
- int image_type,
+ int min_dim,
+ int max_dim,
int number_of_threads)
: wxPanel(parent,id,pos,size),
GimmickView(gimmick),
}
//======================================================================
+ /// Returns the selected Images so that they comply with the given parameter(<4D)
+ vtkImageData* WxGimmickView::GetSelectedImage(int dim)
+ {
+ return NULL;
+ }
-
+ //======================================================================
+ /// Returns the selected Images so that they comply with the given parameter(4D)
+ void WxGimmickView::GetSelectedImages(std::vector<vtkImageData*>& s, int dim)
+ {
+
+ //GetTreeViewMap()["Local database"]->GetImageData()
+ //return NULL ;
+
+ }
//=================================================
void WxGimmickView::CreateIconList()
DisplayAddSummary();
}
}
+ //=================================================
+
+ //=================================================
+ void WxGimmickView::OnRemove(wxCommandEvent& event)
+ {
+ //TODO Select current tree handler
+ wxBusyCursor busy;
+ GetTreeViewMap()["Local database"]->RemoveSelected(1);
+ }
//=================================================
//=================================================
BEGIN_EVENT_TABLE(WxGimmickView, wxPanel)
EVT_TOOL(TOOL_ADDFILES_ID, WxGimmickView::OnAddFiles)
EVT_TOOL(TOOL_ADDDIR_ID, WxGimmickView::OnAddDir)
+ EVT_TOOL(TOOL_REMOVE_ID, WxGimmickView::OnRemove)
END_EVENT_TABLE()
//=================================================