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

#include <LinkPositionWidget.h>

Inheritance diagram for cnoid::LinkPositionWidget:

Public Types

enum  TargetLinkType { AnyLink, RootOrIkLink, IkLink, NumTargetLinkTypes }
 
typedef std::function< std::string(LinkKinematicsKit *kit, CoordinateFrame *frame, bool isDefaultFrame)> FrameLabelFunction
 

Public Member Functions

 LinkPositionWidget (QWidget *parent)
 
 ~LinkPositionWidget ()
 
void customizeCoordinateModeLabels (const char *worldModeLabel, const char *modelModeLabel, const char *localModeLabel)
 
void customizeBaseFrameLabels (const char *caption, FrameLabelFunction labelFunction)
 
void customizeOffsetFrameLabels (const char *caption, FrameLabelFunction labelFunction)
 
void setTargetLinkType (int type)
 
int targetLinkType () const
 
void setTargetBodyAndLink (BodyItem *bodyItem, Link *link)
 
BodyItemtargetBodyItem ()
 
LinktargetLink ()
 
void setCustomIkEnabled (bool on)
 
bool isCustomIkEnabled () const
 
void setOptionMenuTo (MenuManager &menuManager)
 
bool storeState (Archive &archive)
 
bool restoreState (const Archive &archive)
 

Member Typedef Documentation

◆ FrameLabelFunction

typedef std::function<std::string(LinkKinematicsKit* kit, CoordinateFrame* frame, bool isDefaultFrame)> cnoid::LinkPositionWidget::FrameLabelFunction

Member Enumeration Documentation

◆ TargetLinkType

Enumerator
AnyLink 
RootOrIkLink 
IkLink 
NumTargetLinkTypes 

Constructor & Destructor Documentation

◆ LinkPositionWidget()

LinkPositionWidget::LinkPositionWidget ( QWidget *  parent)

◆ ~LinkPositionWidget()

LinkPositionWidget::~LinkPositionWidget ( )

Member Function Documentation

◆ customizeBaseFrameLabels()

void LinkPositionWidget::customizeBaseFrameLabels ( const char *  caption,
FrameLabelFunction  labelFunction 
)

◆ customizeCoordinateModeLabels()

void LinkPositionWidget::customizeCoordinateModeLabels ( const char *  worldModeLabel,
const char *  modelModeLabel,
const char *  localModeLabel 
)

◆ customizeOffsetFrameLabels()

void LinkPositionWidget::customizeOffsetFrameLabels ( const char *  caption,
FrameLabelFunction  labelFunction 
)

◆ isCustomIkEnabled()

bool LinkPositionWidget::isCustomIkEnabled ( ) const

◆ restoreState()

bool LinkPositionWidget::restoreState ( const Archive archive)

◆ setCustomIkEnabled()

void LinkPositionWidget::setCustomIkEnabled ( bool  on)

◆ setOptionMenuTo()

void LinkPositionWidget::setOptionMenuTo ( MenuManager menuManager)

◆ setTargetBodyAndLink()

void LinkPositionWidget::setTargetBodyAndLink ( BodyItem bodyItem,
Link link 
)

◆ setTargetLinkType()

void LinkPositionWidget::setTargetLinkType ( int  type)

◆ storeState()

bool LinkPositionWidget::storeState ( Archive archive)

◆ targetBodyItem()

BodyItem * LinkPositionWidget::targetBodyItem ( )

◆ targetLink()

Link * LinkPositionWidget::targetLink ( )

◆ targetLinkType()

int LinkPositionWidget::targetLinkType ( ) const

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