AppRaytracingGuiPy.cpp File Reference

#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 PyObjectopen (PyObject *self, PyObject *args)
 open pov file
static PyObjectpovViewCamera (PyObject *self, PyObject *args)
 return the camera definition of the active view

Variables

struct PyMethodDef RaytracingGui_methods []

Function Documentation

static PyObject* open ( PyObject self,
PyObject args 
) [static]
static PyObject* povViewCamera ( PyObject self,
PyObject args 
) [static]

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().


Variable Documentation

struct PyMethodDef RaytracingGui_methods[]
Initial value:
 {
    {"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().


Generated on Wed Nov 23 19:01:13 2011 for FreeCAD by  doxygen 1.6.1