Class LockedSubhinge#

Inheritance Relationships#

Base Type#

Class Documentation#

class LockedSubhinge : public Karana::Dynamics::PhysicalSubhinge_T<0, 0>#

Represents a locked subhinge.

See Subhinges section for more information on physical subhinges.

Public Functions

LockedSubhinge(kc::ks_ptr<kf::Frame> oframe, kc::ks_ptr<kf::Frame> pframe, const std::string &name, kc::ks_ptr<FramePairHinge> hge)#

Constructs a LockedSubhinge_T.

virtual ~LockedSubhinge()#

LockedSubhinge destructor.

inline virtual const std::string &typeString() const noexcept override#

Returns the type string of the SubTree.

Returns:

The type string.

virtual SubhingeBase::SUBHINGE_TYPE subhingeType() const override#

Helper method to return the subhinge type.

Returns:

the subhinge type

Protected Functions

virtual kc::ks_ptr<PhysicalSubhinge::PhysicalSubhingeParams> _getParams() const override#

Get/set params for a subhinge.

virtual void _setParams(const PhysicalSubhinge::PhysicalSubhingeParams &params) override#

apply the params from the twin subhinge to this subhinge