mNotebook->AddPage( view, crea::std2wx(name) );
}
- //======================================================================
- /// Returns the selected Image so that it complies with the given parameter(<4D)
- vtkImageData* WxGimmickView::GetSelectedImage(int dim)
- {
- return NULL;
- //GetTreeViewMap()["Local database"]->GetSelectedImage(dim);
- }
//======================================================================
/// Returns the selected Images so that they comply with the given parameter(4D)
int level=GetTreeViewMap()["Local database"]->GetNumberOfLevels();
std::vector<tree::Node*> im=GetTreeViewMap()["Local database"]->GetSelected(level+1);
ReadImagesNotThreaded(s,im,dim);
+ mViewer->StopPlayer();
}
//======================================================================
/// Returns the selected Images so that they comply with the given parameter(4D)
{
mViewer->SetImage(index,image);
}
- /*
- tree::Node* node=GetNextNodeQueued();
-
-
- bool found=false;
- std::vector<tree::Node*>::iterator i;
- for(i=sel.begin();i!=sel.end()&&!found;++i)
- {
- if((*i)==node)
- {
- mViewer->AddImage(image);
- found=true;
- }
- }
- */
}
UnqueueNext();
}
- /*
- if(!(mViewer->ImagesEmpty()))
- {
- GimmickDebugMessage(5,
- "Showing images"
- <<std::endl);
- // mViewer->ShowImages();
- // mViewer->Show();
- }
- */
+
ClearQueue();