22 #include <itkObject.h>
23 #include <itksys/SystemTools.hxx>
26 #include <vtkObjectFactory.h>
27 #include <vtkRenderWindow.h>
28 #include <vtkRenderer.h>
29 #include <vtkRendererCollection.h>
31 #include <vtkInteractorObserver.h>
42 if (m_RenderWindow !=
nullptr)
43 if (this->IsEnabled())
46 if (m_Renderer !=
nullptr)
57 m_RenderWindow = renderWindow;
66 return m_RenderWindow;
88 if (m_RenderWindow !=
nullptr)
90 vtkRenderWindowInteractor *interactor = m_RenderWindow->GetInteractor();
92 if (m_VtkWidget !=
nullptr)
94 m_VtkWidget->SetInteractor(interactor);
114 if (this->IsEnabled())
158 m_VtkWidget = widget;
void InsertForegroundRenderer(vtkSmartPointer< vtkRenderer > renderer, bool forceAbsoluteForeground)
static VtkLayerController * GetInstance(vtkSmartPointer< vtkRenderWindow > renWin)
void RemoveRenderer(vtkSmartPointer< vtkRenderer > renderer)
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.