|
HDK
|
#include <GT_GEOPrimitive.h>
Public Member Functions | |
| GEOPrimitivePair () | |
| GEOPrimitivePair (const GEO_Primitive *prim) | |
| GEOPrimitivePair (const GU_ConstDetailHandle &gdh, GA_Index idx) | |
| void | init (const GEO_Primitive *prim) |
| void | init (const GU_ConstDetailHandle &gdh, GA_Index idx) |
| void | init (const GU_Detail *gdp, GA_Index idx) |
| const GEO_Primitive * | primitive () const |
| template<typename T > | |
| const T * | primitiveAs () const |
| GA_Index | mapIndex () const |
| bool | update (const GU_ConstDetailHandle &dtl) |
| bool | update (const GU_Detail *gdp) |
GT holds onto GU_DetailHandle objects. However, it's possible for a user (SOP) to change the GU_Detail stored in the GU_DetailHandle without changing the GU_DetailHandle. This can leave stale primitive pointers. The GEOPrimitivePair object has a method to refresh the pointer to ensure it remains valid.
Definition at line 44 of file GT_GEOPrimitive.h.
|
inline |
Definition at line 47 of file GT_GEOPrimitive.h.
|
inline |
Definition at line 49 of file GT_GEOPrimitive.h.
|
inline |
Definition at line 51 of file GT_GEOPrimitive.h.
| void GT_GEOPrimitive::GEOPrimitivePair::init | ( | const GEO_Primitive * | prim | ) |
| void GT_GEOPrimitive::GEOPrimitivePair::init | ( | const GU_ConstDetailHandle & | gdh, |
| GA_Index | idx | ||
| ) |
|
inline |
Definition at line 67 of file GT_GEOPrimitive.h.
|
inline |
Definition at line 64 of file GT_GEOPrimitive.h.
|
inline |
Definition at line 65 of file GT_GEOPrimitive.h.
| bool GT_GEOPrimitive::GEOPrimitivePair::update | ( | const GU_ConstDetailHandle & | dtl | ) |
Reports true if the primitive pointer has changed
| bool GT_GEOPrimitive::GEOPrimitivePair::update | ( | const GU_Detail * | gdp | ) |
Reports true if the primitive pointer has changed