ObjectJointMesh
The ObjectJointMesh class represents a skinned animation joint that influences an ObjectGeometry through ObjectNode transformations. It includes a bounding box parameter used to optimize bounding box calculations for skinned animated objects.
#include <scene/TellusimObjectMesh.h>
Constructors
explicit ObjectJointMesh(const char *name = nullptr)
explicit ObjectJointMesh(ObjectGeometryMesh &geometry, const char *name = nullptr)
Methods
Clear joint.
void clear()
Joint unique identifier.
uint32_t getID() const
Joint index.
uint32_t getIndex() const
Joint name.
void setName(const char *name)
void setName(const String &name)
String getName() const
Joint geometry.
void setGeometry(ObjectGeometryMesh &geometry, bool check = true)
const ObjectGeometryMesh getGeometry() const
ObjectGeometryMesh getGeometry()
Hidden flag.
void setHidden(bool flag)
bool isHidden() const
Expanded flag.
void setExpanded(bool flag)
bool isExpanded() const
Internal flag.
void setInternal(bool flag)
bool isInternal() const
Virtual flag.
void setVirtual(bool flag)
bool isVirtual() const
Changed flag.
void setChanged(bool flag)
bool isChanged() const
Joint node.
void setNode(ObjectNode &node)
const ObjectNode getNode() const
uint32_t getNodeIndex() const
ObjectNode getNode()
Joint bound box.
void setBoundBox(BoundBoxf box)
const BoundBoxf getBoundBox() const
Invere joint transform.
void setITransform(Matrix4x3f itransform)
const Matrix4x3f getITransform() const
Updated flag.
bool isUpdated() const
Update scene.
void updateScene()