H3D API  2.4.1
Classes | Namespaces | Functions
PythonTypes.h File Reference

Python C Types that wrap the X3D C++ type classes. More...

#include <H3DUtil/Exception.h>
#include <H3D/X3DTypes.h>
#include <H3D/X3DFieldConversion.h>
#include <H3D/Node.h>
#include <H3D/H3DApi.h>
#include <H3D/Python3Compatibility.h>
#include <H3D/PyTypeWrapper.h>

Go to the source code of this file.

Classes

class  H3D::PyNode
 Python C Type wrapper around Node*. More...
 
class  H3D::PyVec2f
 Python C Type wrapper around Vec2f. More...
 
class  H3D::PyVec2d
 Python C Type wrapper around Vec2d. More...
 
class  H3D::PyVec3f
 Python C Type wrapper around Vec3f. More...
 
class  H3D::PyVec3d
 Python C Type wrapper around Vec3d. More...
 
class  H3D::PyVec4f
 Python C Type wrapper around Vec4f. More...
 
class  H3D::PyVec4d
 Python C Type wrapper around Vec4d. More...
 
class  H3D::PyRotation
 Python C Type wrapper around Rotation. More...
 
class  H3D::PyQuaternion
 Python C Type wrapper around Quaternion. More...
 
class  H3D::PyMatrix3f
 Python C Type wrapper around Matrix3f. More...
 
class  H3D::PyMatrix4f
 Python C Type wrapper around Matrix4f. More...
 
class  H3D::PyMatrix3d
 Python C Type wrapper around Matrix3d. More...
 
class  H3D::PyMatrix4d
 Python C Type wrapper around Matrix4d. More...
 
class  H3D::PyRGB
 Python C Type wrapper around RGB. More...
 
class  H3D::PyRGBA
 Python C Type wrapper around RGBA. More...
 

Namespaces

 H3D
 H3D API namespace.
 

Functions

string H3D::PyNode_Name ()
 Returns which is the name the PyNode is to be installed as in Python.
 
PyObject H3DAPI_API * H3D::PyNode_FromNode (Node *v, bool _refCountNode=true)
 Creates a new PyNode object based on the value of v. More...
 
Node H3DAPI_API * H3D::PyNode_AsNode (PyObject *o)
 Returns an Node * representation of the contents of o.
 
bool H3D::PyNode_Check (PyObject *o)
 Returns true if its argument is a PyNode.
 
string H3D::PyVec2f_Name ()
 Returns which is the name the PyVec2f is to be installed as in Python.
 
PyObject * H3D::PyVec2f_FromVec2f (const Vec2f &v)
 Creates a new PyVec2f object based on the value of v.
 
Vec2f H3DAPI_API H3D::PyVec2f_AsVec2f (PyObject *o)
 Returns an Vec2f representation of the contents of o.
 
bool H3D::PyVec2f_Check (PyObject *o)
 Returns true if its argument is a PyVec2f.
 
string H3D::PyVec2d_Name ()
 Returns which is the name the PyVec2d is to be installed as in Python.
 
PyObject * H3D::PyVec2d_FromVec2d (const Vec2d &v)
 Creates a new PyVec2d object based on the value of v.
 
Vec2d H3DAPI_API H3D::PyVec2d_AsVec2d (PyObject *o)
 Returns an Vec2d representation of the contents of o.
 
bool H3D::PyVec2d_Check (PyObject *o)
 Returns true if its argument is a PyVec2d.
 
bool H3D::PythonInternals::PyVec2d2f_Check (PyObject *o)
 Returns true if its argument is a PyVec2d or PyVec2f.
 
Vec2d H3D::PythonInternals::PyVec2d2f_AsVec2d (PyObject *o)
 Returns an Vec2d representation of the contents of o.
 
string H3D::PyVec3f_Name ()
 Returns which is the name the PyVec3f is to be installed as in Python.
 
PyObject * H3D::PyVec3f_FromVec3f (const Vec3f &v)
 Creates a new PyVec3f object based on the value of v.
 
Vec3f H3DAPI_API H3D::PyVec3f_AsVec3f (PyObject *o)
 Returns an Vec3f representation of the contents of o.
 
bool H3D::PyVec3f_Check (PyObject *o)
 Returns true if its argument is a PyVec3f.
 
string H3D::PyVec3d_Name ()
 Returns which is the name the PyVec3f is to be installed as in Python.
 
PyObject * H3D::PyVec3d_FromVec3d (const Vec3d &v)
 Creates a new PyVec3d object based on the value of v.
 
Vec3d H3DAPI_API H3D::PyVec3d_AsVec3d (PyObject *o)
 Returns an Vec3d representation of the contents of o.
 
bool H3D::PyVec3d_Check (PyObject *o)
 Returns true if its argument is a PyVec3f.
 
bool H3D::PythonInternals::PyVec3d3f_Check (PyObject *o)
 Returns true if its argument is a PyVec3d or PyVec3f.
 
Vec3d H3D::PythonInternals::PyVec3d3f_AsVec3d (PyObject *o)
 Returns an Vec3d representation of the contents of o.
 
string H3D::PyVec4f_Name ()
 Returns which is the name the PyVec3f is to be installed as in Python.
 
PyObject * H3D::PyVec4f_FromVec4f (const Vec4f &v)
 Creates a new PyVec4f object based on the value of v.
 
Vec4f H3DAPI_API H3D::PyVec4f_AsVec4f (PyObject *o)
 Returns an Vec4f representation of the contents of o.
 
bool H3D::PyVec4f_Check (PyObject *o)
 Returns true if its argument is a PyVec3f.
 
string H3D::PyVec4d_Name ()
 Returns which is the name the PyVec3f is to be installed as in Python.
 
PyObject * H3D::PyVec4d_FromVec4d (const Vec4d &v)
 Creates a new PyVec4d object based on the value of v.
 
Vec4d H3DAPI_API H3D::PyVec4d_AsVec4d (PyObject *o)
 Returns an Vec4d representation of the contents of o.
 
bool H3D::PyVec4d_Check (PyObject *o)
 Returns true if its argument is a PyVec3f.
 
bool H3D::PythonInternals::PyVec4d4f_Check (PyObject *o)
 Returns true if its argument is a PyVec3d or PyVec3f.
 
Vec4d H3D::PythonInternals::PyVec4d4f_AsVec4d (PyObject *o)
 Returns an Vec4d representation of the contents of o.
 
string H3D::PyRotation_Name ()
 Returns which is the name the PyVec3f is to be installed as in Python.
 
PyObject * H3D::PyRotation_FromRotation (const Rotation &v)
 Creates a new PyRotation object based on the value of v.
 
Rotation H3DAPI_API H3D::PyRotation_AsRotation (PyObject *o)
 Returns an Rotation representation of the contents of o.
 
bool H3D::PyRotation_Check (PyObject *o)
 Returns true if its argument is a PyRotation.
 
string H3D::PyQuaternion_Name ()
 Returns which is the name the PyQuaternion is to be installed as in Python.
 
PyObject * H3D::PyQuaternion_FromQuaternion (const Quaternion &v)
 Creates a new PyQuaternion object based on the value of v.
 
Quaternion H3DAPI_API H3D::PyQuaternion_AsQuaternion (PyObject *o)
 Returns an Quaternion representation of the contents of o.
 
bool H3D::PyQuaternion_Check (PyObject *o)
 Returns true if its argument is a PyVec3f.
 
string H3D::PyMatrix3f_Name ()
 Returns which is the name the PyMatrix3f is to be installed as in Python.
 
PyObject * H3D::PyMatrix3f_FromMatrix3f (const Matrix3f &v)
 Creates a new PyMatrix3f object based on the value of v.
 
Matrix3f H3DAPI_API H3D::PyMatrix3f_AsMatrix3f (PyObject *o)
 Returns an Matrix3f representation of the contents of o.
 
bool H3D::PyMatrix3f_Check (PyObject *o)
 Returns true if its argument is a PyMatrix3f.
 
string H3D::PyMatrix4f_Name ()
 Returns which is the name the PyMatrix4f is to be installed as in Python.
 
PyObject * H3D::PyMatrix4f_FromMatrix4f (const Matrix4f &v)
 Creates a new PyMatrix4f object based on the value of v.
 
Matrix4f H3DAPI_API H3D::PyMatrix4f_AsMatrix4f (PyObject *o)
 Returns an Matrix4f representation of the contents of o.
 
bool H3D::PyMatrix4f_Check (PyObject *o)
 Returns true if its argument is a PyMatrix4f.
 
string H3D::PyMatrix3d_Name ()
 Returns which is the name the PyMatrix3d is to be installed as in Python.
 
PyObject * H3D::PyMatrix3d_FromMatrix3d (const Matrix3d &v)
 Creates a new PyMatrix3d object based on the value of v.
 
Matrix3d H3DAPI_API H3D::PyMatrix3d_AsMatrix3d (PyObject *o)
 Returns an Matrix3d representation of the contents of o.
 
bool H3D::PyMatrix3d_Check (PyObject *o)
 Returns true if its argument is a PyMatrix3d.
 
bool H3D::PythonInternals::PyMatrix3d3f_Check (PyObject *o)
 Returns true if its argument is a PyVec3d or PyVec3f.
 
Matrix3d H3D::PythonInternals::PyMatrix3d3f_AsMatrix3d (PyObject *o)
 Returns an Vec3d representation of the contents of o.
 
string H3D::PyMatrix4d_Name ()
 Returns which is the name the PyMatrix4d is to be installed as in Python.
 
PyObject * H3D::PyMatrix4d_FromMatrix4d (const Matrix4d &v)
 Creates a new PyMatrix4d object based on the value of v.
 
Matrix4d H3DAPI_API H3D::PyMatrix4d_AsMatrix4d (PyObject *o)
 Returns an Matrix4d representation of the contents of o.
 
bool H3D::PyMatrix4d_Check (PyObject *o)
 Returns true if its argument is a PyMatrix4d.
 
bool H3D::PythonInternals::PyMatrix4d4f_Check (PyObject *o)
 Returns true if its argument is a PyVec3d or PyVec3f.
 
Matrix4d H3D::PythonInternals::PyMatrix4d4f_AsMatrix4d (PyObject *o)
 Returns an Vec4d representation of the contents of o.
 
string H3D::PyRGB_Name ()
 Returns which is the name the PyVec3f is to be installed as in Python.
 
PyObject * H3D::PyRGB_FromRGB (const RGB &v)
 Creates a new PyRGB object based on the value of v.
 
RGB H3DAPI_API H3D::PyRGB_AsRGB (PyObject *o)
 Returns an RGB representation of the contents of o.
 
bool H3D::PyRGB_Check (PyObject *o)
 Returns true if its argument is a PyVec3f.
 
string H3D::PyRGBA_Name ()
 Returns which is the name the PyRGBA is to be installed as in Python.
 
PyObject * H3D::PyRGBA_FromRGBA (const RGBA &v)
 Creates a new PyRGBA object based on the value of v.
 
RGBA H3DAPI_API H3D::PyRGBA_AsRGBA (PyObject *o)
 Returns an RGBA representation of the contents of o.
 
bool H3D::PyRGBA_Check (PyObject *o)
 Returns true if its argument is a PyRGBA.
 
string H3D::PyConsole_Name ()
 Returns which is the name the PyVec3f is to be installed as in Python.
 
bool H3D::PyConsole_Check (PyObject *o)
 Returns true if its argument is a PyVec3f.
 

Detailed Description

Python C Types that wrap the X3D C++ type classes.