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

Image::Image ( )

◆ Image() [2/2]

Image::Image ( const Image org)

◆ ~Image()

Image::~Image ( )
virtual

Member Function Documentation

◆ applyVerticalFlip()

void Image::applyVerticalFlip ( )

◆ clear()

void Image::clear ( )

◆ empty()

bool cnoid::Image::empty ( ) const
inline

◆ hasAlphaComponent()

bool cnoid::Image::hasAlphaComponent ( ) const
inline

◆ height()

int cnoid::Image::height ( ) const
inline

◆ load()

void Image::load ( const std::string &  filename)

◆ numComponents()

int cnoid::Image::numComponents ( ) const
inline

◆ operator=()

Image & Image::operator= ( const Image rhs)

◆ pixels() [1/2]

unsigned char* cnoid::Image::pixels ( )
inline

◆ pixels() [2/2]

const unsigned char* cnoid::Image::pixels ( ) const
inline

◆ reset()

void Image::reset ( )

◆ save()

void Image::save ( const std::string &  filename) const

◆ setSize() [1/2]

void Image::setSize ( int  width,
int  height,
int  nComponents 
)

◆ setSize() [2/2]

void Image::setSize ( int  width,
int  height 
)

◆ width()

int cnoid::Image::width ( ) const
inline

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