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

#include <Image.h>

Public Member Functions

 Image ()
 
 Image (const Image &org)
 
virtual ~Image ()
 
Imageoperator= (const Image &rhs)
 
void reset ()
 
bool empty () const
 
unsigned char * pixels ()
 
const unsigned char * pixels () const
 
int width () const
 
int height () const
 
int numComponents () const
 
bool hasAlphaComponent () const
 
void setSize (int width, int height, int nComponents)
 
void setSize (int width, int height)
 
void clear ()
 
void applyVerticalFlip ()
 
void load (const std::string &filename)
 
void save (const std::string &filename) const
 

Constructor & Destructor Documentation

Image::Image ( )
Image::Image ( const Image org)
Image::~Image ( )
virtual

Member Function Documentation

void Image::applyVerticalFlip ( )
void Image::clear ( )
bool cnoid::Image::empty ( ) const
inline
bool cnoid::Image::hasAlphaComponent ( ) const
inline
int cnoid::Image::height ( ) const
inline
void Image::load ( const std::string &  filename)
int cnoid::Image::numComponents ( ) const
inline
Image & Image::operator= ( const Image rhs)
unsigned char* cnoid::Image::pixels ( )
inline
const unsigned char* cnoid::Image::pixels ( ) const
inline
void Image::reset ( )
void Image::save ( const std::string &  filename) const
void Image::setSize ( int  width,
int  height,
int  nComponents 
)
void Image::setSize ( int  width,
int  height 
)
int cnoid::Image::width ( ) const
inline

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