Choreonoid  1.5
Classes | Public Member Functions | Public Attributes | List of all members
cnoid::DaeShape Class Reference

It will hold the information of primitive figure for physics. More...

#include <DaeNode.h>

Inheritance diagram for cnoid::DaeShape:
cnoid::DaeNode cnoid::Dae cnoid::Referenced

Classes

class  Box
 
class  Cone
 
class  Cylinder
 
class  Polygon
 
class  Sphere
 

Public Member Functions

 DaeShape ()
 
bool isPresence ()
 
void setBox (Vector3 ext)
 
void setSphere (double radius)
 
void setCylinder (double height, double radius)
 
void setCone (double height, const Vector2 &radius1, const Vector2 &radius2)
 
void setPolygon (DaeGeometryPtr geometry)
 
void format ()
 
- Public Member Functions inherited from cnoid::DaeNode
 DaeNode ()
 
DaeNodePtr clone ()
 
- Public Member Functions inherited from cnoid::Dae
 Dae ()
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 
void addRef ()
 
void releaseRef ()
 

Public Attributes

 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
 
Box box
 
Sphere sphere
 
Cylinder cylinder
 
Cone cone
 
Polygon polygon
 
std::string refMaterialId
 
- Public Attributes inherited from cnoid::DaeNode
std::string name
 
std::string refNodeId
 
std::string refName
 
DaeNodePtr parent
 
DaeTransform transform
 
DaeGeometries geometries
 
DaeNodeStack stack
 
DaeNodes children
 
int type
 
- Public Attributes inherited from cnoid::Dae
std::string id
 

Additional Inherited Members

- Protected Member Functions inherited from cnoid::DaeNode
void addChild (DaeNodePtr node)
 
- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &org)
 
int refCount () const
 

Detailed Description

It will hold the information of primitive figure for physics.

Constructor & Destructor Documentation

cnoid::DaeShape::DaeShape ( )
inline

Member Function Documentation

void cnoid::DaeShape::format ( )
inline
bool cnoid::DaeShape::isPresence ( )
inline
void cnoid::DaeShape::setBox ( Vector3  ext)
inline
void cnoid::DaeShape::setCone ( double  height,
const Vector2 radius1,
const Vector2 radius2 
)
inline
void cnoid::DaeShape::setCylinder ( double  height,
double  radius 
)
inline
void cnoid::DaeShape::setPolygon ( DaeGeometryPtr  geometry)
inline
void cnoid::DaeShape::setSphere ( double  radius)
inline

Member Data Documentation

Box cnoid::DaeShape::box
Cone cnoid::DaeShape::cone
Cylinder cnoid::DaeShape::cylinder
cnoid::DaeShape::EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Polygon cnoid::DaeShape::polygon
std::string cnoid::DaeShape::refMaterialId
Sphere cnoid::DaeShape::sphere

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