Gui::SplitView3DInventor Class Reference

The SplitView3DInventor class allows to create a window with two or more Inventor views. More...

#include <SplitView3DInventor.h>

Inheritance diagram for Gui::SplitView3DInventor:
Gui::MDIView Base::Observer< const char * > Gui::BaseView Base::BaseClass

List of all members.

Public Member Functions

virtual const char * getName (void) const
 returns the name of the view (important for messages)
View3DInventorViewergetViewer (unsigned int) const
virtual void OnChange (ParameterGrp::SubjectType &rCaller, ParameterGrp::MessageType Reason)
 Observer message from the ParameterGrp.
virtual bool onHasMsg (const char *pMsg) const
 Message handler test.
virtual bool onMsg (const char *pMsg, const char **ppReturn)
 Mesage handler.
virtual void onUpdate (void)
 get called when the document is updated
void setCursor (const QCursor &)
 SplitView3DInventor (int views, Gui::Document *pcDocument, QWidget *parent, Qt::WFlags wflags=0)
 ~SplitView3DInventor ()

Protected Attributes

ParameterGrp::handle hGrp
 handle to the viewer parameter group

Detailed Description

The SplitView3DInventor class allows to create a window with two or more Inventor views.

Author:
Werner Mayer

Definition at line 39 of file SplitView3DInventor.h.


Constructor & Destructor Documentation

SplitView3DInventor::SplitView3DInventor ( int  views,
Gui::Document pcDocument,
QWidget *  parent,
Qt::WFlags  wflags = 0 
)
SplitView3DInventor::~SplitView3DInventor (  ) 

Definition at line 101 of file SplitView3DInventor.cpp.

References hGrp.


Member Function Documentation

const char * SplitView3DInventor::getName ( void   )  const [virtual]

returns the name of the view (important for messages)

Reimplemented from Gui::BaseView.

Definition at line 272 of file SplitView3DInventor.cpp.

View3DInventorViewer * SplitView3DInventor::getViewer ( unsigned int  n  )  const

Definition at line 109 of file SplitView3DInventor.cpp.

void SplitView3DInventor::OnChange ( ParameterGrp::SubjectType rCaller,
ParameterGrp::MessageType  Reason 
) [virtual]
bool SplitView3DInventor::onHasMsg ( const char *  pMsg  )  const [virtual]

Message handler test.

Reimplemented from Gui::MDIView.

Definition at line 347 of file SplitView3DInventor.cpp.

bool SplitView3DInventor::onMsg ( const char *  pMsg,
const char **  ppReturn 
) [virtual]

Mesage handler.

Reimplemented from Gui::MDIView.

Definition at line 277 of file SplitView3DInventor.cpp.

References SketcherExample::f, and KDL::sqrt().

void SplitView3DInventor::onUpdate ( void   )  [virtual]

get called when the document is updated

Reimplemented from Gui::BaseView.

Definition at line 267 of file SplitView3DInventor.cpp.

void SplitView3DInventor::setCursor ( const QCursor &  aCursor  ) 

Definition at line 376 of file SplitView3DInventor.cpp.


Member Data Documentation

handle to the viewer parameter group

Definition at line 59 of file SplitView3DInventor.h.

Referenced by SplitView3DInventor(), and ~SplitView3DInventor().


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

Generated on Wed Nov 23 19:02:03 2011 for FreeCAD by  doxygen 1.6.1