#include <View3DPy.h>
Definition at line 36 of file View3DPy.h.
View3DInventorPy::View3DInventorPy | ( | View3DInventor * | vi | ) |
Definition at line 138 of file View3DPy.cpp.
View3DInventorPy::~View3DInventorPy | ( | ) |
Definition at line 143 of file View3DPy.cpp.
Py::Object View3DInventorPy::addEventCallback | ( | const Py::Tuple & | args | ) |
Definition at line 1463 of file View3DPy.cpp.
References Gui::View3DInventorViewer::addEventCallback(), Gui::View3DInventor::getViewer(), and Py::Object::ptr().
Referenced by init_type().
Py::Object View3DInventorPy::addEventCallbackPivy | ( | const Py::Tuple & | args | ) |
Definition at line 1865 of file View3DPy.cpp.
References Gui::View3DInventorViewer::addEventCallback(), Gui::View3DInventor::getViewer(), Base::Interpreter(), Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::dump | ( | const Py::Tuple & | args | ) |
Definition at line 748 of file View3DPy.cpp.
References Gui::View3DInventor::dump(), draftlibs::dxfReader::filename, Sketcher::None, Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::dumpNode | ( | const Py::Tuple & | args | ) |
Definition at line 769 of file View3DPy.cpp.
References Base::Interpreter(), Py::Object::ptr(), Base::Exception::what(), and Gui::SoFCDB::writeNodesToString().
Referenced by init_type().
Py::Object View3DInventorPy::fitAll | ( | const Py::Tuple & | args | ) |
Definition at line 232 of file View3DPy.cpp.
References boost::numeric::bindings::umfpack::detail::factor(), Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::viewAll(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::getattr | ( | const char * | attr | ) | [virtual] |
Reimplemented from Py::PythonExtension< View3DInventorPy >.
Definition at line 177 of file View3DPy.cpp.
References Py::Object::ptr().
Py::Object View3DInventorPy::getCamera | ( | const Py::Tuple & | args | ) |
Definition at line 602 of file View3DPy.cpp.
References buffer, Gui::View3DInventor::getViewer(), Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::getCameraNode | ( | const Py::Tuple & | args | ) |
Definition at line 581 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Base::Interpreter(), Py::Object::ptr(), Py::type(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::getCameraType | ( | const Py::Tuple & | args | ) |
Definition at line 673 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), and Py::Object::ptr().
Referenced by init_type().
Py::Object View3DInventorPy::getCursorPos | ( | const Py::Tuple & | args | ) |
Definition at line 883 of file View3DPy.cpp.
References RobotExample::pos, Py::Object::ptr(), and Py::Tuple::setItem().
Referenced by init_type().
Py::Object View3DInventorPy::getNavigationType | ( | const Py::Tuple & | ) |
Definition at line 1092 of file View3DPy.cpp.
References Base::Type::getName(), Gui::NavigationStyle::getTypeId(), Gui::View3DInventor::getViewer(), and Gui::View3DInventorViewer::navigationStyle().
Referenced by init_type().
Py::Object View3DInventorPy::getObjectInfo | ( | const Py::Tuple & | args | ) |
Definition at line 899 of file View3DPy.cpp.
References Gui::SoFCDocumentObjectAction::componentName, Gui::SoFCDocumentObjectAction::documentName, Gui::ViewProviderDocumentObject::getClassTypeId(), App::DocumentObject::getDocument(), Gui::ViewProvider::getElement(), App::Document::getName(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), Gui::View3DInventor::getViewer(), Gui::View3DInventorViewer::getViewProviderByPath(), Base::BaseClass::isDerivedFrom(), Gui::SoFCDocumentObjectAction::isHandled(), Sketcher::None, Gui::SoFCDocumentObjectAction::objectName, Py::Object::ptr(), Py::MapBase< T >::setItem(), Gui::ViewProvider::useNewSelectionModel(), MovieTool::x, and MovieTool::y.
Referenced by init_type().
Py::Object View3DInventorPy::getObjectsInfo | ( | const Py::Tuple & | args | ) |
Definition at line 968 of file View3DPy.cpp.
References Py::List::append(), Gui::SoFCDocumentObjectAction::componentName, Gui::SoFCDocumentObjectAction::documentName, Gui::ViewProviderDocumentObject::getClassTypeId(), App::DocumentObject::getDocument(), Gui::ViewProvider::getElement(), App::Document::getName(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), Gui::View3DInventor::getViewer(), Gui::View3DInventorViewer::getViewProviderByPath(), Base::BaseClass::isDerivedFrom(), Gui::SoFCDocumentObjectAction::isHandled(), Sketcher::None, Gui::SoFCDocumentObjectAction::objectName, Py::Object::ptr(), Py::MapBase< T >::setItem(), Gui::ViewProvider::useNewSelectionModel(), MovieTool::x, and MovieTool::y.
Referenced by init_type().
Py::Object View3DInventorPy::getPoint | ( | const Py::Tuple & | args | ) |
Definition at line 1060 of file View3DPy.cpp.
References Gui::View3DInventorViewer::getPointOnScreen(), Gui::View3DInventor::getViewer(), Py::int, Py::Object::ptr(), RobotExample::t, Base::Exception::what(), MovieTool::x, and MovieTool::y.
Referenced by init_type().
Py::Object View3DInventorPy::getSceneGraph | ( | const Py::Tuple & | args | ) |
Definition at line 1557 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Base::Interpreter(), Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::getSize | ( | const Py::Tuple & | args | ) |
Definition at line 1044 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Py::Object::ptr(), and Py::Tuple::setItem().
Referenced by init_type().
Py::Object View3DInventorPy::getStereoType | ( | const Py::Tuple & | args | ) |
Definition at line 834 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Py::int, Sketcher::None, Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::getViewDirection | ( | const Py::Tuple & | args | ) |
Definition at line 629 of file View3DPy.cpp.
References Gui::View3DInventorViewer::getViewDirection(), Gui::View3DInventor::getViewer(), Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::getViewer | ( | const Py::Tuple & | args | ) |
Definition at line 1758 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Base::Interpreter(), Py::Object::ptr(), Py::type(), and Base::Exception::what().
Referenced by init_type().
void View3DInventorPy::init_type | ( | void | ) | [static] |
Definition at line 60 of file View3DPy.cpp.
References Py::PythonExtension< View3DInventorPy >::add_varargs_method(), addEventCallback(), addEventCallbackPivy(), Py::PythonExtension< View3DInventorPy >::behaviors(), dump(), dumpNode(), fitAll(), getCamera(), getCameraNode(), getCameraType(), getCursorPos(), getNavigationType(), getObjectInfo(), getObjectsInfo(), getPoint(), getSceneGraph(), getSize(), getStereoType(), getViewDirection(), getViewer(), isAnimationEnabled(), listCameraTypes(), listNavigationTypes(), listStereoTypes(), message(), removeAnnotation(), removeEventCallback(), removeEventCallbackPivy(), saveImage(), saveVectorGraphic(), setAnimationEnabled(), setAnnotation(), setCamera(), setCameraOrientation(), setCameraType(), setNavigationType(), setStereoType(), startAnimating(), stopAnimating(), viewAxometric(), viewBottom(), viewFront(), viewLeft(), viewPosition(), viewRear(), viewRight(), and viewTop().
Referenced by Gui::Application::Application().
Py::Object View3DInventorPy::isAnimationEnabled | ( | const Py::Tuple & | args | ) |
Definition at line 489 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Gui::View3DInventorViewer::isAnimationEnabled(), and Py::Object::ptr().
Referenced by init_type().
Py::Object View3DInventorPy::listCameraTypes | ( | const Py::Tuple & | args | ) |
Definition at line 725 of file View3DPy.cpp.
References Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::listNavigationTypes | ( | const Py::Tuple & | ) |
Definition at line 1081 of file View3DPy.cpp.
References Py::List::append(), Base::Type::getAllDerivedFrom(), and Gui::UserNavigationStyle::getClassTypeId().
Referenced by init_type().
Py::Object View3DInventorPy::listStereoTypes | ( | const Py::Tuple & | args | ) |
Definition at line 859 of file View3DPy.cpp.
References Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::message | ( | const Py::Tuple & | args | ) |
Definition at line 210 of file View3DPy.cpp.
References Sketcher::None, Gui::View3DInventor::onMsg(), Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::removeAnnotation | ( | const Py::Tuple & | args | ) |
Definition at line 1538 of file View3DPy.cpp.
References Gui::Document::getAnnotationViewProvider(), Gui::BaseView::getGuiDocument(), Sketcher::None, Py::Object::ptr(), and Gui::Document::removeAnnotationViewProvider().
Referenced by init_type().
Py::Object View3DInventorPy::removeEventCallback | ( | const Py::Tuple & | args | ) |
Definition at line 1491 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), and Gui::View3DInventorViewer::removeEventCallback().
Referenced by init_type().
Py::Object View3DInventorPy::removeEventCallbackPivy | ( | const Py::Tuple & | args | ) |
Definition at line 1907 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Base::Interpreter(), Py::Object::ptr(), Gui::View3DInventorViewer::removeEventCallback(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::repr | ( | ) | [virtual] |
Reimplemented from Py::PythonExtensionBase.
Definition at line 149 of file View3DPy.cpp.
Py::Object View3DInventorPy::saveImage | ( | const Py::Tuple & | args | ) |
Definition at line 497 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::savePicture(), RobotExample::t, RobotExample::w, and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::saveVectorGraphic | ( | const Py::Tuple & | args | ) |
Definition at line 545 of file View3DPy.cpp.
References draftlibs::dxfReader::filename, Gui::View3DInventor::getViewer(), Base::FileInfo::hasExtension(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::saveGraphic(), and RobotExample::t.
Referenced by init_type().
Py::Object View3DInventorPy::setAnimationEnabled | ( | const Py::Tuple & | args | ) |
Definition at line 480 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), and Gui::View3DInventorViewer::setAnimationEnabled().
Referenced by init_type().
Py::Object View3DInventorPy::setAnnotation | ( | const Py::Tuple & | args | ) |
Definition at line 1519 of file View3DPy.cpp.
References Gui::BaseView::getGuiDocument(), Sketcher::None, Py::Object::ptr(), Gui::Document::setAnnotationViewProvider(), Gui::ViewProviderExtern::setModeByString(), and Base::Exception::what().
Referenced by init_type().
int View3DInventorPy::setattr | ( | const char * | attr, | |
const Py::Object & | value | |||
) | [virtual] |
Reimplemented from Py::PythonExtensionBase.
Definition at line 197 of file View3DPy.cpp.
Py::Object View3DInventorPy::setCamera | ( | const Py::Tuple & | args | ) |
Definition at line 649 of file View3DPy.cpp.
References buffer, Sketcher::None, Py::Object::ptr(), Gui::View3DInventor::setCamera(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::setCameraOrientation | ( | const Py::Tuple & | args | ) |
Definition at line 403 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::setCameraOrientation(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::setCameraType | ( | const Py::Tuple & | args | ) |
Definition at line 693 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), and Gui::View3DInventorViewer::setCameraType().
Referenced by init_type().
Py::Object View3DInventorPy::setNavigationType | ( | const Py::Tuple & | args | ) |
Definition at line 1098 of file View3DPy.cpp.
References Base::Type::fromName(), Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::setNavigationType(), and Py::type().
Referenced by init_type().
Py::Object View3DInventorPy::setStereoType | ( | const Py::Tuple & | args | ) |
Definition at line 789 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::startAnimating | ( | const Py::Tuple & | args | ) |
Definition at line 462 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::startAnimating(), MovieTool::x, and MovieTool::y.
Referenced by init_type().
Py::Object View3DInventorPy::stopAnimating | ( | const Py::Tuple & | args | ) |
Definition at line 472 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), and Gui::View3DInventorViewer::stopAnimating().
Referenced by init_type().
Py::Object View3DInventorPy::viewAxometric | ( | const Py::Tuple & | args | ) |
Definition at line 381 of file View3DPy.cpp.
References SketcherExample::f, Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::setCameraOrientation(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::viewBottom | ( | const Py::Tuple & | args | ) |
Definition at line 253 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::setCameraOrientation(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::viewFront | ( | const Py::Tuple & | args | ) |
Definition at line 274 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::setCameraOrientation(), KDL::sqrt(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::viewLeft | ( | const Py::Tuple & | args | ) |
Definition at line 296 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::setCameraOrientation(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::viewPosition | ( | const Py::Tuple & | args | ) |
Definition at line 430 of file View3DPy.cpp.
References Base::Placement::getPosition(), Base::Placement::getRotation(), Base::Rotation::getValue(), Gui::View3DInventor::getViewer(), Gui::View3DInventorViewer::moveCameraTo(), Sketcher::None, draftTools::p, RobotExample::pos, Py::Object::ptr(), Base::PlacementPy::Type, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by init_type().
Py::Object View3DInventorPy::viewRear | ( | const Py::Tuple & | args | ) |
Definition at line 317 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::setCameraOrientation(), KDL::sqrt(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::viewRight | ( | const Py::Tuple & | args | ) |
Definition at line 339 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::setCameraOrientation(), and Base::Exception::what().
Referenced by init_type().
Py::Object View3DInventorPy::viewTop | ( | const Py::Tuple & | args | ) |
Definition at line 360 of file View3DPy.cpp.
References Gui::View3DInventor::getViewer(), Sketcher::None, Py::Object::ptr(), Gui::View3DInventorViewer::setCameraOrientation(), and Base::Exception::what().
Referenced by init_type().
friend class View3DInventor [friend] |
Definition at line 107 of file View3DPy.h.