#include "PreCompiled.h"#include "InventorAll.h"#include <sstream>#include "View3DPy.h"#include "ViewProviderDocumentObject.h"#include "ViewProviderExtern.h"#include "Application.h"#include "Document.h"#include "NavigationStyle.h"#include "SoFCSelection.h"#include "SoFCSelectionAction.h"#include "SoFCVectorizeSVGAction.h"#include "SoFCVectorizeU3DAction.h"#include "SoFCDB.h"#include "View3DInventor.h"#include "View3DInventorViewer.h"#include <Base/Console.h>#include <Base/Exception.h>#include <Base/Interpreter.h>#include <Base/PlacementPy.h>#include <Base/VectorPy.h>#include <Base/GeometryPyCXX.h>#include <App/Document.h>#include <App/DocumentObject.h>#include <CXX/Objects.hxx>Go to the source code of this file.
Functions | |
| static PyObject * | wrap_SoQtViewer_getFocalDistance (PyObject *proxy, PyObject *args) |
| static PyObject * | wrap_SoQtViewer_getViewDirection (PyObject *proxy, PyObject *args) |
| static PyObject * | wrap_SoQtViewer_seekToPoint (PyObject *proxy, PyObject *args) |
| static PyObject * | wrap_SoQtViewer_setFocalDistance (PyObject *proxy, PyObject *args) |
| static PyObject * | wrap_SoQtViewer_setViewDirection (PyObject *proxy, PyObject *args) |
Variables | |
| const char * | CameraTypeEnums [] = {"Orthographic","Perspective",NULL} |
| const char * | StereoTypeEnums [] = {"None","Anaglyph","QuadBuffer","InterleavedRows","InterleavedColumns",NULL} |
| struct PyMethodDef | wrap_SoQtViewer_methods [] |
Definition at line 1676 of file View3DPy.cpp.
References draftlibs::fcvec::dist(), Base::Interpreter(), and Base::Exception::what().
Definition at line 1613 of file View3DPy.cpp.
References Base::Interpreter(), Py::new_reference_to(), Py::Tuple::setItem(), and Base::Exception::what().
Definition at line 1698 of file View3DPy.cpp.
References Base::Interpreter(), Py::new_reference_to(), Py::None(), Gui::View3DInventorViewer::pubSeekToPoint(), Py::SeqBase< T >::size(), Base::Exception::what(), MovieTool::x, and MovieTool::y.
Definition at line 1650 of file View3DPy.cpp.
References Base::Interpreter(), PY_CATCH, Py_Return, PY_TRY, and Base::Exception::what().
Definition at line 1577 of file View3DPy.cpp.
References Py::SeqBase< T >::getItem(), Base::Interpreter(), Py::new_reference_to(), Py::None(), Base::Exception::what(), MovieTool::x, and MovieTool::y.
| const char* CameraTypeEnums[] = {"Orthographic","Perspective",NULL} |
Definition at line 671 of file View3DPy.cpp.
| const char* StereoTypeEnums[] = {"None","Anaglyph","QuadBuffer","InterleavedRows","InterleavedColumns",NULL} |
Definition at line 787 of file View3DPy.cpp.
| struct PyMethodDef wrap_SoQtViewer_methods[] |
{
{"setViewDirection",wrap_SoQtViewer_setViewDirection,METH_VARARGS,
"setViewDirection(tuple) -> None"},
{"getViewDirection",wrap_SoQtViewer_getViewDirection,METH_VARARGS,
"getViewDirection() -> tuple"},
{"setFocalDistance",wrap_SoQtViewer_setFocalDistance,METH_VARARGS,
"setFocalDistance(float) -> None"},
{"getFocalDistance",wrap_SoQtViewer_getFocalDistance,METH_VARARGS,
"getFocalDistance() -> float"},
{"seekToPoint",wrap_SoQtViewer_seekToPoint,METH_VARARGS,
"seekToPoint(tuple) -> None\n"
"Initiate a seek action towards the 3D intersection of the scene and the\n"
"ray from the screen coordinate's point and in the same direction as the\n"
"camera is pointing"},
{NULL, NULL}
}
Definition at line 1741 of file View3DPy.cpp.
1.6.1