Choreonoid  1.8
Public Types | Public Member Functions | List of all members
cnoid::ExtraJoint Class Reference

#include <ExtraJoint.h>

Public Types

enum  ExtraJointType { EJ_PISTON, EJ_BALL }
 

Public Member Functions

 ExtraJoint ()
 
 ExtraJoint (ExtraJointType type, const Vector3 &axis)
 
ExtraJointType type () const
 
void setType (const ExtraJointType type)
 
const Vector3axis () const
 
void setAxis (const Vector3 &axis)
 
Linklink (int which) const
 
void setLink (int which, Link *link)
 
const Vector3point (int which) const
 
void setPoint (int which, const Vector3 &p)
 
const std::string & bodyName (int which) const
 
const std::string & linkName (int which) const
 
bool isForLinksOfSameBody () const
 

Member Enumeration Documentation

◆ ExtraJointType

Enumerator
EJ_PISTON 
EJ_BALL 

Constructor & Destructor Documentation

◆ ExtraJoint() [1/2]

cnoid::ExtraJoint::ExtraJoint ( )
inline

◆ ExtraJoint() [2/2]

cnoid::ExtraJoint::ExtraJoint ( ExtraJointType  type,
const Vector3 axis 
)
inline

Member Function Documentation

◆ axis()

const Vector3& cnoid::ExtraJoint::axis ( ) const
inline

◆ bodyName()

const std::string& cnoid::ExtraJoint::bodyName ( int  which) const
inline

◆ isForLinksOfSameBody()

bool cnoid::ExtraJoint::isForLinksOfSameBody ( ) const
inline

◆ link()

Link* cnoid::ExtraJoint::link ( int  which) const
inline

◆ linkName()

const std::string& cnoid::ExtraJoint::linkName ( int  which) const
inline

◆ point()

const Vector3& cnoid::ExtraJoint::point ( int  which) const
inline

◆ setAxis()

void cnoid::ExtraJoint::setAxis ( const Vector3 axis)
inline

◆ setLink()

void cnoid::ExtraJoint::setLink ( int  which,
Link link 
)
inline

◆ setPoint()

void cnoid::ExtraJoint::setPoint ( int  which,
const Vector3 p 
)
inline

◆ setType()

void cnoid::ExtraJoint::setType ( const ExtraJointType  type)
inline

◆ type()

ExtraJointType cnoid::ExtraJoint::type ( ) const
inline

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