Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VTKViewer_RenderWindow Class Reference

#include <VTKViewer_RenderWindow.h>

Inheritance diagram for VTKViewer_RenderWindow:
Inheritance graph

Signals

void MouseMove (QMouseEvent *)
 
void MouseButtonPressed (QMouseEvent *)
 
void MouseButtonReleased (QMouseEvent *)
 
void MouseDoubleClicked (QMouseEvent *)
 
void WheelMoved (QWheelEvent *)
 
void LeftButtonPressed (const QMouseEvent *event)
 
void LeftButtonReleased (const QMouseEvent *event)
 
void MiddleButtonPressed (const QMouseEvent *event)
 
void MiddleButtonReleased (const QMouseEvent *event)
 
void RightButtonPressed (const QMouseEvent *event)
 
void RightButtonReleased (const QMouseEvent *event)
 
void ButtonPressed (const QMouseEvent *event)
 
void ButtonReleased (const QMouseEvent *event)
 
void KeyPressed (QKeyEvent *)
 
void KeyReleased (QKeyEvent *)
 
void contextMenuRequested (QContextMenuEvent *e)
 

Public Member Functions

 VTKViewer_RenderWindow (QWidget *parent, const char *name)
 
virtual ~VTKViewer_RenderWindow ()
 
vtkRenderWindow * getRenderWindow ()
 
virtual QPaintEngine * paintEngine () const
 

Protected Member Functions

virtual void mouseMoveEvent (QMouseEvent *)
 
virtual void mousePressEvent (QMouseEvent *)
 
virtual void mouseReleaseEvent (QMouseEvent *)
 
virtual void mouseDoubleClickEvent (QMouseEvent *)
 
virtual void wheelEvent (QWheelEvent *)
 
virtual void keyPressEvent (QKeyEvent *)
 
virtual void keyReleaseEvent (QKeyEvent *)
 
virtual void paintEvent (QPaintEvent *)
 
virtual void resizeEvent (QResizeEvent *)
 
virtual void onChangeBackgroundColor ()
 
virtual void contextMenuEvent (QContextMenuEvent *e)
 

Protected Attributes

vtkRenderWindow * myRW
 

Constructor & Destructor Documentation

VTKViewer_RenderWindow::VTKViewer_RenderWindow ( QWidget parent,
const char *  name 
)

Constructor. Create render window with parant parent and name name.

Parameters
parent- parent window
name- render window name.

References myRW.

VTKViewer_RenderWindow::~VTKViewer_RenderWindow ( )
virtual

Destructor.

References myRW.

Member Function Documentation

void VTKViewer_RenderWindow::ButtonPressed ( const QMouseEvent *  event)
signal

On button pressed signal.

void VTKViewer_RenderWindow::ButtonReleased ( const QMouseEvent *  event)
signal

On button released signal.

void VTKViewer_RenderWindow::contextMenuEvent ( QContextMenuEvent *  e)
protectedvirtual

Emit content menu requested.

References contextMenuRequested().

void VTKViewer_RenderWindow::contextMenuRequested ( QContextMenuEvent *  e)
signal

On content menu requested signal.

vtkRenderWindow* VTKViewer_RenderWindow::getRenderWindow ( )
inline

Get render window pointer.

void VTKViewer_RenderWindow::KeyPressed ( QKeyEvent *  )
signal

On key pressed signal.

void VTKViewer_RenderWindow::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Emit key pressed event.

References KeyPressed().

void VTKViewer_RenderWindow::KeyReleased ( QKeyEvent *  )
signal

On key released signal.

void VTKViewer_RenderWindow::keyReleaseEvent ( QKeyEvent *  event)
protectedvirtual

Emit key release event.

References KeyReleased().

void VTKViewer_RenderWindow::LeftButtonPressed ( const QMouseEvent *  event)
signal

On left button pressed signal.

void VTKViewer_RenderWindow::LeftButtonReleased ( const QMouseEvent *  event)
signal

On left button released signal.

void VTKViewer_RenderWindow::MiddleButtonPressed ( const QMouseEvent *  event)
signal

On middle button pressed signal.

void VTKViewer_RenderWindow::MiddleButtonReleased ( const QMouseEvent *  event)
signal

On middle button released signal.

void VTKViewer_RenderWindow::MouseButtonPressed ( QMouseEvent *  )
signal

On mouse button pressed signal.

void VTKViewer_RenderWindow::MouseButtonReleased ( QMouseEvent *  )
signal

On mouse button released signal.

void VTKViewer_RenderWindow::MouseDoubleClicked ( QMouseEvent *  )
signal

On mouse double click signal.

void VTKViewer_RenderWindow::mouseDoubleClickEvent ( QMouseEvent *  event)
protectedvirtual

Emit mouse button double click event.

References MouseDoubleClicked().

void VTKViewer_RenderWindow::MouseMove ( QMouseEvent *  )
signal

On mouse move signal.

void VTKViewer_RenderWindow::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Emit mouse move event.

References MouseMove().

void VTKViewer_RenderWindow::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Emit mouse button press event.

References MouseButtonPressed().

void VTKViewer_RenderWindow::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Emit mouse button release event.

References MouseButtonReleased().

void VTKViewer_RenderWindow::onChangeBackgroundColor ( )
protectedvirtual

Reaction on change background color.

References myRW.

QPaintEngine * VTKViewer_RenderWindow::paintEngine ( ) const
virtual

Get paint engine for the scene

void VTKViewer_RenderWindow::paintEvent ( QPaintEvent *  theEvent)
protectedvirtual

Call Render method for render window field.

References myRW.

void VTKViewer_RenderWindow::resizeEvent ( QResizeEvent *  theEvent)
protectedvirtual

Resize render window.

References myRW.

void VTKViewer_RenderWindow::RightButtonPressed ( const QMouseEvent *  event)
signal

On right button pressed signal.

void VTKViewer_RenderWindow::RightButtonReleased ( const QMouseEvent *  event)
signal

On right button released signal.

void VTKViewer_RenderWindow::wheelEvent ( QWheelEvent *  event)
protectedvirtual

Emit wheel move event.

References WheelMoved().

void VTKViewer_RenderWindow::WheelMoved ( QWheelEvent *  )
signal

On wheel moved signal.

Member Data Documentation

vtkRenderWindow* VTKViewer_RenderWindow::myRW
protected

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