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 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 ()
 
virtual SgObject * clone (SgCloneMap &cloneMap) const
 
virtual void accept (SceneVisitor &visitor)
 
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 ()
 

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() [1/2]

SgPlot::SgPlot ( )

◆ SgPlot() [2/2]

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

Member Function Documentation

◆ boundingBox()

const BoundingBox & SgPlot::boundingBox ( ) const
virtual

Reimplemented from cnoid::SgNode.

◆ childObject()

SgObject * SgPlot::childObject ( int  index)
virtual

Reimplemented from cnoid::SgObject.

◆ colorIndices() [1/2]

const SgIndexArray& cnoid::SgPlot::colorIndices ( ) const
inline

◆ colorIndices() [2/2]

SgIndexArray& cnoid::SgPlot::colorIndices ( )
inline

◆ colors() [1/2]

SgColorArray* cnoid::SgPlot::colors ( )
inline

◆ colors() [2/2]

const SgColorArray* cnoid::SgPlot::colors ( ) const
inline

◆ getOrCreateColors()

SgColorArray * SgPlot::getOrCreateColors ( )

◆ getOrCreateNormals()

SgNormalArray * SgPlot::getOrCreateNormals ( )

◆ getOrCreateVertices()

SgVertexArray * SgPlot::getOrCreateVertices ( )

◆ hasColors()

bool cnoid::SgPlot::hasColors ( ) const
inline

◆ hasNormals()

bool cnoid::SgPlot::hasNormals ( ) const
inline

◆ hasVertices()

bool cnoid::SgPlot::hasVertices ( ) const
inline

◆ material() [1/2]

SgMaterial* cnoid::SgPlot::material ( )
inline

◆ material() [2/2]

const SgMaterial* cnoid::SgPlot::material ( ) const
inline

◆ normalIndices() [1/2]

const SgIndexArray& cnoid::SgPlot::normalIndices ( ) const
inline

◆ normalIndices() [2/2]

SgIndexArray& cnoid::SgPlot::normalIndices ( )
inline

◆ normals() [1/2]

SgNormalArray* cnoid::SgPlot::normals ( )
inline

◆ normals() [2/2]

const SgNormalArray* cnoid::SgPlot::normals ( ) const
inline

◆ numChildObjects()

int SgPlot::numChildObjects ( ) const
virtual

Reimplemented from cnoid::SgObject.

◆ setColors()

SgColorArray * SgPlot::setColors ( SgColorArray *  colors)

◆ setMaterial()

SgMaterial * SgPlot::setMaterial ( SgMaterial *  material)

◆ setNormals()

SgNormalArray * SgPlot::setNormals ( SgNormalArray *  normals)

◆ setVertices()

SgVertexArray * SgPlot::setVertices ( SgVertexArray *  vertices)

◆ updateBoundingBox()

void SgPlot::updateBoundingBox ( )

◆ vertices() [1/2]

SgVertexArray* cnoid::SgPlot::vertices ( )
inline

◆ vertices() [2/2]

const SgVertexArray* cnoid::SgPlot::vertices ( ) const
inline

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