PxArticulationLink Class Reference
[Physics]
a component of an articulation that represents a rigid body
More...
#include <PxArticulationLink.h>
Inheritance diagram for PxArticulationLink:

Collaboration diagram for PxArticulationLink:

Public Member Functions | |
virtual void | release ()=0 |
Deletes the articulation link. | |
virtual PxArticulation & | getArticulation () const =0 |
get the articulation to which this articulation link belongs | |
virtual PxArticulationJoint * | getInboundJoint () const =0 |
Get the joint which connects this link to its parent. | |
virtual PxU32 | getNbChildren () const =0 |
Get number of child links. | |
virtual PxU32 | getChildren (PxArticulationLink **userBuffer, PxU32 bufferSize) const =0 |
Retrieve all the child links. | |
virtual const char * | getConcreteTypeName () const |
returns string name of dynamic type. | |
Protected Member Functions | |
PxArticulationLink (PxRefResolver &v) | |
PX_INLINE | PxArticulationLink () |
virtual | ~PxArticulationLink () |
virtual bool | isKindOf (const char *name) const |
Detailed Description
a component of an articulation that represents a rigid bodyA limited subset of the properties of PxRigidDynamic are supported. In particular, sleep properties are attributes of the articulation rather than each individual body, damping and velocity limits are not supported, and links may not be kinematic.
- See also:
- PxArticulation PxArticulationJoint PxRigidBody
Constructor & Destructor Documentation
PxArticulationLink::PxArticulationLink | ( | PxRefResolver & | v | ) | [inline, protected] |
PX_INLINE PxArticulationLink::PxArticulationLink | ( | ) | [inline, protected] |
virtual PxArticulationLink::~PxArticulationLink | ( | ) | [inline, protected, virtual] |
Member Function Documentation
virtual PxArticulation& PxArticulationLink::getArticulation | ( | ) | const [pure virtual] |
get the articulation to which this articulation link belongs
- Returns:
- the articulation to which this link belongs
virtual PxU32 PxArticulationLink::getChildren | ( | PxArticulationLink ** | userBuffer, | |
PxU32 | bufferSize | |||
) | const [pure virtual] |
Retrieve all the child links.
- Parameters:
-
[out] userBuffer The buffer to receive articulation link pointers. [in] bufferSize Size of provided user buffer.
- Returns:
- Number of articulation links written to the buffer.
- See also:
- getNbChildren()
virtual const char* PxArticulationLink::getConcreteTypeName | ( | ) | const [inline, virtual] |
returns string name of dynamic type.
- Returns:
- class name of most derived type of this object.
Reimplemented from PxSerializable.
virtual PxArticulationJoint* PxArticulationLink::getInboundJoint | ( | ) | const [pure virtual] |
Get the joint which connects this link to its parent.
- Returns:
- The joint connecting the link to the parent. NULL for the root link.
- See also:
- PxArticulationJoint
virtual PxU32 PxArticulationLink::getNbChildren | ( | ) | const [pure virtual] |
virtual bool PxArticulationLink::isKindOf | ( | const char * | name | ) | const [inline, protected, virtual] |
virtual void PxArticulationLink::release | ( | ) | [pure virtual] |
Deletes the articulation link.
- Note:
- Only a leaf articulation link can be released
- See also:
- PxArticulation::createLink()
Implements PxRigidActor.
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com