The SplitView3DInventor class allows to create a window with two or more Inventor views. More...
#include <SplitView3DInventor.h>
Public Member Functions | |
virtual const char * | getName (void) const |
returns the name of the view (important for messages) | |
View3DInventorViewer * | getViewer (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 |
The SplitView3DInventor class allows to create a window with two or more Inventor views.
Definition at line 39 of file SplitView3DInventor.h.
SplitView3DInventor::SplitView3DInventor | ( | int | views, | |
Gui::Document * | pcDocument, | |||
QWidget * | parent, | |||
Qt::WFlags | wflags = 0 | |||
) |
Definition at line 44 of file SplitView3DInventor.cpp.
References App::GetApplication(), App::Application::GetParameterGroupByPath(), hGrp, Sketcher::Horizontal, OnChange(), and Sketcher::Vertical.
SplitView3DInventor::~SplitView3DInventor | ( | ) |
Definition at line 101 of file SplitView3DInventor.cpp.
References hGrp.
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] |
Observer message from the ParameterGrp.
Definition at line 115 of file SplitView3DInventor.cpp.
References SketcherExample::f, ParameterGrp::GetASCII(), ParameterGrp::GetBool(), ParameterGrp::GetFloat(), ParameterGrp::GetInt(), ParameterGrp::GetUnsigned(), Py::long, RobotExample::pos, Py::value(), MovieTool::x, and MovieTool::y.
Referenced by SplitView3DInventor().
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.
ParameterGrp::handle Gui::SplitView3DInventor::hGrp [protected] |
handle to the viewer parameter group
Definition at line 59 of file SplitView3DInventor.h.
Referenced by SplitView3DInventor(), and ~SplitView3DInventor().