openrave.org

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義 グループ ページ
Public メソッド | Protected 変数 | すべてのメンバ一覧
クラス OpenRAVE::KinBody::KinBodyStateSaver

Helper class to save and restore the entire kinbody state. [詳細]

#include <kinbody.h>

OpenRAVE::KinBody::KinBodyStateSaverのコラボレーション図
Collaboration graph
[凡例]

Public メソッド

 KinBodyStateSaver (KinBodyPtr pbody, int options=Save_LinkTransformation|Save_LinkEnable)
 
virtual ~KinBodyStateSaver ()
 
KinBodyPtr GetBody () const
 
virtual void Restore (boost::shared_ptr< KinBody > body=boost::shared_ptr< KinBody >())
 restore the state
 
virtual void Release ()
 release the body state. _pbody will not get restored on destruction
 

Protected 変数

int _options
 saved options
 
std::vector< Transform_vLinkTransforms
 
std::vector< uint8_t > _vEnabledLinks
 
std::vector< std::pair< Vector,
Vector > > 
_vLinkVelocities
 
std::vector< int > _vdofbranches
 
std::vector< dReal_vMaxVelocities
 
std::vector< dReal_vMaxAccelerations
 
KinBodyPtr _pbody
 

説明

Helper class to save and restore the entire kinbody state.

Options can be passed to the constructor in order to choose which parameters to save (see SaveParameters)

例:
orplanning_door.cpp.

kinbody.h1194 行で定義されています。

コンストラクタとデストラクタ

OpenRAVE::KinBody::KinBodyStateSaver::KinBodyStateSaver ( KinBodyPtr  pbody,
int  options = Save_LinkTransformation|Save_LinkEnable 
)

kinbody.cpp48 行で定義されています。

OpenRAVE::KinBody::KinBodyStateSaver::~KinBodyStateSaver ( )
virtual

kinbody.cpp68 行で定義されています。

関数

KinBodyPtr OpenRAVE::KinBody::KinBodyStateSaver::GetBody ( ) const
inline

kinbody.h1199 行で定義されています。

void OpenRAVE::KinBody::KinBodyStateSaver::Release ( )
virtual

release the body state. _pbody will not get restored on destruction

After this call, it will still be possible to use Restore.

kinbody.cpp78 行で定義されています。

void OpenRAVE::KinBody::KinBodyStateSaver::Restore ( boost::shared_ptr< KinBody body = boost::shared_ptr<KinBody>())
virtual

restore the state

引数
bodyif set, will attempt to restore the stored state to the passed in body, otherwise will restore it for the original body.
例外
openrave_exceptionif the passed in body is not compatible with the saved state, will throw

kinbody.cpp73 行で定義されています。

変数

int OpenRAVE::KinBody::KinBodyStateSaver::_options
protected

saved options

kinbody.h1214 行で定義されています。

KinBodyPtr OpenRAVE::KinBody::KinBodyStateSaver::_pbody
protected

kinbody.h1220 行で定義されています。

std::vector<int> OpenRAVE::KinBody::KinBodyStateSaver::_vdofbranches
protected

kinbody.h1218 行で定義されています。

std::vector<uint8_t> OpenRAVE::KinBody::KinBodyStateSaver::_vEnabledLinks
protected

kinbody.h1216 行で定義されています。

std::vector<Transform> OpenRAVE::KinBody::KinBodyStateSaver::_vLinkTransforms
protected

kinbody.h1215 行で定義されています。

std::vector<std::pair<Vector,Vector> > OpenRAVE::KinBody::KinBodyStateSaver::_vLinkVelocities
protected

kinbody.h1217 行で定義されています。

std::vector<dReal> OpenRAVE::KinBody::KinBodyStateSaver::_vMaxAccelerations
protected

kinbody.h1219 行で定義されています。

std::vector<dReal> OpenRAVE::KinBody::KinBodyStateSaver::_vMaxVelocities
protected

kinbody.h1219 行で定義されています。


このクラスの説明は次のファイルから生成されました: