NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ViewWidget Class Reference

#include <cxViewWidget.h>

Inheritance diagram for cx::ViewWidget:

Signals

void resized (QSize size)
 
void mouseMove (int x, int y, Qt::MouseButtons buttons)
 
void mousePress (int x, int y, Qt::MouseButtons buttons)
 
void mouseRelease (int x, int y, Qt::MouseButtons buttons)
 
void mouseWheel (int x, int y, int delta, int orientation, Qt::MouseButtons buttons)
 
void shown ()
 
void focusChange (bool gotFocus, Qt::FocusReason reason)
 
void customContextMenuRequestedInGlobalPos (const QPoint &)
 

Public Member Functions

ViewRepCollectionPtr getView ()
 
 ViewWidget (const QString &uid="", const QString &name="", QWidget *parent=NULL, Qt::WindowFlags f=0)
 constructor More...
 
virtual ~ViewWidget ()
 
virtual vtkRenderWindowPtr getRenderWindow ()
 Get the vtkRenderWindow used by this View. More...
 
virtual QSize size () const
 
virtual void setZoomFactor (double factor)
 
virtual vtkRendererPtr getRenderer ()
 Get the renderer used by this View. More...
 
virtual double getZoomFactor () const
 
virtual Transform3D get_vpMs () const
 
virtual double mmPerPix () const
 
virtual DoubleBoundingBox3D getViewport () const
 
virtual DoubleBoundingBox3D getViewport_s () const
 
virtual void setModified ()
 
void render ()
 

Detailed Description

Simple 1:1 conflation of SSC Views and Qt Widgets

Definition at line 49 of file cxViewWidget.h.

Constructor & Destructor Documentation

cx::ViewWidget::ViewWidget ( const QString &  uid = "",
const QString &  name = "",
QWidget *  parent = NULL,
Qt::WindowFlags  f = 0 
)

constructor

Definition at line 48 of file cxViewWidget.cpp.

cx::ViewWidget::~ViewWidget ( )
virtual

Definition at line 74 of file cxViewWidget.cpp.

Member Function Documentation

void cx::ViewWidget::customContextMenuRequestedInGlobalPos ( const QPoint &  )
signal
void cx::ViewWidget::focusChange ( bool  gotFocus,
Qt::FocusReason  reason 
)
signal
Transform3D cx::ViewWidget::get_vpMs ( ) const
virtual

Definition at line 178 of file cxViewWidget.cpp.

vtkRendererPtr cx::ViewWidget::getRenderer ( )
virtual

Get the renderer used by this View.

Definition at line 79 of file cxViewWidget.cpp.

virtual vtkRenderWindowPtr cx::ViewWidget::getRenderWindow ( )
inlinevirtual

Get the vtkRenderWindow used by this View.

Definition at line 60 of file cxViewWidget.h.

ViewRepCollectionPtr cx::ViewWidget::getView ( )

Definition at line 69 of file cxViewWidget.cpp.

DoubleBoundingBox3D cx::ViewWidget::getViewport ( ) const
virtual

return the pixel viewport.

Definition at line 190 of file cxViewWidget.cpp.

DoubleBoundingBox3D cx::ViewWidget::getViewport_s ( ) const
virtual

Definition at line 173 of file cxViewWidget.cpp.

double cx::ViewWidget::getZoomFactor ( ) const
virtual

Definition at line 168 of file cxViewWidget.cpp.

double cx::ViewWidget::mmPerPix ( ) const
virtual

Definition at line 195 of file cxViewWidget.cpp.

void cx::ViewWidget::mouseMove ( int  x,
int  y,
Qt::MouseButtons  buttons 
)
signal
void cx::ViewWidget::mousePress ( int  x,
int  y,
Qt::MouseButtons  buttons 
)
signal
void cx::ViewWidget::mouseRelease ( int  x,
int  y,
Qt::MouseButtons  buttons 
)
signal
void cx::ViewWidget::mouseWheel ( int  x,
int  y,
int  delta,
int  orientation,
Qt::MouseButtons  buttons 
)
signal
void cx::ViewWidget::render ( )

Definition at line 84 of file cxViewWidget.cpp.

void cx::ViewWidget::resized ( QSize  size)
signal
virtual void cx::ViewWidget::setModified ( )
inlinevirtual

Definition at line 70 of file cxViewWidget.h.

void cx::ViewWidget::setZoomFactor ( double  factor)
virtual

Definition at line 158 of file cxViewWidget.cpp.

void cx::ViewWidget::shown ( )
signal
virtual QSize cx::ViewWidget::size ( ) const
inlinevirtual

Definition at line 61 of file cxViewWidget.h.


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