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

#include <SceneDrawables.h>

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

Public Member Functions

 SgPlot ()
 
virtual int numChildObjects () const
 
virtual SgObjectchildObject (int index)
 
virtual const BoundingBoxboundingBox () const
 
void updateBoundingBox ()
 
bool hasVertices () const
 
SgVertexArrayvertices ()
 
const SgVertexArrayvertices () const
 
SgVertexArraysetVertices (SgVertexArray *vertices)
 
SgVertexArraygetOrCreateVertices ()
 
SgMaterialmaterial ()
 
const SgMaterialmaterial () const
 
SgMaterialsetMaterial (SgMaterial *material)
 
bool hasNormals () const
 
SgNormalArraynormals ()
 
const SgNormalArraynormals () const
 
SgNormalArraysetNormals (SgNormalArray *normals)
 
SgVertexArraygetOrCreateNormals ()
 
const SgIndexArraynormalIndices () const
 
SgIndexArraynormalIndices ()
 
bool hasColors () const
 
SgColorArraycolors ()
 
const SgColorArraycolors () const
 
SgColorArraysetColors (SgColorArray *colors)
 
SgColorArraygetOrCreateColors ()
 
const SgIndexArraycolorIndices () const
 
SgIndexArraycolorIndices ()
 
- Public Member Functions inherited from cnoid::SgNode
 SgNode ()
 
 SgNode (const SgNode &org)
 
 ~SgNode ()
 
virtual SgObjectclone (SgCloneMap &cloneMap) const
 
virtual void accept (SceneVisitor &visitor)
 
SgNodecloneNode (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 ()
 

Protected Member Functions

 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
 

Additional Inherited Members

- Public Types inherited from cnoid::SgObject
typedef std::set< SgObject * > ParentContainer
 
typedef ParentContainer::iterator parentIter
 
typedef ParentContainer::const_iterator const_parentIter
 

Constructor & Destructor Documentation

SgPlot::SgPlot ( )
SgPlot::SgPlot ( const SgPlot org,
SgCloneMap cloneMap 
)
protected

Member Function Documentation

const BoundingBox & SgPlot::boundingBox ( ) const
virtual

Reimplemented from cnoid::SgNode.

SgObject * SgPlot::childObject ( int  index)
virtual

Reimplemented from cnoid::SgObject.

const SgIndexArray& cnoid::SgPlot::colorIndices ( ) const
inline
SgIndexArray& cnoid::SgPlot::colorIndices ( )
inline
SgColorArray* cnoid::SgPlot::colors ( )
inline
const SgColorArray* cnoid::SgPlot::colors ( ) const
inline
SgColorArray * SgPlot::getOrCreateColors ( )
SgNormalArray * SgPlot::getOrCreateNormals ( )
SgVertexArray * SgPlot::getOrCreateVertices ( )
bool cnoid::SgPlot::hasColors ( ) const
inline
bool cnoid::SgPlot::hasNormals ( ) const
inline
bool cnoid::SgPlot::hasVertices ( ) const
inline
SgMaterial* cnoid::SgPlot::material ( )
inline
const SgMaterial* cnoid::SgPlot::material ( ) const
inline
const SgIndexArray& cnoid::SgPlot::normalIndices ( ) const
inline
SgIndexArray& cnoid::SgPlot::normalIndices ( )
inline
SgNormalArray* cnoid::SgPlot::normals ( )
inline
const SgNormalArray* cnoid::SgPlot::normals ( ) const
inline
int SgPlot::numChildObjects ( ) const
virtual

Reimplemented from cnoid::SgObject.

SgColorArray * SgPlot::setColors ( SgColorArray colors)
SgMaterial * SgPlot::setMaterial ( SgMaterial material)
SgNormalArray * SgPlot::setNormals ( SgNormalArray normals)
SgVertexArray * SgPlot::setVertices ( SgVertexArray vertices)
void SgPlot::updateBoundingBox ( )
SgVertexArray* cnoid::SgPlot::vertices ( )
inline
const SgVertexArray* cnoid::SgPlot::vertices ( ) const
inline

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