openrave.org

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

Describes the properties of a geometric primitive. [詳細]

#include <kinbody.h>

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

Public メソッド

 GeometryInfo ()
 
virtual ~GeometryInfo ()
 
bool InitCollisionMesh (float fTessellation=1)
 
dReal GetSphereRadius () const
 
dReal GetCylinderRadius () const
 
dReal GetCylinderHeight () const
 
const VectorGetBoxExtents () const
 
- Public メソッド inherited from OpenRAVE::XMLReadable
 XMLReadable (const std::string &xmlid)
 
virtual ~XMLReadable ()
 
virtual const std::string & GetXMLId () const
 
virtual void Serialize (BaseXMLWriterPtr writer, int options=0) const
 serializes the interface
 
- Public メソッド inherited from OpenRAVE::UserData
virtual ~UserData ()
 

Public 変数

Transform _t
 Local transformation of the geom primitive with respect to the link's coordinate system.
 
Vector _vGeomData
 
RaveVector< float > _vDiffuseColor
 
RaveVector< float > _vAmbientColor
 hints for how to color the meshes
 
TriMesh _meshcollision
 trimesh representation of the collision data of this object in this local coordinate system
 
GeometryType _type
 the type of geometry primitive
 
std::string _filenamerender
 filename for render model (optional)
 
std::string _filenamecollision
 filename for collision data (optional)
 
Vector _vRenderScale
 render scale of the object (x,y,z) from _filenamerender
 
Vector _vCollisionScale
 render scale of the object (x,y,z) from _filenamecollision
 
float _fTransparency
 value from 0-1 for the transparency of the rendered object, 0 is opaque
 
bool _bVisible
 if true, geometry is visible as part of the 3d model (default is true)
 
bool _bModifiable
 if true, object geometry can be dynamically modified (default is true)
 

説明

Describes the properties of a geometric primitive.

Contains everything associated with a geometry's appearance and shape

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

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

OpenRAVE::KinBody::GeometryInfo::GeometryInfo ( )
virtual OpenRAVE::KinBody::GeometryInfo::~GeometryInfo ( )
inlinevirtual

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

関数

const Vector& OpenRAVE::KinBody::GeometryInfo::GetBoxExtents ( ) const
inline

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

dReal OpenRAVE::KinBody::GeometryInfo::GetCylinderHeight ( ) const
inline

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

dReal OpenRAVE::KinBody::GeometryInfo::GetCylinderRadius ( ) const
inline

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

dReal OpenRAVE::KinBody::GeometryInfo::GetSphereRadius ( ) const
inline

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

bool OpenRAVE::KinBody::GeometryInfo::InitCollisionMesh ( float  fTessellation = 1)

triangulates the geometry object and initializes collisionmesh. GeomTrimesh types must already be triangulated

引数
fTessellationto control how fine the triangles need to be. 1.0f is the default value

変数

bool OpenRAVE::KinBody::GeometryInfo::_bModifiable

if true, object geometry can be dynamically modified (default is true)

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

bool OpenRAVE::KinBody::GeometryInfo::_bVisible

if true, geometry is visible as part of the 3d model (default is true)

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

std::string OpenRAVE::KinBody::GeometryInfo::_filenamecollision

filename for collision data (optional)

If the value is "__norenderif__:x", then the viewer should not render the object if it supports *.x files where"x" is the file extension.

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

std::string OpenRAVE::KinBody::GeometryInfo::_filenamerender

filename for render model (optional)

Should be transformed by _t before rendering. If the value is "__norenderif__:x", then the viewer should not render the object if it supports *.x files where"x" is the file extension.

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

float OpenRAVE::KinBody::GeometryInfo::_fTransparency

value from 0-1 for the transparency of the rendered object, 0 is opaque

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

TriMesh OpenRAVE::KinBody::GeometryInfo::_meshcollision

trimesh representation of the collision data of this object in this local coordinate system

Should be transformed by _t before rendering. For spheres and cylinders, an appropriate discretization value is chosen. If empty, will be automatically computed from the geometry's type and render data

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

Transform OpenRAVE::KinBody::GeometryInfo::_t

Local transformation of the geom primitive with respect to the link's coordinate system.

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

GeometryType OpenRAVE::KinBody::GeometryInfo::_type

the type of geometry primitive

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

RaveVector<float> OpenRAVE::KinBody::GeometryInfo::_vAmbientColor

hints for how to color the meshes

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

Vector OpenRAVE::KinBody::GeometryInfo::_vCollisionScale

render scale of the object (x,y,z) from _filenamecollision

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

RaveVector<float> OpenRAVE::KinBody::GeometryInfo::_vDiffuseColor

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

Vector OpenRAVE::KinBody::GeometryInfo::_vGeomData

for boxes, first 3 values are extents for sphere it is radius for cylinder, first 2 values are radius and height for trimesh, none

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

Vector OpenRAVE::KinBody::GeometryInfo::_vRenderScale

render scale of the object (x,y,z) from _filenamerender

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


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