Public Member Functions | Private Member Functions | Private Attributes
btConeShape Class Reference

The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y axis. The btConeShapeX is aligned around the X axis and btConeShapeZ around the Z axis. More...

#include <btConeShape.h>

Inheritance diagram for btConeShape:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
 btConeShape (btScalar radius, btScalar height)
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
int getConeUpIndex () const
btScalar getHeight () const
virtual const char * getName () const
btScalar getRadius () const
virtual btVector3 localGetSupportingVertex (const btVector3 &vec) const
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
void setConeUpIndex (int upIndex)
 choose upAxis index
virtual void setLocalScaling (const btVector3 &scaling)

Private Member Functions

btVector3 coneLocalSupport (const btVector3 &v) const

Private Attributes

int m_coneIndices [3]
btScalar m_height
btScalar m_radius
btScalar m_sinAngle

Detailed Description

The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y axis. The btConeShapeX is aligned around the X axis and btConeShapeZ around the Z axis.

Definition at line 23 of file btConeShape.h.


Constructor & Destructor Documentation

btConeShape::btConeShape ( btScalar  radius,
btScalar  height 
)

Member Function Documentation

virtual void btConeShape::batchedUnitVectorGetSupportingVertexWithoutMargin ( const btVector3 *  vectors,
btVector3 *  supportVerticesOut,
int  numVectors 
) const [virtual]
virtual void btConeShape::calculateLocalInertia ( btScalar  mass,
btVector3 &  inertia 
) const [inline, virtual]

Definition at line 45 of file btConeShape.h.

btVector3 btConeShape::coneLocalSupport ( const btVector3 &  v) const [private]
int btConeShape::getConeUpIndex ( ) const [inline]

Definition at line 80 of file btConeShape.h.

btScalar btConeShape::getHeight ( ) const [inline]

Definition at line 42 of file btConeShape.h.

virtual const char* btConeShape::getName ( ) const [inline, virtual]

Definition at line 72 of file btConeShape.h.

btScalar btConeShape::getRadius ( ) const [inline]

Definition at line 41 of file btConeShape.h.

virtual btVector3 btConeShape::localGetSupportingVertex ( const btVector3 &  vec) const [virtual]

Reimplemented from btConvexInternalShape.

virtual btVector3 btConeShape::localGetSupportingVertexWithoutMargin ( const btVector3 &  vec) const [virtual]
void btConeShape::setConeUpIndex ( int  upIndex)

choose upAxis index

virtual void btConeShape::setLocalScaling ( const btVector3 &  scaling) [virtual]

Reimplemented from btConvexInternalShape.


Member Data Documentation

int btConeShape::m_coneIndices[3] [private]

Definition at line 30 of file btConeShape.h.

Definition at line 29 of file btConeShape.h.

Definition at line 28 of file btConeShape.h.

Definition at line 27 of file btConeShape.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32