In the new ImageVtkMapper2D the swivil mode (and crosshair rotation etc.) is not working properly. However, there is also a defect in the old version:
Load Pic3D, rotate one crosshair axis and move the crosshair afterwards
> the crosshair won't properly point of the pixel-center
Issue in the new mapper:
The plane is rotated correctly but also translated for some reason.
The following code shows the planes and could be usefull for debugging:
(at the end of ImageVtkMapper2D::GenerateData())
static int counter = 0; if(counter < 3) { mitk::Surface::Pointer surf = mitk::Surface::New(); surf->SetVtkPolyData(localStorage->m_Mapper->GetInput()); surf->Update(); mitk::DataNode::Pointer node = mitk::DataNode::New(); node->SetData(surf); renderer->GetDataStorage()->Add(node); counter++; }