Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit

mitkRenderWindow integrates the MITK rendering mechanism into VTK and is NOT QT dependent More...

#include <mitkRenderWindow.h>

Inheritance diagram for mitk::RenderWindow:
Collaboration diagram for mitk::RenderWindow:

Public Types

typedef RenderWindow Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
 ~RenderWindow () override
 
vtkRenderWindow * GetVtkRenderWindow () override
 
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::SliceNavigationControllerGetSliceNavigationController ()
 
virtual mitk::CameraRotationControllerGetCameraRotationController ()
 
virtual mitk::BaseControllerGetController ()
 
virtual mitk::VtkPropRendererGetRenderer ()
 
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)
 

Protected Member Functions

 RenderWindow (vtkRenderWindow *existingRenderWindow=nullptr, const char *name="unnamed renderer")
 
void ResetView ()
 
- Protected Member Functions inherited from mitk::RenderWindowBase
 RenderWindowBase ()
 
void Initialize (const char *name="unnamed renderer")
 
void Destroy ()
 

Protected Attributes

vtkRenderWindow * m_vtkRenderWindow
 
vtkRenderWindowInteractor * m_vtkRenderWindowInteractor
 
vtkEventProviderm_vtkMitkEventProvider
 
- Protected Attributes inherited from mitk::RenderWindowBase
mitk::VtkPropRenderer::Pointer m_Renderer
 
vtkMitkRenderPropm_RenderProp
 
bool m_InResize
 

Detailed Description

mitkRenderWindow integrates the MITK rendering mechanism into VTK and is NOT QT dependent

Definition at line 31 of file mitkRenderWindow.h.

Member Typedef Documentation

◆ ConstPointer

Definition at line 34 of file mitkRenderWindow.h.

◆ Pointer

◆ Self

Definition at line 34 of file mitkRenderWindow.h.

◆ Superclass

typedef itk::Object mitk::RenderWindow::Superclass

Definition at line 34 of file mitkRenderWindow.h.

Constructor & Destructor Documentation

◆ ~RenderWindow()

mitk::RenderWindow::~RenderWindow ( )
override

◆ RenderWindow()

mitk::RenderWindow::RenderWindow ( vtkRenderWindow *  existingRenderWindow = nullptr,
const char *  name = "unnamed renderer" 
)
protected

Member Function Documentation

◆ Clone()

Pointer mitk::RenderWindow::Clone ( ) const

◆ FullScreenMode()

void mitk::RenderWindow::FullScreenMode ( bool  state)

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::RenderWindow::GetClassHierarchy ( ) const
inlinevirtual

Definition at line 34 of file mitkRenderWindow.h.

◆ GetClassName()

virtual const char* mitk::RenderWindow::GetClassName ( ) const
virtual

◆ GetLayoutIndex()

unsigned int mitk::RenderWindow::GetLayoutIndex ( )

◆ GetStaticNameOfClass()

static const char* mitk::RenderWindow::GetStaticNameOfClass ( )
inlinestatic

Definition at line 34 of file mitkRenderWindow.h.

◆ GetVtkRenderWindow()

vtkRenderWindow* mitk::RenderWindow::GetVtkRenderWindow ( )
overridevirtual

◆ GetVtkRenderWindowInteractor()

vtkRenderWindowInteractor* mitk::RenderWindow::GetVtkRenderWindowInteractor ( )
overridevirtual

◆ LayoutDesignListChanged()

void mitk::RenderWindow::LayoutDesignListChanged ( int  layoutDesignIndex)

◆ New() [1/3]

static Pointer mitk::RenderWindow::New ( )
static

◆ New() [2/3]

static Pointer mitk::RenderWindow::New ( vtkRenderWindow *  _arg)
inlinestatic

Definition at line 37 of file mitkRenderWindow.h.

◆ New() [3/3]

static Pointer mitk::RenderWindow::New ( vtkRenderWindow *  _arga,
const char *  _argb 
)
inlinestatic

Definition at line 38 of file mitkRenderWindow.h.

◆ ReinitEventProvider()

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.

Warning
This method needs to be called MANUALLY as soon as the MapperID for this RenderWindow is changed or the vtkInteractorStyle is modified somehow else!

◆ ResetView()

void mitk::RenderWindow::ResetView ( )
protected

◆ SetLayoutIndex()

void mitk::RenderWindow::SetLayoutIndex ( unsigned int  layoutIndex)

◆ SetSize()

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.

Member Data Documentation

◆ m_vtkMitkEventProvider

vtkEventProvider* mitk::RenderWindow::m_vtkMitkEventProvider
protected

Definition at line 87 of file mitkRenderWindow.h.

◆ m_vtkRenderWindow

vtkRenderWindow* mitk::RenderWindow::m_vtkRenderWindow
protected

Definition at line 84 of file mitkRenderWindow.h.

◆ m_vtkRenderWindowInteractor

vtkRenderWindowInteractor* mitk::RenderWindow::m_vtkRenderWindowInteractor
protected

Definition at line 85 of file mitkRenderWindow.h.


The documentation for this class was generated from the following file: