Choreonoid  1.8
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
cnoid::KinematicsBar Class Reference

#include <KinematicsBar.h>

Inheritance diagram for cnoid::KinematicsBar:
cnoid::ToolBar

Public Types

enum  Mode {
  NoKinematics = 0, PresetKinematics = 1, ForwardKinematics = 2, InverseKinematics = 3,
  AUTO_MODE = PresetKinematics, FK_MODE = ForwardKinematics, IK_MODE = InverseKinematics
}
 

Public Member Functions

virtual ~KinematicsBar ()
 
int mode () const
 
bool isForwardKinematicsEnabled () const
 
bool isInverseKinematicsEnabled () const
 
SignalProxy< void()> sigKinematicsModeChanged ()
 
bool isPositionDraggerEnabled () const
 
bool isFootSnapMode () const
 
void getSnapThresholds (double &distance, double &angle) const
 
bool isJointPositionLimitMode () const
 
bool isPenetrationBlockMode () const
 
double penetrationBlockDepth () const
 
bool isCollisionLinkHighlihtMode () const
 
int collisionDetectionPriority () const
 
SignalProxy< void()> sigCollisionVisualizationChanged ()
 
- Public Member Functions inherited from cnoid::ToolBar
 ToolBar (const QString &name)
 
virtual ~ToolBar ()
 
ToolButtonaddButton (const QString &text, const QString &tooltip=QString())
 
ToolButtonaddButton (const QIcon &icon, const QString &tooltip=QString())
 
ToolButtonaddButton (const char *const *xpm, const QString &tooltip=QString())
 
ToolButtonaddToggleButton (const QString &text, const QString &tooltip=QString())
 
ToolButtonaddToggleButton (const QIcon &icon, const QString &tooltip=QString())
 
ToolButtonaddToggleButton (const char *const *xpm, const QString &tooltip=QString())
 
void requestNewRadioGroup ()
 
QButtonGroup * currentRadioGroup ()
 
ToolButtonaddRadioButton (const QString &text, const QString &tooltip=QString())
 
ToolButtonaddRadioButton (const QIcon &icon, const QString &tooltip=QString())
 
ToolButtonaddRadioButton (const char *const *xpm, const QString &tooltip=QString())
 
void addAction (QAction *action)
 
void addWidget (QWidget *widget)
 
QLabel * addLabel (const QString &text)
 
QLabel * addImage (const QString &filename)
 
QWidget * addSeparator ()
 
void addSpacing (int spacing=-1)
 
ToolBarsetInsertionPosition (int index)
 
void setVisibleByDefault (bool on=true)
 
bool isVisibleByDefault () const
 
void placeOnNewRowByDefault (bool on=true)
 
bool isPlacedOnNewRowByDefault () const
 
void setStretchable (bool on)
 
bool isStretchable () const
 
virtual int stretchableDefaultWidth () const
 
void setAutoRaiseByDefault (bool on=true)
 
bool isAutoRaiseByDefault () const
 
ToolBarAreatoolBarArea ()
 

Static Public Member Functions

static KinematicsBarinstance ()
 

Protected Member Functions

virtual bool storeState (Archive &archive)
 
virtual bool restoreState (const Archive &archive)
 

Additional Inherited Members

- Public Slots inherited from cnoid::ToolBar
void setEnabled (bool on)
 
void changeIconSize (const QSize &iconSize)
 

Member Enumeration Documentation

◆ Mode

Enumerator
NoKinematics 
PresetKinematics 
ForwardKinematics 
InverseKinematics 
AUTO_MODE 
FK_MODE 
IK_MODE 

Constructor & Destructor Documentation

◆ ~KinematicsBar()

KinematicsBar::~KinematicsBar ( )
virtual

Member Function Documentation

◆ collisionDetectionPriority()

int KinematicsBar::collisionDetectionPriority ( ) const

◆ getSnapThresholds()

void KinematicsBar::getSnapThresholds ( double &  distance,
double &  angle 
) const

◆ instance()

KinematicsBar * KinematicsBar::instance ( )
static

◆ isCollisionLinkHighlihtMode()

bool KinematicsBar::isCollisionLinkHighlihtMode ( ) const

◆ isFootSnapMode()

bool KinematicsBar::isFootSnapMode ( ) const

◆ isForwardKinematicsEnabled()

bool KinematicsBar::isForwardKinematicsEnabled ( ) const

◆ isInverseKinematicsEnabled()

bool KinematicsBar::isInverseKinematicsEnabled ( ) const

◆ isJointPositionLimitMode()

bool KinematicsBar::isJointPositionLimitMode ( ) const

◆ isPenetrationBlockMode()

bool KinematicsBar::isPenetrationBlockMode ( ) const

◆ isPositionDraggerEnabled()

bool KinematicsBar::isPositionDraggerEnabled ( ) const

◆ mode()

int KinematicsBar::mode ( ) const

◆ penetrationBlockDepth()

double KinematicsBar::penetrationBlockDepth ( ) const

◆ restoreState()

bool KinematicsBar::restoreState ( const Archive archive)
protectedvirtual

Reimplemented from cnoid::ToolBar.

◆ sigCollisionVisualizationChanged()

SignalProxy< void()> KinematicsBar::sigCollisionVisualizationChanged ( )

◆ sigKinematicsModeChanged()

SignalProxy< void()> KinematicsBar::sigKinematicsModeChanged ( )

◆ storeState()

bool KinematicsBar::storeState ( Archive archive)
protectedvirtual

Reimplemented from cnoid::ToolBar.


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