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>

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
 
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::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)
 
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
 
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 35 of file mitkRenderWindow.h.

Member Typedef Documentation

Definition at line 38 of file mitkRenderWindow.h.

Definition at line 38 of file mitkRenderWindow.h.

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

Definition at line 38 of file mitkRenderWindow.h.

Constructor & Destructor Documentation

mitk::RenderWindow::~RenderWindow ( )
virtual

Definition at line 68 of file mitkRenderWindow.cpp.

Member Function Documentation

Pointer mitk::RenderWindow::Clone ( ) const
void mitk::RenderWindow::FullScreenMode ( bool  state)
virtual std::vector<std::string> mitk::RenderWindow::GetClassHierarchy ( ) const
inlinevirtual

Definition at line 38 of file mitkRenderWindow.h.

virtual const char* mitk::RenderWindow::GetClassName ( ) const
virtual
unsigned int mitk::RenderWindow::GetLayoutIndex ( )
static const char* mitk::RenderWindow::GetStaticNameOfClass ( )
inlinestatic

Definition at line 38 of file mitkRenderWindow.h.

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

Implements mitk::RenderWindowBase.

Definition at line 81 of file mitkRenderWindow.cpp.

Referenced by RenderWindow().

void mitk::RenderWindow::LayoutDesignListChanged ( int  layoutDesignIndex)
static Pointer mitk::RenderWindow::New ( )
static
static Pointer mitk::RenderWindow::New ( vtkRenderWindow *  _arg)
inlinestatic

Definition at line 39 of file mitkRenderWindow.h.

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

Definition at line 40 of file mitkRenderWindow.h.

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

Definition at line 41 of file mitkRenderWindow.h.

static Pointer mitk::RenderWindow::New ( vtkRenderWindow *  _arga,
const char *  _argb,
mitk::RenderingManager _argc,
mitk::BaseRenderer::RenderingMode::Type  _argd 
)
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.

void mitk::RenderWindow::ResetView ( )
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.

Member Data Documentation

vtkEventProvider* mitk::RenderWindow::m_vtkMitkEventProvider
protected

Definition at line 94 of file mitkRenderWindow.h.

Referenced by RenderWindow().

vtkRenderWindow* mitk::RenderWindow::m_vtkRenderWindow
protected

Definition at line 91 of file mitkRenderWindow.h.

Referenced by RenderWindow().

vtkRenderWindowInteractor* mitk::RenderWindow::m_vtkRenderWindowInteractor
protected

Definition at line 92 of file mitkRenderWindow.h.

Referenced by RenderWindow().


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