HDK
|
#include <GU_DetailHandle.h>
A GU_ConstDetailHandle uses a GU_DetailHandle to provide const-only access to a GU_Detail. It uses a GU_DetailHandle member variable to do all the actual work, and simply hides any functionality that is unsafe or inappropriate for a const GU_Detail.
Definition at line 176 of file GU_DetailHandle.h.
|
inline |
Definition at line 179 of file GU_DetailHandle.h.
|
inline |
Definition at line 181 of file GU_DetailHandle.h.
|
inline |
Preserve Requests: A preserve request is a request that people create a new GU_DetailHandle rather than editting the current one. It is used by SOPs to determine if it is safe to do an in place cook.
Definition at line 233 of file GU_DetailHandle.h.
|
inline |
This method casts from a GU_ConstDetailHandle to a GU_DetailHandle. Use it carefully. Calling getWriteableCopy() is preferred. Duplicating geometry is not as expensive as it might seem.
Definition at line 203 of file GU_DetailHandle.h.
|
inline |
Definition at line 197 of file GU_DetailHandle.h.
Unlocked readable pointers.
Definition at line 211 of file GU_DetailHandle.h.
|
inline |
NOTE: Locking is not enforced, and no longer encouraged. Returns the number of locks made to the base handle for debugging.
Definition at line 265 of file GU_DetailHandle.h.
|
inline |
Return the amount of memory owned by the GU_DetailHandle itself, NOT the detail. This will count the memory of the GU_DetailHandleRef, which could be shared, so only the definitive "original" handle should be counted, e.g. the one on SOP_Node.
Definition at line 244 of file GU_DetailHandle.h.
|
inline |
Definition at line 237 of file GU_DetailHandle.h.
|
inline |
Returns the number of references made to the base handle.
Definition at line 225 of file GU_DetailHandle.h.
|
inline |
Create a writeable copy of the detail.
Definition at line 207 of file GU_DetailHandle.h.
|
inline |
Definition at line 195 of file GU_DetailHandle.h.
|
inline |
Determine if this is a null handle. This means it points to a null handle, or the handle's gdp is null.
Definition at line 215 of file GU_DetailHandle.h.
|
inline |
Check if this is a valid handle.
Definition at line 218 of file GU_DetailHandle.h.
|
inline |
Safe-bool operator to return whether the handle is valid.
Definition at line 222 of file GU_DetailHandle.h.
|
inline |
Definition at line 192 of file GU_DetailHandle.h.
|
inline |
Definition at line 184 of file GU_DetailHandle.h.
|
inline |
Definition at line 190 of file GU_DetailHandle.h.
NOTE: Locking is not enforced, and no longer encouraged. This will acquire a read lock on the GU_Detail. The result is 0 if no lock can be acquired, or no underlying detail exists. The returned detail should be passed to unlock(). (Technically, no locking occurs on error, but unlock is a no-op with a 0 gdp)
Definition at line 252 of file GU_DetailHandle.h.
|
inline |
Definition at line 235 of file GU_DetailHandle.h.
NOTE: Locking is not enforced, and no longer encouraged. This will unlock one layer of locking. If the passed in gdp is null, no unlocking occurs. Otherwise, the passed in gdp is asserted to match the one which myHandle points to.
Definition at line 260 of file GU_DetailHandle.h.