Class PhysicalSubhingeVars#

Inheritance Relationships#

Base Type#

Class Documentation#

class PhysicalSubhingeVars : public Karana::Frame::FrameToFrameVars#

The Vars for the PhysicalSubhinge class.

Public Functions

PhysicalSubhingeVars(const kc::ks_ptr<PhysicalSubhinge> &sh)#

PhysicalSubhingeVars 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 PhysicalSubhingeVars.

~PhysicalSubhingeVars()#

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_T<std::string>> subhinge_type#

The subhinge type.

kc::ks_ptr<Karana::Core::Var_T<km::Vec>> Q#

The Q coordinates.

kc::ks_ptr<Karana::Core::Var_T<km::Vec>> U#

The U coordinates.

kc::ks_ptr<Karana::Core::Var_T<km::Vec>> Qdot#

The Qdot coordinates.

kc::ks_ptr<Karana::Core::Var_T<km::Vec>> Udot#

The Udot coordinates.

kc::ks_ptr<Karana::Core::Var_T<km::Vec>> T#

The T coordinates.

Public Static Functions

static kc::ks_ptr<PhysicalSubhingeVars> create(const kc::ks_ptr<PhysicalSubhinge> &sh)#

Create an instance of the PhysicalSubhingeVars.

Parameters:

sh – The subhinge associated with this PhysicalSubhingeVars.

Returns:

A pointer to the newly created instance of PhysicalSubhingeVars.