The spica renderer
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
spica::Image Class Reference

Image class. More...

#include <image.h>

Public Member Functions

 Image (int width, int height)
 
 Image (const Image &image)
 
 Image (Image &&image)
 
Imageoperator= (const Image &image)
 
Imageoperator= (Image &&image)
 
const RGBSpectrumoperator() (int x, int y) const
 
RGBSpectrumpixel (int x, int y)
 
void resize (const int width, const int height)
 
void fill (const RGBSpectrum &color)
 
void load (const std::string &filename)
 
void save (const std::string &filename) const
 
int width () const
 
int height () const
 

Static Public Member Functions

static Image fromFile (const std::string &filename)
 

Protected Member Functions

virtual void postSaveEvent () const
 Post save event. More...
 

Detailed Description

Image class.

Member Function Documentation

virtual void spica::Image::postSaveEvent ( ) const
inlineprotectedvirtual

Post save event.

This method is used, for example in the derived class, when you want to notify another process that the image is saved.


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