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

#include <cxViewContainerItem.h>

Inheritance diagram for cx::ViewItem:

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 ()
 
 ViewItem (QString uid, QString name, QWidget *parent, vtkRenderWindowPtr renderWindow, QRect rect)
 
virtual ~ViewItem ()
 
virtual vtkRenderWindowPtr getRenderWindow ()
 
virtual vtkRendererPtr getRenderer ()
 
virtual QSize size () const
 
virtual void setZoomFactor (double factor)
 
virtual double getZoomFactor () const
 
virtual Transform3D get_vpMs () const
 
virtual DoubleBoundingBox3D getViewport () const
 
virtual DoubleBoundingBox3D getViewport_s () const
 
virtual void setModified ()
 
virtual Qt::Orientations expandingDirections () const
 
virtual QRect geometry () const
 
virtual bool isEmpty () const
 
virtual QSize maximumSize () const
 
virtual QSize minimumSize () const
 
virtual void setGeometry (const QRect &r)
 
virtual QSize sizeHint () const
 
void mouseMoveSlot (int x, int y, Qt::MouseButtons buttons)
 
void mousePressSlot (int x, int y, Qt::MouseButtons buttons)
 
void mouseReleaseSlot (int x, int y, Qt::MouseButtons buttons)
 
void mouseWheelSlot (int x, int y, int delta, int orientation, Qt::MouseButtons buttons)
 
void resizedSlot (QSize size)
 
void customContextMenuRequestedGlobalSlot (const QPoint &point)
 

Detailed Description

Adapted from SSC class provided by Sonowand

Date
2014-09-26
Author
Christian Askeland

Definition at line 59 of file cxViewContainerItem.h.

Constructor & Destructor Documentation

cx::ViewItem::ViewItem ( QString  uid,
QString  name,
QWidget *  parent,
vtkRenderWindowPtr  renderWindow,
QRect  rect 
)

Definition at line 44 of file cxViewContainerItem.cpp.

cx::ViewItem::~ViewItem ( )
virtual

Definition at line 54 of file cxViewContainerItem.cpp.

Member Function Documentation

void cx::ViewItem::customContextMenuRequestedGlobalSlot ( const QPoint &  point)
inline

Definition at line 96 of file cxViewContainerItem.h.

void cx::ViewItem::customContextMenuRequestedInGlobalPos ( const QPoint &  )
signal
virtual Qt::Orientations cx::ViewItem::expandingDirections ( ) const
inlinevirtual

Definition at line 81 of file cxViewContainerItem.h.

void cx::ViewItem::focusChange ( bool  gotFocus,
Qt::FocusReason  reason 
)
signal
virtual QRect cx::ViewItem::geometry ( ) const
inlinevirtual

Definition at line 82 of file cxViewContainerItem.h.

Transform3D cx::ViewItem::get_vpMs ( ) const
virtual

Definition at line 85 of file cxViewContainerItem.cpp.

virtual vtkRendererPtr cx::ViewItem::getRenderer ( )
inlinevirtual

Definition at line 70 of file cxViewContainerItem.h.

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

Definition at line 69 of file cxViewContainerItem.h.

ViewRepCollectionPtr cx::ViewItem::getView ( )
inline

Definition at line 64 of file cxViewContainerItem.h.

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

return the pixel viewport.

Definition at line 97 of file cxViewContainerItem.cpp.

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

Definition at line 80 of file cxViewContainerItem.cpp.

virtual double cx::ViewItem::getZoomFactor ( ) const
inlinevirtual

Definition at line 74 of file cxViewContainerItem.h.

virtual bool cx::ViewItem::isEmpty ( ) const
inlinevirtual

Definition at line 83 of file cxViewContainerItem.h.

virtual QSize cx::ViewItem::maximumSize ( ) const
inlinevirtual

Definition at line 84 of file cxViewContainerItem.h.

virtual QSize cx::ViewItem::minimumSize ( ) const
inlinevirtual

Definition at line 85 of file cxViewContainerItem.h.

void cx::ViewItem::mouseMove ( int  x,
int  y,
Qt::MouseButtons  buttons 
)
signal
void cx::ViewItem::mouseMoveSlot ( int  x,
int  y,
Qt::MouseButtons  buttons 
)
inline

Definition at line 91 of file cxViewContainerItem.h.

void cx::ViewItem::mousePress ( int  x,
int  y,
Qt::MouseButtons  buttons 
)
signal
void cx::ViewItem::mousePressSlot ( int  x,
int  y,
Qt::MouseButtons  buttons 
)
inline

Definition at line 92 of file cxViewContainerItem.h.

void cx::ViewItem::mouseRelease ( int  x,
int  y,
Qt::MouseButtons  buttons 
)
signal
void cx::ViewItem::mouseReleaseSlot ( int  x,
int  y,
Qt::MouseButtons  buttons 
)
inline

Definition at line 93 of file cxViewContainerItem.h.

void cx::ViewItem::mouseWheel ( int  x,
int  y,
int  delta,
int  orientation,
Qt::MouseButtons  buttons 
)
signal
void cx::ViewItem::mouseWheelSlot ( int  x,
int  y,
int  delta,
int  orientation,
Qt::MouseButtons  buttons 
)
inline

Definition at line 94 of file cxViewContainerItem.h.

void cx::ViewItem::resized ( QSize  size)
signal
void cx::ViewItem::resizedSlot ( QSize  size)
inline

Definition at line 95 of file cxViewContainerItem.h.

void cx::ViewItem::setGeometry ( const QRect &  r)
virtual

Definition at line 68 of file cxViewContainerItem.cpp.

virtual void cx::ViewItem::setModified ( )
inlinevirtual

Definition at line 78 of file cxViewContainerItem.h.

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

Definition at line 58 of file cxViewContainerItem.cpp.

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

Definition at line 71 of file cxViewContainerItem.h.

virtual QSize cx::ViewItem::sizeHint ( ) const
inlinevirtual

Definition at line 87 of file cxViewContainerItem.h.


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