HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdPhysicsCollisionGroup::CollisionGroupTable Struct Reference

#include <collisionGroup.h>

Public Member Functions

USDPHYSICS_API const
SdfPathVector
GetCollisionGroups () const
 
USDPHYSICS_API bool IsCollisionEnabled (const unsigned int idxA, const unsigned int idxB) const
 Return true if the groups at indices idxA and idxB collide. More...
 
USDPHYSICS_API bool IsCollisionEnabled (const SdfPath &primA, const SdfPath &primB) const
 Return true if the groups primA and primB collide. More...
 

Protected Attributes

SdfPathVector _groups
 
std::vector< bool > _enabled
 

Friends

class UsdPhysicsCollisionGroup
 

Detailed Description

Utility structure generated by ComputeCollisionGroupTable(); contains a table describing which pairs of collision groups have collisions enabled/disabled by the filtering rules.

Definition at line 245 of file collisionGroup.h.

Member Function Documentation

USDPHYSICS_API const SdfPathVector& UsdPhysicsCollisionGroup::CollisionGroupTable::GetCollisionGroups ( ) const

Return the set of all UsdPhysicsCollisionGroup which this table contains

USDPHYSICS_API bool UsdPhysicsCollisionGroup::CollisionGroupTable::IsCollisionEnabled ( const unsigned int  idxA,
const unsigned int  idxB 
) const

Return true if the groups at indices idxA and idxB collide.

USDPHYSICS_API bool UsdPhysicsCollisionGroup::CollisionGroupTable::IsCollisionEnabled ( const SdfPath primA,
const SdfPath primB 
) const

Return true if the groups primA and primB collide.

Friends And Related Function Documentation

Definition at line 263 of file collisionGroup.h.

Member Data Documentation

std::vector<bool> UsdPhysicsCollisionGroup::CollisionGroupTable::_enabled
protected

Definition at line 268 of file collisionGroup.h.

SdfPathVector UsdPhysicsCollisionGroup::CollisionGroupTable::_groups
protected

Definition at line 265 of file collisionGroup.h.


The documentation for this struct was generated from the following file: