#include <PlaneShape.h>
Inheritance diagram for vrsode::PlaneShape:

Public Member Functions | |
| PlaneShape (VRS::Vector p_normal, double p_anchor) | |
| ctor. | |
| virtual | ~PlaneShape () |
| dtor. | |
| double | anchor () |
| VRS::Vector | normal () |
| void | setAnchor (double) |
| void | setNormal (VRS::Vector) |
| void | setNormalAndAnchor (VRS::Vector, double) |
Protected Member Functions | |
| virtual void | createGeometry () |
| create an ode geometry. | |
| virtual void | createDebugNode () |
| create a debug geometry. | |
Private Attributes | |
| VRS::Vector | m_normal |
| double | m_anchor |
Planes are non-placeable geoms. It is assumed that the plane is always part of the static environment and not tied to any movable object.
Definition at line 16 of file PlaneShape.h.
| vrsode::PlaneShape::PlaneShape | ( | VRS::Vector | p_normal, | |
| double | p_anchor | |||
| ) |
ctor.
Definition at line 14 of file PlaneShape.cpp.
References createDebugNode(), createGeometry(), vrsode::CS_Plane, m_anchor, m_normal, and vrsode::Shape::setCollisionShape().
Here is the call graph for this function:

| vrsode::PlaneShape::~PlaneShape | ( | ) | [virtual] |
| double vrsode::PlaneShape::anchor | ( | ) |
| VRS::Vector vrsode::PlaneShape::normal | ( | ) |
| void vrsode::PlaneShape::setAnchor | ( | double | ) |
Definition at line 63 of file PlaneShape.cpp.
References createDebugNode(), vrsode::Shape::geomId(), m_anchor, and m_normal.
Here is the call graph for this function:

| void vrsode::PlaneShape::setNormal | ( | VRS::Vector | ) |
Definition at line 73 of file PlaneShape.cpp.
References createDebugNode(), vrsode::Shape::geomId(), m_anchor, and m_normal.
Here is the call graph for this function:

| void vrsode::PlaneShape::setNormalAndAnchor | ( | VRS::Vector | , | |
| double | ||||
| ) |
Definition at line 83 of file PlaneShape.cpp.
References createDebugNode(), vrsode::Shape::geomId(), m_anchor, and m_normal.
Here is the call graph for this function:

| void vrsode::PlaneShape::createGeometry | ( | ) | [protected, virtual] |
create an ode geometry.
Implements vrsode::Shape.
Definition at line 31 of file PlaneShape.cpp.
References m_anchor, m_normal, and vrsode::Shape::setGeomId().
Referenced by PlaneShape().
Here is the call graph for this function:

Here is the caller graph for this function:

| void vrsode::PlaneShape::createDebugNode | ( | ) | [protected, virtual] |
create a debug geometry.
Implements vrsode::Shape.
Definition at line 38 of file PlaneShape.cpp.
References vrsode::Shape::debugNode(), vrsode::Shape::debugNodeActive(), m_anchor, and m_normal.
Referenced by PlaneShape(), setAnchor(), setNormal(), and setNormalAndAnchor().
Here is the call graph for this function:

Here is the caller graph for this function:

VRS::Vector vrsode::PlaneShape::m_normal [private] |
Definition at line 18 of file PlaneShape.h.
Referenced by createDebugNode(), createGeometry(), normal(), PlaneShape(), setAnchor(), setNormal(), and setNormalAndAnchor().
double vrsode::PlaneShape::m_anchor [private] |
Definition at line 19 of file PlaneShape.h.
Referenced by anchor(), createDebugNode(), createGeometry(), PlaneShape(), setAnchor(), setNormal(), and setNormalAndAnchor().
1.5.1