View3DPy.cpp File Reference

#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 PyObjectwrap_SoQtViewer_getFocalDistance (PyObject *proxy, PyObject *args)
static PyObjectwrap_SoQtViewer_getViewDirection (PyObject *proxy, PyObject *args)
static PyObjectwrap_SoQtViewer_seekToPoint (PyObject *proxy, PyObject *args)
static PyObjectwrap_SoQtViewer_setFocalDistance (PyObject *proxy, PyObject *args)
static PyObjectwrap_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 []

Function Documentation

static PyObject* wrap_SoQtViewer_getFocalDistance ( PyObject proxy,
PyObject args 
) [static]
static PyObject* wrap_SoQtViewer_getViewDirection ( PyObject proxy,
PyObject args 
) [static]
static PyObject* wrap_SoQtViewer_seekToPoint ( PyObject proxy,
PyObject args 
) [static]
static PyObject* wrap_SoQtViewer_setFocalDistance ( PyObject proxy,
PyObject args 
) [static]

Definition at line 1650 of file View3DPy.cpp.

References Base::Interpreter(), PY_CATCH, Py_Return, PY_TRY, and Base::Exception::what().

static PyObject* wrap_SoQtViewer_setViewDirection ( PyObject proxy,
PyObject args 
) [static]

Variable Documentation

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[]
Initial value:
 { 
    {"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.


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