HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_UnpackedGeometry Class Reference

#include <SIM_SweptCollisionUtility.h>

Public Member Functions

 SIM_UnpackedGeometry ()
 
 SIM_UnpackedGeometry (const GU_Detail &gdp)
 
 SIM_UnpackedGeometry (const SIM_Geometry &simgeo)
 
GU_ConstDetailHandle getGeometry () const
 Returns the unpacked geometry. More...
 
GA_Index getOriginalPrimIndex (GA_Index i) const
 

Detailed Description

Unpacks any packed primitives in the given SIM_Geometry and stores the original primitive index of each primitive (e.g. for correctly recording impacts).

Definition at line 178 of file SIM_SweptCollisionUtility.h.

Constructor & Destructor Documentation

SIM_UnpackedGeometry::SIM_UnpackedGeometry ( )
inline

Definition at line 181 of file SIM_SweptCollisionUtility.h.

SIM_UnpackedGeometry::SIM_UnpackedGeometry ( const GU_Detail gdp)
SIM_UnpackedGeometry::SIM_UnpackedGeometry ( const SIM_Geometry simgeo)

Member Function Documentation

GU_ConstDetailHandle SIM_UnpackedGeometry::getGeometry ( ) const
inline

Returns the unpacked geometry.

Definition at line 186 of file SIM_SweptCollisionUtility.h.

GA_Index SIM_UnpackedGeometry::getOriginalPrimIndex ( GA_Index  i) const
inline

Returns the primitive index in the source geometry that the given primitive in the unpacked geometry corresponds to.

Definition at line 193 of file SIM_SweptCollisionUtility.h.


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