Index

C++ Code Documentation

isight::context::Write

Derived from: isight::context::GeomObjectSet , imagegl::ScreenLoad , imagegl::ScreenDump , imagegl::PostScript

Children: isight::context::Background

File: VIEWER/isight/context/Write.H

public:
  • Write( ContextSetBase *base );
    constructor
  • virtual ~Write();
    destructor
protected:
  • virtual void write_image( base::String const &filename ) const;
    write image according to file extension
  • void write_postscript( io::Ostream &stream, bool EPS ) const;
    write image in postscript format
  • virtual void background_image( base::String const &filename, bool on_top );
    set the background image
  • virtual void background_image( base::String const &filename );
    set the background image
  • virtual void background_clear_image();
    clear the background image
private:
  • virtual void enable_draw(bool) = 0;
  • virtual uint area_width() const = 0;
  • virtual uint area_height() const = 0;
  • virtual base::Color3 const &background_color() const;
    for geom::opengl::ScreenDump
  • virtual void set_window_size( uint x, uint y );
    for geom::opengl::ScreenDump
  • void size_for_image( uint &x, uint &y ) const;
    get the size for an image to be written
  • Write( Write const & );
    disabled copy constructor
  • Write &operator=( Write const & );
    disabled assignment operator


isight::context::Write GANG