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

#include <USD_XformCache.h>

+ Inheritance diagram for GusdUSD_XformCache::XformInfo:

Public Types

enum  Flags { FLAGS_LOCAL_MAYBE_TIMEVARYING =0x1, FLAGS_WORLD_MAYBE_TIMEVARYING =0x2, FLAGS_HAS_PARENT_XFORM =0x4 }
 

Public Member Functions

 XformInfo (const UsdGeomXformable &xf)
 
virtual ~XformInfo ()
 
virtual int64 getMemoryUsage () const
 
void ComputeFlags (const UsdPrim &prim, GusdUSD_XformCache &cache)
 
SYS_FORCE_INLINE bool LocalXformIsMaybeTimeVarying () const
 
SYS_FORCE_INLINE bool WorldXformIsMaybeTimeVarying () const
 
SYS_FORCE_INLINE bool HasParentXform () const
 
- Public Member Functions inherited from UT_CappedItem
 UT_CappedItem ()
 
virtual ~UT_CappedItem ()
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< UT_CappedItem >
SYS_FORCE_INLINE UT_IntrusiveRefCounter ()
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &)
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &)
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const
 Return current counter. More...
 

Public Attributes

const UsdGeomXformable::XformQuery query
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IntrusiveRefCounter< UT_CappedItem >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Definition at line 89 of file USD_XformCache.h.

Member Enumeration Documentation

Enumerator
FLAGS_LOCAL_MAYBE_TIMEVARYING 
FLAGS_WORLD_MAYBE_TIMEVARYING 
FLAGS_HAS_PARENT_XFORM 

Definition at line 91 of file USD_XformCache.h.

Constructor & Destructor Documentation

GusdUSD_XformCache::XformInfo::XformInfo ( const UsdGeomXformable xf)
inline

Definition at line 98 of file USD_XformCache.h.

virtual GusdUSD_XformCache::XformInfo::~XformInfo ( )
inlinevirtual

Definition at line 101 of file USD_XformCache.h.

Member Function Documentation

void GusdUSD_XformCache::XformInfo::ComputeFlags ( const UsdPrim prim,
GusdUSD_XformCache cache 
)
virtual int64 GusdUSD_XformCache::XformInfo::getMemoryUsage ( ) const
inlinevirtual

Query the memory used by the cache item. This should be constant over the life of the item.

Implements UT_CappedItem.

Definition at line 103 of file USD_XformCache.h.

SYS_FORCE_INLINE bool GusdUSD_XformCache::XformInfo::HasParentXform ( ) const
inline

Definition at line 114 of file USD_XformCache.h.

SYS_FORCE_INLINE bool GusdUSD_XformCache::XformInfo::LocalXformIsMaybeTimeVarying ( ) const
inline

Definition at line 108 of file USD_XformCache.h.

SYS_FORCE_INLINE bool GusdUSD_XformCache::XformInfo::WorldXformIsMaybeTimeVarying ( ) const
inline

Definition at line 111 of file USD_XformCache.h.

Member Data Documentation

const UsdGeomXformable::XformQuery GusdUSD_XformCache::XformInfo::query

Definition at line 117 of file USD_XformCache.h.


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