hgl 0.5.42~jessie
A compiler/interpreter suite for developing images (plugin development)
Protected Member Functions | List of all members
HGL::ImageOutput::DefaultPreRenderOutput Class Reference

Empty implementation of the HGL::ImageOutput::IPreRenderOutput interface. More...

#include "defaultprerenderoutput.h"

Public Member Functions

Default implementations of the information functions
virtual std::string getOutputFilename () const
 
Empty default implementations of bitmap render methods
virtual bool writeImage (const ICanvas &, const std::string &=std::string()) const _CONST throw (ImageOutputException)
 
Empty default implementations of pre-render notifications
virtual void update (const RENDEREVENT) _CONST throw (ImageOutputException)
 
virtual void update (const ICanvas::TRANSFORMATIONINFO *const) _CONST throw (ImageOutputException)
 
virtual void update (const PointPrimitive *const) _CONST throw (ImageOutputException)
 
virtual void update (const LinePrimitive *const) _CONST throw (ImageOutputException)
 
virtual void update (const CurvePrimitive *const) _CONST throw (ImageOutputException)
 
virtual void update (const PolyPrimitive *const) _CONST throw (ImageOutputException)
 
virtual void update (const EllipsePrimitive *const) _CONST throw (ImageOutputException)
 
virtual void update (const TextPrimitive *const) _CONST throw (ImageOutputException)
 

Protected Member Functions

void announceOutputFilename (const std::string &outputFilename) const
 Announces a (new) output filename. More...
 

Detailed Description

Empty implementation of the HGL::ImageOutput::IPreRenderOutput interface.

You can use this class if you are not interested in implementing all notifications in your plugin.

The default iplemenentations are empty.

See Image Output Plugins in detail for more information.

See also
REGISTER_IOPLUGIN
Author
Heiko Schäfer heiko.nosp@m.@hgl.nosp@m..rang.nosp@m.un.d.nosp@m.e
Since
0.4.70

Member Function Documentation

void HGL::ImageOutput::DefaultPreRenderOutput::announceOutputFilename ( const std::string &  outputFilename) const
protected

Announces a (new) output filename.

A plugin may add a suffix or even alter the output filename at all. In this case the new filename can get announced to the interpreter, which will use it furthermore.

Since
0.5.25