+
+ ///Validates the selected images
+ virtual void ValidateSelectedImages()
+ { GimmickError("INTERNAL ERROR : TreeView::ValidateSelected not overloaded");}
+ ///Returns the selected data as vtkImageData
+ vtkImageData* GetSelectedImage(int dim)
+ { GimmickError("INTERNAL ERROR : TreeView::GetSelectedImage not overloaded");}
+ ///Returns the selected data as a vector of vtkImageData (4D)
+ virtual void GetSelectedImages(std::vector<vtkImageData*>& s, int dim)
+ { GimmickError("INTERNAL ERROR : TreeView::GetSelectedImages not overloaded");}
+
+ ///Sets the maximum dimension allowed for selections
+ void SetMaxDimension(int maxdim){ mSelectionMaxDimension=maxdim; }
+ ///Sets the minimum dimension allowed for selections
+ void SetMinDimension(int mindim){ mSelectionMinDimension=mindim; }
+ ///Sets the output dimension desired for selections
+ void SetOutputDimension(int outdim){ mOutputDimension=outdim; }