Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
mitkRenderWindow integrates the MITK rendering mechanism into VTK and is NOT QT dependent More...
#include <mitkRenderWindow.h>
Public Types | |
typedef RenderWindow | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
virtual | ~RenderWindow () |
virtual vtkRenderWindow * | GetVtkRenderWindow () override |
virtual vtkRenderWindowInteractor * | GetVtkRenderWindowInteractor () override |
void | SetLayoutIndex (unsigned int layoutIndex) |
unsigned int | GetLayoutIndex () |
void | LayoutDesignListChanged (int layoutDesignIndex) |
void | FullScreenMode (bool state) |
void | SetSize (int width, int height) |
Convenience method to set the size of an mitkRenderWindow. More... | |
void | ReinitEventProvider () |
Initializes the mitkVtkEventProvider to listen to the currently used vtkInteractorStyle. More... | |
Public Member Functions inherited from mitk::RenderWindowBase | |
virtual | ~RenderWindowBase () |
void | InitRenderer () |
virtual mitk::SliceNavigationController * | GetSliceNavigationController () |
virtual mitk::CameraRotationController * | GetCameraRotationController () |
virtual mitk::BaseController * | GetController () |
virtual mitk::VtkPropRenderer * | GetRenderer () |
virtual bool | HandleEvent (InteractionEvent *interactionEvent) |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
static Pointer | New (vtkRenderWindow *_arg) |
static Pointer | New (vtkRenderWindow *_arga, const char *_argb) |
static Pointer | New (vtkRenderWindow *_arga, const char *_argb, mitk::RenderingManager *_argc) |
static Pointer | New (vtkRenderWindow *_arga, const char *_argb, mitk::RenderingManager *_argc, mitk::BaseRenderer::RenderingMode::Type _argd) |
Protected Member Functions | |
RenderWindow (vtkRenderWindow *existingRenderWindow=NULL, const char *name="unnamed renderer", mitk::RenderingManager *rm=NULL, mitk::BaseRenderer::RenderingMode::Type rmtype=mitk::BaseRenderer::RenderingMode::Standard) | |
void | ResetView () |
Protected Member Functions inherited from mitk::RenderWindowBase | |
RenderWindowBase () | |
void | Initialize (mitk::RenderingManager *renderingManager=NULL, const char *name="unnamed renderer", mitk::BaseRenderer::RenderingMode::Type renderingMode=mitk::BaseRenderer::RenderingMode::Standard) |
void | Destroy () |
Protected Attributes | |
vtkRenderWindow * | m_vtkRenderWindow |
vtkRenderWindowInteractor * | m_vtkRenderWindowInteractor |
vtkEventProvider * | m_vtkMitkEventProvider |
Protected Attributes inherited from mitk::RenderWindowBase | |
mitk::VtkPropRenderer::Pointer | m_Renderer |
vtkMitkRenderProp * | m_RenderProp |
bool | m_InResize |
mitkRenderWindow integrates the MITK rendering mechanism into VTK and is NOT QT dependent
Definition at line 35 of file mitkRenderWindow.h.
typedef itk::SmartPointer<const Self> mitk::RenderWindow::ConstPointer |
Definition at line 38 of file mitkRenderWindow.h.
Definition at line 38 of file mitkRenderWindow.h.
typedef RenderWindow mitk::RenderWindow::Self |
Definition at line 38 of file mitkRenderWindow.h.
typedef itk::Object mitk::RenderWindow::Superclass |
Definition at line 38 of file mitkRenderWindow.h.
|
virtual |
Definition at line 68 of file mitkRenderWindow.cpp.
|
protected |
Definition at line 25 of file mitkRenderWindow.cpp.
References mitk::BaseRenderer::RenderingMode::DepthPeeling, GetVtkRenderWindowInteractor(), mitk::RenderWindowBase::Initialize(), m_vtkMitkEventProvider, m_vtkRenderWindow, m_vtkRenderWindowInteractor, mitk::BaseRenderer::RenderingMode::MultiSampling, mitk::vtkEventProvider::New(), mitk::New(), mitk::vtkEventProvider::SetEnabled(), mitk::vtkEventProvider::SetInteractor(), mitk::vtkEventProvider::SetMitkRenderWindow(), and mitk::BaseRenderer::RenderingMode::Standard.
Pointer mitk::RenderWindow::Clone | ( | ) | const |
void mitk::RenderWindow::FullScreenMode | ( | bool | state | ) |
|
inlinevirtual |
Definition at line 38 of file mitkRenderWindow.h.
|
virtual |
unsigned int mitk::RenderWindow::GetLayoutIndex | ( | ) |
|
inlinestatic |
Definition at line 38 of file mitkRenderWindow.h.
|
overridevirtual |
Implements mitk::RenderWindowBase.
Definition at line 76 of file mitkRenderWindow.cpp.
Referenced by mitk::InteractionTestHelper::Set3dCameraSettings().
|
overridevirtual |
Implements mitk::RenderWindowBase.
Definition at line 81 of file mitkRenderWindow.cpp.
Referenced by RenderWindow().
void mitk::RenderWindow::LayoutDesignListChanged | ( | int | layoutDesignIndex | ) |
|
static |
Referenced by mitk::InteractionTestHelper::Initialize(), mitk::RenderingTestHelper::Initialize(), and main().
|
inlinestatic |
Definition at line 39 of file mitkRenderWindow.h.
|
inlinestatic |
Definition at line 40 of file mitkRenderWindow.h.
|
inlinestatic |
Definition at line 41 of file mitkRenderWindow.h.
|
inlinestatic |
Definition at line 43 of file mitkRenderWindow.h.
void mitk::RenderWindow::ReinitEventProvider | ( | ) |
Initializes the mitkVtkEventProvider to listen to the currently used vtkInteractorStyle.
This method makes sure that the internal mitkVtkEventProvider listens to the correct vtkInteractorStyle. This makes sure that VTK-Events are correctly translated into MITK-Events.
This method needs to be called MANUALLY as soon as the MapperID for this RenderWindow is changed or the vtkInteractorStyle is modified somehow else!
Definition at line 91 of file mitkRenderWindow.cpp.
|
protected |
void mitk::RenderWindow::SetLayoutIndex | ( | unsigned int | layoutIndex | ) |
void mitk::RenderWindow::SetSize | ( | int | width, |
int | height | ||
) |
Convenience method to set the size of an mitkRenderWindow.
This method sets the size of the vtkRenderWindow and tells the rendering that the size has changed -> adapts displayGeometry, etc.
Definition at line 86 of file mitkRenderWindow.cpp.
|
protected |
Definition at line 94 of file mitkRenderWindow.h.
Referenced by RenderWindow().
|
protected |
Definition at line 91 of file mitkRenderWindow.h.
Referenced by RenderWindow().
|
protected |
Definition at line 92 of file mitkRenderWindow.h.
Referenced by RenderWindow().