nvidia::apex::Shape Class Reference
Describes the format of an Shape. More...
#include <Shape.h>
Inheritance diagram for nvidia::apex::Shape:
Public Member Functions | |
virtual bool | intersectAgainstAABB (PxBounds3)=0 |
intersect the collision shape against a given AABB | |
virtual PxBounds3 | getAABB () const =0 |
AABB of collision shape. | |
virtual const BoxShape * | isBoxGeom () const |
If it is a box, cast to box class, return NULL otherwise. | |
virtual const SphereShape * | isSphereGeom () const |
If it is a sphere, cast to sphere class, return NULL otherwise. | |
virtual const CapsuleShape * | isCapsuleGeom () const |
If it is a capsule, cast to the capsule class, return NULL otherwise. | |
virtual const HalfSpaceShape * | isHalfSpaceGeom () const |
If it is a half space, cast to half space class, return NULL otherwise. | |
virtual void | releaseApexShape ()=0 |
Release shape. | |
virtual void | visualize (RenderDebugInterface *renderer) const =0 |
Visualize shape. | |
virtual PxMat44 | getPose () const =0 |
get the pose of the shape | |
virtual void | setPose (PxMat44 pose)=0 |
set the pose of the shape - this pose will modify the scale, orientation and position of the shape | |
virtual PxMat44 | getPreviousPose () const =0 |
get the previous pose of the shape |
Detailed Description
Describes the format of an Shape.
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:58:41
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.