+ if(_imagedataLST.size()>0){
+ return _imagedataLST[0];
+ }
+ return NULL;
+}
+
+void marImageData::removeImageData(int index)
+{
+ if(index < _imagedataLST.size()){
+
+ //vtkImageData* img = _imagedataLST[index];
+ for(int i = index; i < _imagedataLST.size()-1; i++){
+ _imagedataLST[i] = _imagedataLST[i+1];
+ }
+ _imagedataLST.pop_back();
+ //delete img;
+ }