CustusX
16.5.0-rc9
An IGT application
|
#include <cxViewLinkingViewContainerItem.h>
Public Member Functions | |
ViewLinkingViewContainerItem (ViewItem *base, vtkRenderWindowPtr renderWindow) | |
virtual | ~ViewLinkingViewContainerItem () |
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 |
Public Member Functions inherited from cx::ViewRepCollection | |
ViewRepCollection (vtkRenderWindowPtr renderWindow, const QString &uid, const QString &name="") | |
constructor More... | |
virtual | ~ViewRepCollection () |
void | print (std::ostream &os) |
virtual void | printSelf (std::ostream &os, Indent indent) |
virtual void | clear () |
Removes everything in the view, inluding reps. More... | |
virtual vtkRenderWindowPtr | getRenderWindow () const |
Get the vtkRenderWindow used by this View. More... | |
virtual View::Type | getType () const |
virtual void | setType (View::Type type) |
virtual QString | getTypeString () const |
virtual QString | getUid () |
Get a views unique id. More... | |
virtual QString | getName () |
Get a views name. More... | |
virtual vtkRendererPtr | getRenderer () const |
Get the renderer used by this View. More... | |
virtual void | addRep (const RepPtr &rep) |
Adds and connects a rep to the view. More... | |
virtual void | removeRep (const RepPtr &rep) |
Removes and disconnects the rep from the view. More... | |
virtual bool | hasRep (const RepPtr &rep) const |
Checks if the view already have the rep. More... | |
virtual std::vector< RepPtr > | getReps () |
Returns all reps in the view. More... | |
virtual void | removeReps () |
Removes all reps in the view. More... | |
virtual void | setBackgroundColor (QColor color) |
virtual void | setModified () |
int | computeTotalMTime () |
Public Member Functions inherited from cx::View | |
virtual | ~View () |
Static Public Member Functions | |
static ViewRepCollectionPtr | create (ViewItem *base, vtkRenderWindowPtr renderWindow) |
Additional Inherited Members | |
Public Types inherited from cx::ViewRepCollection | |
typedef std::vector< RepPtr > ::iterator | RepsIter |
Iterator typedef for the internal rep vector. More... | |
Public Types inherited from cx::View | |
enum | Type { VIEW, VIEW_2D, VIEW_3D, VIEW_REAL_TIME } |
Signals inherited from cx::View | |
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 | customContextMenuRequested (const QPoint &) |
Public Attributes inherited from cx::ViewRepCollection | |
QColor | mBackgroundColor |
QString | mUid |
The view's unique id. More... | |
QString | mName |
The view's name. More... | |
vtkRenderWindowPtr | mRenderWindow |
vtkRendererPtr | mRenderer |
std::vector< RepPtr > | mReps |
Storage for internal reps. More... | |
View::Type | mType |
boost::weak_ptr< class View > | mSelf |
Definition at line 51 of file cxViewLinkingViewContainerItem.h.
cx::ViewLinkingViewContainerItem::ViewLinkingViewContainerItem | ( | ViewItem * | base, |
vtkRenderWindowPtr | renderWindow | ||
) |
Definition at line 45 of file cxViewLinkingViewContainerItem.cpp.
|
virtual |
Definition at line 61 of file cxViewLinkingViewContainerItem.cpp.
|
static |
Definition at line 38 of file cxViewLinkingViewContainerItem.cpp.
|
virtual |
Implements cx::View.
Definition at line 79 of file cxViewLinkingViewContainerItem.cpp.
|
virtual |
Implements cx::View.
Definition at line 85 of file cxViewLinkingViewContainerItem.cpp.
|
virtual |
Implements cx::View.
Definition at line 91 of file cxViewLinkingViewContainerItem.cpp.
|
virtual |
Implements cx::View.
Definition at line 73 of file cxViewLinkingViewContainerItem.cpp.
|
virtual |
Implements cx::View.
Definition at line 68 of file cxViewLinkingViewContainerItem.cpp.
|
virtual |
Implements cx::View.
Definition at line 62 of file cxViewLinkingViewContainerItem.cpp.