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

#include <SceneGraph.h>

Public Types

enum  Action {
  NONE = 0, ADDED = 1 << 0, REMOVED = 1 << 1, BBOX_UPDATED = 1 << 2,
  MODIFIED = 1 << 3
}
 
typedef std::vector< SgObject * > Path
 

Public Member Functions

 SgUpdate ()
 
 SgUpdate (int action)
 
virtual ~SgUpdate ()
 
int action () const
 
bool isModified () const
 
void setAction (int act)
 
const Pathpath () const
 
void push (SgObject *node)
 
void pop ()
 
void clear ()
 

Member Typedef Documentation

◆ Path

typedef std::vector<SgObject*> cnoid::SgUpdate::Path

Member Enumeration Documentation

◆ Action

Enumerator
NONE 
ADDED 
REMOVED 
BBOX_UPDATED 
MODIFIED 

Constructor & Destructor Documentation

◆ SgUpdate() [1/2]

cnoid::SgUpdate::SgUpdate ( )
inline

◆ SgUpdate() [2/2]

cnoid::SgUpdate::SgUpdate ( int  action)
inline

◆ ~SgUpdate()

SgUpdate::~SgUpdate ( )
virtual

Member Function Documentation

◆ action()

int cnoid::SgUpdate::action ( ) const
inline

◆ clear()

void cnoid::SgUpdate::clear ( )
inline

◆ isModified()

bool cnoid::SgUpdate::isModified ( ) const
inline

◆ path()

const Path& cnoid::SgUpdate::path ( ) const
inline

◆ pop()

void cnoid::SgUpdate::pop ( )
inline

◆ push()

void cnoid::SgUpdate::push ( SgObject node)
inline

◆ setAction()

void cnoid::SgUpdate::setAction ( int  act)
inline

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