#include "PreCompiled.h"#include <gp_Vec.hxx>#include <QFileInfo>#include <Inventor/SoInput.h>#include <Inventor/nodes/SoNode.h>#include <Inventor/nodes/SoOrthographicCamera.h>#include <vector>#include <Inventor/nodes/SoPerspectiveCamera.h>#include <Base/PyObjectBase.h>#include <Base/Interpreter.h>#include <Gui/Application.h>#include <Gui/EditorView.h>#include <Gui/TextEdit.h>#include <Gui/MainWindow.h>#include <Gui/View.h>#include <Mod/Raytracing/App/PovTools.h>#include "PovrayHighlighter.h"Go to the source code of this file.
Functions | |
| static PyObject * | open (PyObject *self, PyObject *args) |
| open pov file | |
| static PyObject * | povViewCamera (PyObject *self, PyObject *args) |
| return the camera definition of the active view | |
Variables | |
| struct PyMethodDef | RaytracingGui_methods [] |
open pov file
Definition at line 53 of file AppRaytracingGuiPy.cpp.
References Mesh2Shape::ext, Gui::getMainWindow(), Gui::EditorView::open(), PY_CATCH, Py_Return, PY_TRY, and Gui::TextEditor::setSyntaxHighlighter().
return the camera definition of the active view
Definition at line 88 of file AppRaytracingGuiPy.cpp.
References Gui::Application::Instance, Py::new_reference_to(), RobotExample::pos, PY_CATCH, PY_TRY, and importDAE::read().
| struct PyMethodDef RaytracingGui_methods[] |
{
{"open" ,open ,METH_VARARGS,
"open(string) -- Create a new text document and load the file into the document."},
{"insert" ,open ,METH_VARARGS,
"insert(string,string) -- Create a new text document and load the file into the document."},
{"povViewCamera" ,povViewCamera ,METH_VARARGS,
"string povViewCamera() -- returns the povray camera devinition of the active 3D view."},
{NULL, NULL}
}
Definition at line 141 of file AppRaytracingGuiPy.cpp.
Referenced by initRaytracingGui().
1.6.1