Choreonoid  1.5
Public Member Functions | List of all members
cnoid::SceneCollision Class Reference

#include <SceneCollision.h>

Inheritance diagram for cnoid::SceneCollision:
cnoid::SgLineSet cnoid::SgPlot cnoid::SgNode cnoid::SgObject cnoid::Referenced

Public Member Functions

 SceneCollision (boost::shared_ptr< std::vector< CollisionLinkPairPtr > > collisionPairs)
 
void setDirty ()
 
virtual void accept (SceneVisitor &visitor)
 
- Public Member Functions inherited from cnoid::SgLineSet
 SgLineSet ()
 
virtual SgObject * clone (SgCloneMap &cloneMap) const
 
const SgIndexArray & lineVertices () const
 
SgIndexArray & lineVertices ()
 
int numLines () const
 
void setNumLines (int n)
 
void reserveNumLines (int n)
 
LineRef line (int index)
 
ConstLineRef line (int index) const
 
void setLine (int index, int v0, int v1)
 
LineRef addLine ()
 
void addLine (int v0, int v1)
 
void setLineWidth (float width)
 
float lineWidth () const
 
- Public Member Functions inherited from cnoid::SgPlot
 SgPlot ()
 
virtual int numChildObjects () const
 
virtual SgObject * childObject (int index)
 
virtual const BoundingBox & boundingBox () const
 
void updateBoundingBox ()
 
bool hasVertices () const
 
SgVertexArray * vertices ()
 
const SgVertexArray * vertices () const
 
SgVertexArray * setVertices (SgVertexArray *vertices)
 
SgVertexArray * getOrCreateVertices ()
 
SgMaterial * material ()
 
const SgMaterial * material () const
 
SgMaterial * setMaterial (SgMaterial *material)
 
bool hasNormals () const
 
SgNormalArray * normals ()
 
const SgNormalArray * normals () const
 
SgNormalArray * setNormals (SgNormalArray *normals)
 
SgVertexArray * getOrCreateNormals ()
 
const SgIndexArray & normalIndices () const
 
SgIndexArray & normalIndices ()
 
bool hasColors () const
 
SgColorArray * colors ()
 
const SgColorArray * colors () const
 
SgColorArray * setColors (SgColorArray *colors)
 
SgColorArray * getOrCreateColors ()
 
const SgIndexArray & colorIndices () const
 
SgIndexArray & colorIndices ()
 
- Public Member Functions inherited from cnoid::SgNode
 SgNode ()
 
 SgNode (const SgNode &org)
 
 ~SgNode ()
 
SgNode * cloneNode (SgCloneMap &cloneMap) const
 
virtual bool isGroup () const
 
- Public Member Functions inherited from cnoid::SgObject
const std::string & name () const
 
void setName (const std::string &name)
 
SignalProxy< void(const SgUpdate &update)> sigUpdated ()
 
void notifyUpdate (SgUpdate &update)
 
void notifyUpdate (int action=SgUpdate::MODIFIED)
 
void addParent (SgObject *parent, bool doNotify=false)
 
void removeParent (SgObject *parent)
 
int numParents () const
 
bool hasParents () const
 
const_parentIter parentBegin () const
 
const_parentIter parentEnd () const
 
SignalProxy< void(bool on)> sigGraphConnection ()
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 
void addRef ()
 
void releaseRef ()
 

Additional Inherited Members

- Public Types inherited from cnoid::SgLineSet
typedef Eigen::Map< Array2i > LineRef
 
typedef Eigen::Map< const Array2i > ConstLineRef
 
- Public Types inherited from cnoid::SgObject
typedef std::set< SgObject * > ParentContainer
 
typedef ParentContainer::iterator parentIter
 
typedef ParentContainer::const_iterator const_parentIter
 
- Protected Member Functions inherited from cnoid::SgLineSet
 SgLineSet (const SgLineSet &org, SgCloneMap &cloneMap)
 
- Protected Member Functions inherited from cnoid::SgPlot
 SgPlot (const SgPlot &org, SgCloneMap &cloneMap)
 
- Protected Member Functions inherited from cnoid::SgObject
 SgObject ()
 
 SgObject (const SgObject &org)
 
virtual void onUpdated (SgUpdate &update)
 
- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &org)
 
int refCount () const
 

Constructor & Destructor Documentation

§ SceneCollision()

cnoid::SceneCollision::SceneCollision ( boost::shared_ptr< std::vector< CollisionLinkPairPtr > >  collisionPairs)

Member Function Documentation

§ accept()

void SceneCollision::accept ( SceneVisitor &  visitor)
virtual

Reimplemented from cnoid::SgLineSet.

§ setDirty()

void cnoid::SceneCollision::setDirty ( )
inline

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