controllerclientcpp  0.6.1
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義 ページ
構成 | Public 型 | Public メソッド | すべてのメンバ一覧
クラス mujinclient::SceneResource

#include <mujincontrollerclient.h>

mujinclient::SceneResourceに対する継承グラフ
Inheritance graph
[凡例]
mujinclient::SceneResourceのコラボレーション図
Collaboration graph
[凡例]

構成

class  InstObject
 nested resource in the scene describe an object in the scene [詳細]

Public 型

typedef boost::shared_ptr
< InstObject
InstObjectPtr

Public メソッド

 SceneResource (ControllerClientPtr controller, const std::string &pk)
virtual ~SceneResource ()
virtual void SetInstObjectsState (const std::vector< SceneResource::InstObjectPtr > &instobjects, const std::vector< InstanceObjectState > &states)
virtual TaskResourcePtr GetOrCreateTaskFromName_UTF8 (const std::string &taskname, const std::string &tasktype, int options=0)
 Gets or creates the a task part of the scene.
virtual TaskResourcePtr GetOrCreateTaskFromName_UTF8 (const std::string &taskname, int options=0)
virtual TaskResourcePtr GetTaskFromName_UTF8 (const std::string &taskname, int options=0)
virtual TaskResourcePtr GetOrCreateTaskFromName_UTF16 (const std::wstring &taskname, const std::string &tasktype, int options=0)
 Gets or creates the a task part of the scene.
virtual TaskResourcePtr GetOrCreateTaskFromName_UTF16 (const std::wstring &taskname, int options=0)
virtual TaskResourcePtr GetTaskFromName_UTF16 (const std::wstring &taskname, int options=0)
virtual BinPickingTaskResourcePtr GetOrCreateBinPickingTaskFromName_UTF8 (const std::string &taskname, const std::string &tasktype="binpicking", int options=0)
virtual BinPickingTaskResourcePtr GetOrCreateBinPickingTaskFromName_UTF16 (const std::wstring &taskname, const std::string &tasktype="binpicking", int options=0)
virtual void GetTaskPrimaryKeys (std::vector< std::string > &taskkeys)
 gets a list of all the scene primary keys currently available to the user
virtual void GetSensorMapping (std::map< std::string, std::string > &sensormapping)
 gets a list of all the instance objects of the scene
virtual void GetInstObjects (std::vector< InstObjectPtr > &instobjects)
virtual bool FindInstObject (const std::string &name, InstObjectPtr &instobject)
virtual
SceneResource::InstObjectPtr 
CreateInstObject (const std::string &name, const std::string &reference_uri, Real quaternion[4], Real translate[3])
virtual SceneResourcePtr Copy (const std::string &name)
- Public メソッド inherited from mujinclient::WebResource
 WebResource (ControllerClientPtr controller, const std::string &resourcename, const std::string &pk)
virtual ~WebResource ()
ControllerClientPtr GetController () const
const std::string & GetResourceName () const
const std::string & GetPrimaryKey () const
virtual std::string Get (const std::string &field)
 gets an attribute of this web resource
virtual void Set (const std::string &field, const std::string &newvalue)
 sets an attribute of this web resource
virtual void Delete ()
 delete the resource and all its child resources
virtual void Copy (const std::string &newname, int options)
 copy the resource and all its child resources to a new name

説明

例:
mujinexecutetask.cpp, mujinimportscene.cpp, mujinimportscene_robodia.cpp, mujinjog.cpp, mujinmovetool.cpp, と mujinshowresults.cpp.

mujincontrollerclient.h760 行で定義されています。

型定義

mujincontrollerclient.h763 行で定義されています。

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

mujinclient::SceneResource::SceneResource ( ControllerClientPtr  controller,
const std::string &  pk 
)
virtual mujinclient::SceneResource::~SceneResource ( )
inlinevirtual

mujincontrollerclient.h835 行で定義されています。

関数

virtual SceneResourcePtr mujinclient::SceneResource::Copy ( const std::string &  name)
virtual
virtual SceneResource::InstObjectPtr mujinclient::SceneResource::CreateInstObject ( const std::string &  name,
const std::string &  reference_uri,
Real  quaternion[4],
Real  translate[3] 
)
virtual
virtual bool mujinclient::SceneResource::FindInstObject ( const std::string &  name,
InstObjectPtr instobject 
)
virtual
virtual void mujinclient::SceneResource::GetInstObjects ( std::vector< InstObjectPtr > &  instobjects)
virtual
virtual BinPickingTaskResourcePtr mujinclient::SceneResource::GetOrCreateBinPickingTaskFromName_UTF16 ( const std::wstring &  taskname,
const std::string &  tasktype = "binpicking",
int  options = 0 
)
virtual
virtual BinPickingTaskResourcePtr mujinclient::SceneResource::GetOrCreateBinPickingTaskFromName_UTF8 ( const std::string &  taskname,
const std::string &  tasktype = "binpicking",
int  options = 0 
)
virtual
virtual TaskResourcePtr mujinclient::SceneResource::GetOrCreateTaskFromName_UTF16 ( const std::wstring &  taskname,
const std::string &  tasktype,
int  options = 0 
)
virtual

Gets or creates the a task part of the scene.

If task exists already, validates it with tasktype.

引数
tasknameutf-16 encoded name of the task to search for or create. If the name already exists and is not tasktype, an exception is thrown
tasktypeThe type of task to create. Supported types are:
  • itlplanning
virtual TaskResourcePtr mujinclient::SceneResource::GetOrCreateTaskFromName_UTF16 ( const std::wstring &  taskname,
int  options = 0 
)
inlinevirtual

mujincontrollerclient.h866 行で定義されています。

virtual TaskResourcePtr mujinclient::SceneResource::GetOrCreateTaskFromName_UTF8 ( const std::string &  taskname,
const std::string &  tasktype,
int  options = 0 
)
virtual

Gets or creates the a task part of the scene.

If task exists already, validates it with tasktype.

引数
tasknameutf-8 encoded name of the task to search for or create. If the name already exists and is not tasktype, an exception is thrown
tasktypeThe type of task to create. Supported types are:
  • itlplanning
virtual TaskResourcePtr mujinclient::SceneResource::GetOrCreateTaskFromName_UTF8 ( const std::string &  taskname,
int  options = 0 
)
inlinevirtual

mujincontrollerclient.h850 行で定義されています。

virtual void mujinclient::SceneResource::GetSensorMapping ( std::map< std::string, std::string > &  sensormapping)
virtual

gets a list of all the instance objects of the scene

virtual TaskResourcePtr mujinclient::SceneResource::GetTaskFromName_UTF16 ( const std::wstring &  taskname,
int  options = 0 
)
virtual
virtual TaskResourcePtr mujinclient::SceneResource::GetTaskFromName_UTF8 ( const std::string &  taskname,
int  options = 0 
)
virtual
virtual void mujinclient::SceneResource::GetTaskPrimaryKeys ( std::vector< std::string > &  taskkeys)
virtual

gets a list of all the scene primary keys currently available to the user

virtual void mujinclient::SceneResource::SetInstObjectsState ( const std::vector< SceneResource::InstObjectPtr > &  instobjects,
const std::vector< InstanceObjectState > &  states 
)
virtual

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