Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ViewLinkingViewWidget Class Reference

#include <cxViewLinkingViewWidget.h>

Inheritance diagram for cx::ViewLinkingViewWidget:
cx::ViewRepCollection cx::View

Public Member Functions

 ViewLinkingViewWidget (ViewWidget *base, vtkRenderWindowPtr renderWindow)
 
virtual ~ViewLinkingViewWidget ()
 
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< RepPtrgetReps ()
 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 (ViewWidget *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< RepPtrmReps
 Storage for internal reps. More...
 
View::Type mType
 
boost::weak_ptr< class ViewmSelf
 

Detailed Description

Date
2014-09-26
Author
Christian Askeland

Definition at line 50 of file cxViewLinkingViewWidget.h.

Constructor & Destructor Documentation

cx::ViewLinkingViewWidget::ViewLinkingViewWidget ( ViewWidget base,
vtkRenderWindowPtr  renderWindow 
)
inline

Definition at line 60 of file cxViewLinkingViewWidget.h.

virtual cx::ViewLinkingViewWidget::~ViewLinkingViewWidget ( )
inlinevirtual

Definition at line 76 of file cxViewLinkingViewWidget.h.

Member Function Documentation

static ViewRepCollectionPtr cx::ViewLinkingViewWidget::create ( ViewWidget base,
vtkRenderWindowPtr  renderWindow 
)
inlinestatic

Definition at line 53 of file cxViewLinkingViewWidget.h.

virtual Transform3D cx::ViewLinkingViewWidget::get_vpMs ( ) const
inlinevirtual

Implements cx::View.

Definition at line 94 of file cxViewLinkingViewWidget.h.

virtual DoubleBoundingBox3D cx::ViewLinkingViewWidget::getViewport ( ) const
inlinevirtual

Implements cx::View.

Definition at line 100 of file cxViewLinkingViewWidget.h.

virtual DoubleBoundingBox3D cx::ViewLinkingViewWidget::getViewport_s ( ) const
inlinevirtual

Implements cx::View.

Definition at line 106 of file cxViewLinkingViewWidget.h.

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

Implements cx::View.

Definition at line 88 of file cxViewLinkingViewWidget.h.

virtual void cx::ViewLinkingViewWidget::setZoomFactor ( double  factor)
inlinevirtual

Implements cx::View.

Definition at line 83 of file cxViewLinkingViewWidget.h.

virtual QSize cx::ViewLinkingViewWidget::size ( ) const
inlinevirtual

Implements cx::View.

Definition at line 77 of file cxViewLinkingViewWidget.h.


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