All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_AgentLayer::ShapeBinding Class Reference

#include <GU_AgentLayer.h>

Public Member Functions

 ShapeBinding ()
 ShapeBinding (const GU_AgentShapeLib &lib, const NameType &name, const ShapePtr &shape, GA_Offset offset, int transform_id, const GU_AgentShapeDeformerConstPtr &deformer, const UT_BoundingBoxF &bounds, const UT_Vector3F &bounds_scale)
bool operator== (const ShapeBinding &) const
int64 getMemoryUsage (bool inclusive) const
GA_Offset offset () const
int transformId () const
bool isAttachedToTransform () const
const UT_BoundingBoxFbounds () const
const UT_Vector3FboundsScale () const
bool isDeforming () const
deformer () const
bool save (UT_JSONWriter &w, const GU_AgentRig &rig) const
const NameTypeshapeName () const
int shapeId () const
ShapePtr shape () const
bool isDirty (const GU_AgentShapeLib &lib) const

Static Public Member Functions

static bool load (UT_JSONParser &p, ShapeBindingData &data, int version)

Static Public Attributes

static constexpr int INVALID_TRANSFORM_ID = -1

Detailed Description

Definition at line 67 of file GU_AgentLayer.h.

Constructor & Destructor Documentation

GU_AgentLayer::ShapeBinding::ShapeBinding ( )

Definition at line 70 of file GU_AgentLayer.h.

GU_AgentLayer::ShapeBinding::ShapeBinding ( const GU_AgentShapeLib lib,
const NameType name,
const ShapePtr shape,
GA_Offset  offset,
int  transform_id,
const GU_AgentShapeDeformerConstPtr deformer,
const UT_BoundingBoxF bounds,
const UT_Vector3F bounds_scale 

Definition at line 82 of file GU_AgentLayer.h.

Member Function Documentation

const UT_BoundingBoxF& GU_AgentLayer::ShapeBinding::bounds ( ) const

Definition at line 113 of file GU_AgentLayer.h.

const UT_Vector3F& GU_AgentLayer::ShapeBinding::boundsScale ( ) const

Definition at line 114 of file GU_AgentLayer.h.

const GU_AgentShapeDeformerConstPtr& GU_AgentLayer::ShapeBinding::deformer ( ) const

Definition at line 117 of file GU_AgentLayer.h.

int64 GU_AgentLayer::ShapeBinding::getMemoryUsage ( bool  inclusive) const
bool GU_AgentLayer::ShapeBinding::isAttachedToTransform ( ) const

The transform is optional, which is typically used for deforming shapes. For static shapes, this means that they'll only be transformed by the agent's overall transform.

Definition at line 111 of file GU_AgentLayer.h.

bool GU_AgentLayer::ShapeBinding::isDeforming ( ) const

Definition at line 116 of file GU_AgentLayer.h.

bool GU_AgentLayer::ShapeBinding::isDirty ( const GU_AgentShapeLib lib) const
static bool GU_AgentLayer::ShapeBinding::load ( UT_JSONParser p,
ShapeBindingData data,
int  version 
GA_Offset GU_AgentLayer::ShapeBinding::offset ( ) const

Definition at line 105 of file GU_AgentLayer.h.

bool GU_AgentLayer::ShapeBinding::operator== ( const ShapeBinding ) const
bool GU_AgentLayer::ShapeBinding::save ( UT_JSONWriter w,
const GU_AgentRig rig 
) const
ShapePtr GU_AgentLayer::ShapeBinding::shape ( ) const

Definition at line 125 of file GU_AgentLayer.h.

int GU_AgentLayer::ShapeBinding::shapeId ( ) const

Definition at line 124 of file GU_AgentLayer.h.

const NameType& GU_AgentLayer::ShapeBinding::shapeName ( ) const

Definition at line 123 of file GU_AgentLayer.h.

int GU_AgentLayer::ShapeBinding::transformId ( ) const

Definition at line 107 of file GU_AgentLayer.h.

Member Data Documentation

constexpr int GU_AgentLayer::ShapeBinding::INVALID_TRANSFORM_ID = -1

Definition at line 130 of file GU_AgentLayer.h.

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