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

#include <XUSD_HydraInstancer.h>

+ Inheritance diagram for XUSD_HydraTransforms:

Public Member Functions

 XUSD_HydraTransforms ()
 
 ~XUSD_HydraTransforms () override
 
void setDataId (int64 id)
 
int64 getDataId () const override
 Data id support for derived classes (-1 means always re-update). More...
 
- Public Member Functions inherited from GT_TransformArray
 GT_TransformArray ()
 
virtual ~GT_TransformArray ()
 
GT_Size entries () const
 Return the number of entries. More...
 
int64 getMemoryUsage () const
 Return approximate memory usage. More...
 
int getMotionSegments () const
 
void setEntries (GT_Size n)
 Set the number of entries. More...
 
const GT_TransformHandleget (GT_Size i) const
 Return a transform handle. More...
 
void set (GT_Size i, const GT_TransformHandle &h)
 Set a transform handle. More...
 
void append (const GT_TransformHandle &h)
 Append a transform handle. More...
 
void append (const GT_TransformArrayHandle &h)
 Append a transform array. More...
 
GT_TransformArrayHandle multiply (const GT_TransformHandle &h) const
 Multiply all the transforms by a single transform. More...
 
GT_TransformArrayHandle preMultiply (const GT_TransformHandle &h) const
 Pre-multiply all the transforms by a single transform. More...
 
bool save (UT_JSONWriter &w) const
 Save to JSON. More...
 
void setTransforms (const UT_Matrix4FArray &transforms)
 
void setTransforms (const UT_Matrix4DArray &transforms)
 
void getTransforms (UT_Matrix4FArray &transforms)
 
void getTransforms (UT_Matrix4DArray &transforms)
 
void dump (const char *msg="") const
 Dump array. More...
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< GT_TransformArray >
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
 

Additional Inherited Members

- Static Public Member Functions inherited from GT_TransformArray
static voidoperator new (size_t size)
 
static voidoperator new (size_t size, void *p)
 
static void operator delete (void *p, size_t size)
 
- Protected Member Functions inherited from UT_IntrusiveRefCounter< GT_TransformArray >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Definition at line 113 of file XUSD_HydraInstancer.h.

Constructor & Destructor Documentation

XUSD_HydraTransforms::XUSD_HydraTransforms ( )
inline

Definition at line 116 of file XUSD_HydraInstancer.h.

XUSD_HydraTransforms::~XUSD_HydraTransforms ( )
inlineoverride

Definition at line 117 of file XUSD_HydraInstancer.h.

Member Function Documentation

int64 XUSD_HydraTransforms::getDataId ( ) const
inlineoverridevirtual

Data id support for derived classes (-1 means always re-update).

Reimplemented from GT_TransformArray.

Definition at line 120 of file XUSD_HydraInstancer.h.

void XUSD_HydraTransforms::setDataId ( int64  id)
inline

Definition at line 119 of file XUSD_HydraInstancer.h.


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