vrsode::PlaneShape Class Reference

Represents a Plane Shape. More...

#include <PlaneShape.h>

Inheritance diagram for vrsode::PlaneShape:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

Represents a Plane Shape.

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.


Constructor & Destructor Documentation

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]

dtor.

Definition at line 25 of file PlaneShape.cpp.


Member Function Documentation

double vrsode::PlaneShape::anchor (  ) 

Definition at line 51 of file PlaneShape.cpp.

References m_anchor.

VRS::Vector vrsode::PlaneShape::normal (  ) 

Definition at line 57 of file PlaneShape.cpp.

References m_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:


Member Data Documentation

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


The documentation for this class was generated from the following files:
Generated on Fri May 11 21:02:19 2007 for Random Racer by  doxygen 1.5.1