Utility.h File Reference

Utility functions to create "standard" (Canonical) shapes as physical objects (geom + body). More...

#include <PVLE/Export.h>
#include <osg/Vec3>
#include <PVLE/Physics/SurfaceParams.h>

Include dependency graph for Physics/Utility.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  Physics
 Physics computations and wraping functionalities.

Functions

PVLE_EXPORT Geom * Physics::createCanonicalBox (World *pPhyWorld, const osg::Vec3 &size=osg::Vec3(1, 1, 1), const float mass=1, const SurfaceParams &surfaceParam=Materials::DEFAULT)
 Creates a "standard" box geom with a body.
PVLE_EXPORT Geom * Physics::createCanonicalSphere (World *pPhyWorld, const float radius=1, const float mass=1, const SurfaceParams &surfaceParam=Materials::DEFAULT)
 Creates a "standard" sphere geom with a body.
PVLE_EXPORT Geom * Physics::createCanonicalCapsule (World *pPhyWorld, const float radius=1, const float length=1, const float mass=1, const SurfaceParams &surfaceParam=Materials::DEFAULT)
 Creates a "standard" capsule geom with a body.
PVLE_EXPORT Geom * Physics::createCanonicalCylinder (World *pPhyWorld, const float radius=1, const float length=1, const float mass=1, const SurfaceParams &surfaceParam=Materials::DEFAULT)
 Creates a "standard" cylinder geom with a body.
PVLE_EXPORT Geom * Physics::createCanonicalBoxGeom (const osg::Vec3 &size=osg::Vec3(1, 1, 1), const SurfaceParams &surfaceParam=Materials::DEFAULT)
 Creates a "standard" box geom.
PVLE_EXPORT Geom * Physics::createCanonicalSphereGeom (const float radius=1, const SurfaceParams &surfaceParam=Materials::DEFAULT)
 Creates a "standard" sphere geom.
PVLE_EXPORT Geom * Physics::createCanonicalCapsuleGeom (const float radius=1, const float length=1, const SurfaceParams &surfaceParam=Materials::DEFAULT)
 Creates a "standard" capsule geom.
PVLE_EXPORT Geom * Physics::createCanonicalCylinderGeom (const float radius=1, const float length=1, const SurfaceParams &surfaceParam=Materials::DEFAULT)
 Creates a "standard" cylinder geom.


Detailed Description

Utility functions to create "standard" (Canonical) shapes as physical objects (geom + body).

Definition in file Physics/Utility.h.


Generated on Sun Jan 17 11:39:22 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9