openrave.org

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

geometry object holding a link parent and wrapping access to a protected geometry info [詳細]

#include <kinbody.h>

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

Public メソッド

 Geometry (boost::shared_ptr< Link > parent, const KinBody::GeometryInfo &info)
 
virtual ~Geometry ()
 
const TransformGetTransform () const
 get local geometry transform
 
GeometryType GetType () const
 
const VectorGetRenderScale () const
 
const std::string & GetRenderFilename () const
 
float GetTransparency () const
 
bool IsDraw () const RAVE_DEPRECATED
 
bool IsVisible () const
 
bool IsModifiable () const
 
dReal GetSphereRadius () const
 
dReal GetCylinderRadius () const
 
dReal GetCylinderHeight () const
 
const VectorGetBoxExtents () const
 
const RaveVector< float > & GetDiffuseColor () const
 
const RaveVector< float > & GetAmbientColor () const
 
const TriMeshGetCollisionMesh () const
 returns the local collision mesh
 
const KinBody::GeometryInfoGetInfo () const
 
virtual AABB ComputeAABB (const Transform &trans) const
 returns an axis aligned bounding box given that the geometry is transformed by trans
 
virtual void serialize (std::ostream &o, int options) const
 
virtual void SetCollisionMesh (const TriMesh &mesh)
 sets a new collision mesh and notifies every registered callback about it
 
virtual bool SetVisible (bool visible)
 sets visible flag. if changed, notifies every registered callback about it.
 
void SetDraw (bool bDraw) RAVE_DEPRECATED
 
virtual void SetTransparency (float f)
 set transparency level (0 is opaque)
 
virtual void SetDiffuseColor (const RaveVector< float > &color)
 override diffuse color of geometry material
 
virtual void SetAmbientColor (const RaveVector< float > &color)
 override ambient color of geometry material
 
virtual bool ValidateContactNormal (const Vector &position, Vector &normal) const
 validates the contact normal on the surface of the geometry and makes sure the normal faces "outside" of the shape.
 
virtual void SetRenderFilename (const std::string &renderfilename)
 sets a new render filename for the geometry. This does not change the collision
 

Static Public 変数

static const GeometryType GeomNone RAVE_DEPRECATED = OpenRAVE::GT_None
 
static const GeometryType GeomBox RAVE_DEPRECATED = OpenRAVE::GT_Box
 
static const GeometryType
GeomSphere 
RAVE_DEPRECATED = OpenRAVE::GT_Sphere
 
static const GeometryType
GeomCylinder 
RAVE_DEPRECATED = OpenRAVE::GT_Cylinder
 
static const GeometryType
GeomTrimesh 
RAVE_DEPRECATED = OpenRAVE::GT_TriMesh
 

Protected 変数

boost::weak_ptr< Link_parent
 
KinBody::GeometryInfo _info
 geometry info
 

説明

geometry object holding a link parent and wrapping access to a protected geometry info

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

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

OpenRAVE::KinBody::Link::Geometry::Geometry ( boost::shared_ptr< Link parent,
const KinBody::GeometryInfo info 
)
virtual OpenRAVE::KinBody::Link::Geometry::~Geometry ( )
inlinevirtual

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

関数

virtual AABB OpenRAVE::KinBody::Link::Geometry::ComputeAABB ( const Transform trans) const
virtual

returns an axis aligned bounding box given that the geometry is transformed by trans

const RaveVector<float>& OpenRAVE::KinBody::Link::Geometry::GetAmbientColor ( ) const
inline

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

const Vector& OpenRAVE::KinBody::Link::Geometry::GetBoxExtents ( ) const
inline

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

const TriMesh& OpenRAVE::KinBody::Link::Geometry::GetCollisionMesh ( ) const
inline

returns the local collision mesh

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

dReal OpenRAVE::KinBody::Link::Geometry::GetCylinderHeight ( ) const
inline

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

dReal OpenRAVE::KinBody::Link::Geometry::GetCylinderRadius ( ) const
inline

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

const RaveVector<float>& OpenRAVE::KinBody::Link::Geometry::GetDiffuseColor ( ) const
inline

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

const KinBody::GeometryInfo& OpenRAVE::KinBody::Link::Geometry::GetInfo ( ) const
inline

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

const std::string& OpenRAVE::KinBody::Link::Geometry::GetRenderFilename ( ) const
inline

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

const Vector& OpenRAVE::KinBody::Link::Geometry::GetRenderScale ( ) const
inline

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

dReal OpenRAVE::KinBody::Link::Geometry::GetSphereRadius ( ) const
inline

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

const Transform& OpenRAVE::KinBody::Link::Geometry::GetTransform ( ) const
inline

get local geometry transform

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

float OpenRAVE::KinBody::Link::Geometry::GetTransparency ( ) const
inline

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

GeometryType OpenRAVE::KinBody::Link::Geometry::GetType ( ) const
inline

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

bool OpenRAVE::KinBody::Link::Geometry::IsDraw ( ) const
inline
非推奨:
(12/1/12)

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

bool OpenRAVE::KinBody::Link::Geometry::IsModifiable ( ) const
inline

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

bool OpenRAVE::KinBody::Link::Geometry::IsVisible ( ) const
inline

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

virtual void OpenRAVE::KinBody::Link::Geometry::serialize ( std::ostream &  o,
int  options 
) const
virtual
virtual void OpenRAVE::KinBody::Link::Geometry::SetAmbientColor ( const RaveVector< float > &  color)
virtual

override ambient color of geometry material

virtual void OpenRAVE::KinBody::Link::Geometry::SetCollisionMesh ( const TriMesh mesh)
virtual

sets a new collision mesh and notifies every registered callback about it

virtual void OpenRAVE::KinBody::Link::Geometry::SetDiffuseColor ( const RaveVector< float > &  color)
virtual

override diffuse color of geometry material

void OpenRAVE::KinBody::Link::Geometry::SetDraw ( bool  bDraw)
inline
非推奨:
(12/1/12)

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

virtual void OpenRAVE::KinBody::Link::Geometry::SetRenderFilename ( const std::string &  renderfilename)
virtual

sets a new render filename for the geometry. This does not change the collision

virtual void OpenRAVE::KinBody::Link::Geometry::SetTransparency ( float  f)
virtual

set transparency level (0 is opaque)

virtual bool OpenRAVE::KinBody::Link::Geometry::SetVisible ( bool  visible)
virtual

sets visible flag. if changed, notifies every registered callback about it.

戻り値
true if changed
virtual bool OpenRAVE::KinBody::Link::Geometry::ValidateContactNormal ( const Vector position,
Vector normal 
) const
virtual

validates the contact normal on the surface of the geometry and makes sure the normal faces "outside" of the shape.

引数
positionthe position of the contact point specified in the link's coordinate system
normalthe unit normal of the contact point specified in the link's coordinate system
戻り値
true if the normal is changed to face outside of the shape

変数

KinBody::GeometryInfo OpenRAVE::KinBody::Link::Geometry::_info
protected

geometry info

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

boost::weak_ptr<Link> OpenRAVE::KinBody::Link::Geometry::_parent
protected

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

const GeometryType GeomNone OpenRAVE::KinBody::Link::Geometry::RAVE_DEPRECATED = OpenRAVE::GT_None
static
非推奨:
(12/07/16)

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

const GeometryType GeomBox OpenRAVE::KinBody::Link::Geometry::RAVE_DEPRECATED = OpenRAVE::GT_Box
static

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

const GeometryType GeomSphere OpenRAVE::KinBody::Link::Geometry::RAVE_DEPRECATED = OpenRAVE::GT_Sphere
static

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

const GeometryType GeomCylinder OpenRAVE::KinBody::Link::Geometry::RAVE_DEPRECATED = OpenRAVE::GT_Cylinder
static

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

const GeometryType GeomTrimesh OpenRAVE::KinBody::Link::Geometry::RAVE_DEPRECATED = OpenRAVE::GT_TriMesh
static

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


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