APEX Framework: nvidia::apex::Shape Class Reference

NVIDIA APEX

nvidia::apex::Shape Class Reference

Describes the format of an Shape. More...

#include <Shape.h>

Inheritance diagram for nvidia::apex::Shape:
nvidia::apex::BoxShape nvidia::apex::CapsuleShape nvidia::apex::HalfSpaceShape nvidia::apex::SphereShape

List of all members.

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 BoxShapeisBoxGeom () const
 If it is a box, cast to box class, return NULL otherwise.
virtual const SphereShapeisSphereGeom () const
 If it is a sphere, cast to sphere class, return NULL otherwise.
virtual const CapsuleShapeisCapsuleGeom () const
 If it is a capsule, cast to the capsule class, return NULL otherwise.
virtual const HalfSpaceShapeisHalfSpaceGeom () 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.