Class Physical1DofSubhingeVars#

Inheritance Relationships#

Base Type#

Class Documentation#

class Physical1DofSubhingeVars : public Karana::Dynamics::PhysicalSubhingeVars#

The Vars for the PhysicalSubhinge class.

Public Functions

Physical1DofSubhingeVars(const kc::ks_ptr<const Physical1DofSubhinge> &sh)#

Physical1DofSubhingeVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.

Parameters:

sh – The PhysicalSubhinge associated with this Physical1DofSubhingeVars.

~Physical1DofSubhingeVars()#

Destructor.

virtual kc::NestedVars getAllVars() const override#

Get all the Vars that this VarHolder has.

Returns:

A map of Vars, where the Var name is the key and the Var is the value.

Public Members

kc::ks_ptr<Karana::Core::Var<km::Vec3>> unit_axis#

The unit axis.

kc::ks_ptr<Karana::Core::Var<km::Vec>> joint_limits#

The joint limits.

Public Static Functions

static kc::ks_ptr<Physical1DofSubhingeVars> create(const kc::ks_ptr<const Physical1DofSubhinge> &sh)#

Create an instance of the Physical1DofSubhingeVars.

Parameters:

sh – The subhinge associated with this Physical1DofSubhingeVars.

Returns:

A pointer to the newly created instance of Physical1DofSubhingeVars.