|
| GU_Agent () |
|
| GU_Agent (const GU_Agent &src) |
|
| ~GU_Agent () override |
|
SYS_FORCE_INLINE const
GU_AgentDefinition & | definition () const |
|
void | setDefinition (GU_PrimPacked *prim, const GU_AgentDefinitionConstPtr &definition) |
|
const UT_Array
< GU_AgentLayerConstPtr > & | getCurrentLayers () const |
| Return the list of the agent's current layers. More...
|
|
void | setCurrentLayers (GU_PrimPacked *prim, const UT_Array< GU_AgentLayerConstPtr > &layers) |
| Sets the agent's display layers. More...
|
|
const GU_AgentLayer * | getCurrentLayer () const |
| Return the current layer. This may be a NULL pointer. More...
|
|
void | setCurrentLayer (GU_PrimPacked *prim, const GU_AgentLayerConstPtr &layer) |
| Sets the agent's display layer. More...
|
|
const UT_Array
< GU_AgentLayerConstPtr > & | getCollisionLayers () const |
| Return the list of the agent's collision layers. More...
|
|
void | setCollisionLayers (GU_PrimPacked *prim, const UT_Array< GU_AgentLayerConstPtr > &layers) |
| Sets the agent's collision layers. More...
|
|
const GU_AgentLayer * | getCollisionLayer () const |
| Return the current collision layer. This may be a NULL pointer. More...
|
|
void | setCollisionLayer (GU_PrimPacked *prim, const GU_AgentLayerConstPtr &layer) |
| Sets the agent's collision layer. More...
|
|
exint | numClips () const |
| Return the number of clips used for transform evaluation. More...
|
|
exint | intrinsicNumClips (const GU_PrimPacked *prim) const |
|
const char * | clipName (exint i) const |
| Names of the clips used for transform evaluation. More...
|
|
const char * | intrinsicClipName (const GU_PrimPacked *prim, exint i) const |
|
void | setClipByName (GU_PrimPacked *prim, exint i, const char *clip_name) |
| Set a clip by name. More...
|
|
bool | computeWorldTransforms (Matrix4ArrayConstPtr &xforms, bool interpolate_samples=true) const |
|
bool | computeLocalTransforms (Matrix4ArrayConstPtr &xforms, bool interpolate_samples=true) const |
| Get the local transforms for this agent. More...
|
|
bool | computeWorldTransform (Matrix4Type &xform, exint i, bool interpolate_samples=true) const |
| Get a specific world transform for the agent. More...
|
|
bool | computeLocalTransform (Matrix4Type &xform, exint i, bool interpolate_samples=true) const |
| Get a specific local transform for the agent. More...
|
|
void | setWorldTransforms (const Matrix4Array &xforms) |
| Override the world transforms for this agent. More...
|
|
void | setLocalTransforms (const Matrix4Array &xforms) |
| Override the local transforms for this agent. More...
|
|
void | setWorldTransform (const Matrix4Type &xform, exint i) |
| Override a specific world transform for this agent. More...
|
|
void | setLocalTransform (const Matrix4Type &xform, exint i) |
| Override a specific local transform for this agent. More...
|
|
bool | hasCustomTransforms () const |
|
bool | intrinsicHasCustomTransforms (const GU_PrimPacked *) const |
|
exint | transformCount () const |
| Number of transforms in the rig. More...
|
|
exint | intrinsicTransformCount (const GU_PrimPacked *prim) const |
|
const char * | transformName (exint i) const |
| Return the name of the given transform. More...
|
|
const char * | intrinsicTransformName (const GU_PrimPacked *prim, exint i) const |
|
exint | transformsArraySize () const |
|
exint | intrinsicTransformsArraySize (const GU_PrimPacked *prim) const |
|
void | worldTransformsArray (const GU_PrimPacked *prim, FloatType *data, exint n) const |
|
void | setWorldTransformsFromArray (GU_PrimPacked *prim, const FloatType *data, exint n) |
|
void | localTransformsArray (const GU_PrimPacked *prim, FloatType *data, exint n) const |
|
void | setLocalTransformsFromArray (GU_PrimPacked *prim, const FloatType *data, exint n) |
|
exint | channelCount () const |
| Number of transforms in the rig. More...
|
|
bool | computeChannelValues (FloatArrayConstPtr &values, bool interpolate_samples=true) const |
| Computes the agent's channel values from its clips. More...
|
|
void | setChannelValue (FloatType value, exint i) |
| Override a specific channel value for this agent. More...
|
|
bool | hasCustomChannelValues () const |
|
exint | intrinsicParentIndex (const GU_PrimPacked *prim, exint i) const |
| Functions for the 'agentrigparents' intrinsic. More...
|
|
exint | intrinsicNumLayers (const GU_PrimPacked *prim) const |
| Functions for the 'agentlayers' intrinsic. More...
|
|
const char * | intrinsicLayerName (const GU_PrimPacked *prim, exint i) const |
|
void | intrinsicSetNumClips (GU_PrimPacked *prim, GA_Size n) |
|
exint | intrinsicCatalogNumClips (const GU_PrimPacked *prim) const |
| Functions for the 'agentclipcatalog' intrinsic. More...
|
|
const char * | intrinsicCatalogClipName (const GU_PrimPacked *prim, exint i) const |
|
const char * | intrinsicClipCatalogFilenames (const GU_PrimPacked *prim, exint i) const |
|
exint | intrinsicNumShapes (const GU_PrimPacked *prim) const |
| Functions for the 'agentshapelibrary' intrinsic. More...
|
|
void | intrinsicShapeNames (const GU_PrimPacked *prim, UT_StringArray &values) const |
|
UT_OptionsHolder | intrinsicMetadata (const GU_PrimPacked *prim) const |
| The 'agentmetadata' intrinsic. See GU_AgentDefinition::metadata(). More...
|
|
|
GU_PackedFactory * | getFactory () const override |
|
GU_Agent * | copy () const override |
|
bool | isValid () const override |
|
void | clearData () override |
|
bool | supportsJSONLoad () const override |
|
bool | load (GU_PrimPacked *prim, const UT_Options &options, const GA_LoadMap &map) override |
|
bool | loadFromJSON (GU_PrimPacked *prim, const UT_JSONValueMap &options, const GA_LoadMap &map) override |
|
void | update (GU_PrimPacked *prim, const UT_Options &options) override |
|
bool | saveSharedData (UT_JSONWriter &w, GA_SaveMap &map, GA_GeometryIndex *geo_index) const override |
|
bool | loadSharedData (int load_data_type, const GA_SharedLoadData *item) override |
|
bool | save (UT_Options &options, const GA_SaveMap &map) const override |
|
bool | getBounds (UT_BoundingBox &box) const override |
|
bool | getRenderingBounds (UT_BoundingBox &box) const override |
|
void | getVelocityRange (UT_Vector3 &vmin, UT_Vector3 &vmax) const override |
|
void | getWidthRange (fpreal &wmin, fpreal &wmax) const override |
|
bool | unpack (GU_Detail &destgdp, const UT_Matrix4D *transform) const override |
|
bool | unpackWithStyler (GU_Detail &destgdp, STY_StylerGroup &prim_styler_group, const STY_Styler &parent_styler, const GU_PrimPacked *prim) const override |
|
GU_ConstDetailHandle | getPackedDetail (GU_PackedContext *context=0) const override |
|
int64 | getMemoryUsage (bool inclusive) const override |
| Report memory usage (includes all shared memory) More...
|
|
void | countMemory (UT_MemoryCounter &counter, bool inclusive) const override |
|
|
const GU_AgentRigConstPtr & | getRig () const |
|
|
exint | intrinsicNumCurrentLayers (const GU_PrimPacked *prim) const |
|
void | intrinsicCurrentLayerNames (const GU_PrimPacked *prim, UT_StringArray &names) const |
|
void | intrinsicSetCurrentLayerNames (GU_PrimPacked *prim, const UT_StringArray &names) |
|
|
exint | intrinsicNumCollisionLayers (const GU_PrimPacked *prim) const |
|
void | intrinsicCollisionLayerNames (const GU_PrimPacked *prim, UT_StringArray &names) const |
|
void | intrinsicSetCollisionLayerNames (GU_PrimPacked *prim, const UT_StringArray &names) |
|
|
StringType | intrinsicCurrentLayerName (const GU_PrimPacked *prim) const |
|
void | intrinsicSetCurrentLayerByName (GU_PrimPacked *prim, const StringType &name) |
|
StringType | intrinsicCollisionLayerName (const GU_PrimPacked *prim) const |
|
void | intrinsicSetCollisionLayerByName (GU_PrimPacked *prim, const StringType &name) |
|
|
const GU_AgentClipPtrArray & | clips () const |
|
void | setClips (GU_PrimPacked *prim, const GU_AgentClipPtrArray &clips) |
|
void | setClipsByNames (GU_PrimPacked *prim, const UT_StringArray &clip_names) |
|
|
fpreal | clipTime (exint i) const |
|
fpreal | intrinsicClipTime (const GU_PrimPacked *prim, exint i) const |
|
void | setClipTime (GU_PrimPacked *prim, exint i, fpreal seconds) |
|
|
fpreal | clipWeight (exint i) const |
|
fpreal | intrinsicClipWeight (const GU_PrimPacked *prim, exint i) const |
|
void | setClipWeight (GU_PrimPacked *prim, exint i, fpreal weight) |
|
|
const char * | clipTransformGroupName (exint i) const |
|
const char * | intrinsicClipTransformGroupName (const GU_PrimPacked *prim, exint i) const |
|
void | setClipTransformGroupByName (GU_PrimPacked *prim, exint i, const char *name) |
|
void | setClipTransformGroup (GU_PrimPacked *prim, exint i, const GU_AgentTransformGroupConstPtr &grp) |
|
|
exint | clipLayerId (exint i) const |
|
exint | intrinsicClipLayerId (const GU_PrimPacked *prim, exint i) const |
|
void | setClipLayerId (GU_PrimPacked *prim, exint i, exint layer_id) |
|
|
void | setClipLayers (GU_PrimPacked *prim, const UT_Array< ClipLayer > &clip_layers) |
|
exint | numClipLayers () const |
|
|
exint | intrinsicChannelCount (const GU_PrimPacked *) const |
|
const StringType & | intrinsicChannelName (const GU_PrimPacked *, exint i) const |
|
void | intrinsicChannelValuesArray (const GU_PrimPacked *, FloatType *data, exint n) const |
|
void | intrinsicSetChannelValuesFromArray (GU_PrimPacked *, const FloatType *data, exint n) |
|
bool | intrinsicHasCustomChannelValues (const GU_PrimPacked *) const |
|
|
exint | intrinsicNumTransformGroups (const GU_PrimPacked *prim) const |
|
const char * | intrinsicTransformGroupName (const GU_PrimPacked *prim, exint i) const |
|
|
const char * | intrinsicClipLayerMode (const GU_PrimPacked *prim, exint i) const |
|
exint | intrinsicClipLayerParent (const GU_PrimPacked *prim, exint i) const |
|
fpreal | intrinsicClipLayerWeight (const GU_PrimPacked *prim, exint i) const |
|
exint | intrinsicNumClipLayers (const GU_PrimPacked *prim) const |
|
| GU_PackedImpl () |
|
virtual | ~GU_PackedImpl () |
|
| GU_PackedImpl (const GU_PackedImpl &src)=default |
|
GU_PackedImpl & | operator= (const GU_PackedImpl &src)=default |
|
virtual bool | loadUnknownToken (const char *token, UT_JSONParser &p, const GA_LoadMap &map) |
|
bool | getBoundsCached (UT_BoundingBox &box) const |
|
virtual bool | getVisibleBounds (UT_BoundingBox &box) const |
|
bool | getVisibleBoundsCached (UT_BoundingBox &box) const |
|
virtual void | getPrimitiveName (const GU_PrimPacked *prim, UT_WorkBuffer &wbuf) const |
|
virtual bool | getLocalTransform (UT_Matrix4D &m) const |
|
virtual bool | unpackWithContext (GU_Detail &destgdp, GU_PackedContext &context, const GU_PrimPacked *prim) const |
|
bool | unpack (GU_Detail &destgdp, const GU_PrimPacked *prim) const |
|
virtual void | forceLoad () const |
|
virtual bool | isLoaded () const |
|
virtual bool | unpackUsingPolygons (GU_Detail &destgdp, const GU_PrimPacked *prim) const |
|
bool | pointInstanceTransform () const |
|
bool | intrinsicPointInstanceTransform (const GU_PrimPacked *prim) const |
|
void | setPointInstanceTransform (GU_PrimPacked *prim, bool b) |
| Set whether point instancing should be used. More...
|
|
virtual bool | saveCachedBBox () const |
|
virtual void | setFacesetAttribute (const UT_StringHolder &s) |
|
virtual const UT_StringHolder & | facesetAttribute () const |
|
virtual void | setAttributeNameMap (const GEO_PackedNameMapPtr &m) |
|
virtual const
GEO_PackedNameMapPtr & | attributeNameMap () const |
|
virtual void | setSharedNameMapData (GA_SharedDataHandlePtr s) |
|
SYS_FORCE_INLINE bool | isShared () const |
|
SYS_FORCE_INLINE GU_PackedImpl * | copyIfShared () |
|
int64 | intrinsic3Tuple (const GU_PrimPacked *prim) const |
|
int64 | intrinsic6Tuple (const GU_PrimPacked *prim) const |
|
int64 | intrinsic9Tuple (const GU_PrimPacked *prim) const |
|
int64 | intrinsic16Tuple (const GU_PrimPacked *prim) const |
|
std::string | intrinsicPrimitiveName (const GU_PrimPacked *prim) const |
|
const char * | intrinsicFactoryName (const GU_PrimPacked *prim) const |
|
const char * | intrinsicFactoryLabel (const GU_PrimPacked *prim) const |
|
void | intrinsicPackedBox (const GU_PrimPacked *prim, fpreal64 *vals, exint sz) const |
|
void | intrinsicPackedRenderBox (const GU_PrimPacked *prim, fpreal64 *vals, exint sz) const |
|
void | intrinsicPivot (const GU_PrimPacked *prim, fpreal64 *vals, exint sz) const |
|
void | intrinsicSetPivot (GU_PrimPacked *prim, const fpreal64 *vals, exint sz) |
|
void | intrinsicPrimTransform (const GU_PrimPacked *prim, fpreal64 *vals, exint sz) const |
|
void | intrinsicSetPrimTransform (GU_PrimPacked *prim, const fpreal64 *v, exint sz) |
|
void | intrinsicPackedTransform (const GU_PrimPacked *prim, fpreal64 *v, exint sz) const |
|
void | intrinsicFullTransform (const GU_PrimPacked *prim, fpreal64 *v, exint sz) const |
|
const char * | intrinsicViewportLOD (const GU_PrimPacked *prim) const |
|
void | intrinsicSetViewportLOD (GU_PrimPacked *prim, const char *lod) |
|
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_IntrusiveRefCounter & | operator= (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 |
|