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)
 
 ~XformInfo () override
 
int64 getMemoryUsage () const override
 
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 ()
 
 UT_CappedItem (const UT_CappedItem &)=delete
 
UT_CappedItemoperator= (const UT_CappedItem &)=delete
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< UT_CappedItem >
SYS_FORCE_INLINE UT_IntrusiveRefCounter () noexcept
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &) noexcept
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const noexcept
 Return current counter. More...
 
SYS_FORCE_INLINE bool conditionalAddRef () noexcept
 

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.

GusdUSD_XformCache::XformInfo::~XformInfo ( )
inlineoverride

Definition at line 101 of file USD_XformCache.h.

Member Function Documentation

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

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 115 of file USD_XformCache.h.

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

Definition at line 109 of file USD_XformCache.h.

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

Definition at line 112 of file USD_XformCache.h.

Member Data Documentation

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

Definition at line 118 of file USD_XformCache.h.


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