void vvSlicerManager::SetInteractorStyleNavigator(int i, vtkInteractorStyle* style)
{
vvSlicerManagerCommand *smc = vvSlicerManagerCommand::New();
- std::cerr << smc << ":" << i << " " << this << endl;
smc->SM = this;
smc->SetSlicerNumber(i);
mSlicers[i]->GetRenderWindow()->GetInteractor()->SetInteractorStyle(style);
}
if (KeyPress == "minus")
{
- std::cout << "KeyPress : - " << std::endl;
this->SM->SetColorWindow(-this->SM->GetColorWindow());
this->SM->SetColorMap(-1);
this->SM->UpdateWindowLevel();
if (KeyPress == "F1")
{
- //std::cerr << this << ":" << this->SM->GetId() << "\t" << VisibleInWindow << endl;
this->SM->GetSlicer(VisibleInWindow)->GetAnnotation()->SetText(2,"Sagital\n<slice>");
this->SM->GetSlicer(VisibleInWindow)->SetSliceOrientation(0);
this->SM->UpdateSliceRange(VisibleInWindow);