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

#include <SceneDrawables.h>

Inheritance diagram for cnoid::SgImage:
cnoid::SgObject cnoid::Referenced

Public Member Functions

 SgImage ()
 
 SgImage (const Image &image)
 
 SgImage (boost::shared_ptr< Image > sharedImage)
 
 SgImage (const SgImage &org)
 
virtual SgObjectclone (SgCloneMap &cloneMap) const
 
Imageimage ()
 
const Imageimage () const
 
const ImageconstImage () const
 
bool empty () const
 
unsigned char * pixels ()
 
const unsigned char * pixels () const
 
const unsigned char * constPixels () const
 
int width () const
 
int height () const
 
int numComponents () const
 
void setSize (int width, int height, int nComponents)
 
void setSize (int width, int height)
 
- Public Member Functions inherited from cnoid::SgObject
const std::string & name () const
 
void setName (const std::string &name)
 
virtual int numChildObjects () const
 
virtual SgObjectchildObject (int index)
 
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::SgObject
typedef std::set< SgObject * > ParentContainer
 
typedef ParentContainer::iterator parentIter
 
typedef ParentContainer::const_iterator const_parentIter
 
- 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

SgImage::SgImage ( )
SgImage::SgImage ( const Image image)
SgImage::SgImage ( boost::shared_ptr< Image sharedImage)
SgImage::SgImage ( const SgImage org)

Member Function Documentation

SgObject * SgImage::clone ( SgCloneMap cloneMap) const
virtual

Reimplemented from cnoid::SgObject.

const Image& cnoid::SgImage::constImage ( ) const
inline
const unsigned char* cnoid::SgImage::constPixels ( ) const
inline
bool cnoid::SgImage::empty ( ) const
inline
int cnoid::SgImage::height ( ) const
inline
Image & SgImage::image ( )
const Image& cnoid::SgImage::image ( ) const
inline
int cnoid::SgImage::numComponents ( ) const
inline
unsigned char * SgImage::pixels ( )
const unsigned char* cnoid::SgImage::pixels ( ) const
inline
void SgImage::setSize ( int  width,
int  height,
int  nComponents 
)
void SgImage::setSize ( int  width,
int  height 
)
int cnoid::SgImage::width ( ) const
inline

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