SMIL  1.1.1-dev
AaImageViewer< T > Class Template Reference

AA (Ascii Art) image viewer. More...

Detailed Description

template<class T>
class smil::AaImageViewer< T >

AA (Ascii Art) image viewer.

Requires the AA lib. To use it, you must set the option USE_AALIB to ON.

#include <DAAImageViewer.hpp>

+ Inheritance diagram for AaImageViewer< T >:
+ Collaboration diagram for AaImageViewer< T >:

Public Types

typedef ImageViewer< T > parentClass
- Public Types inherited from ImageViewer< T >
typedef BaseImageViewer parentClass
- Public Types inherited from BaseImageViewer
typedef BaseObject parentClass
- Public Types inherited from BaseObject
typedef void parentClass
typedef void(BaseObject::* voidMemberFunc) ()

Public Member Functions

 AaImageViewer (Image< T > *im)
virtual void hide ()
virtual void show ()
virtual bool isVisible ()
virtual void setName (const char *_name)
virtual void clearOverlay ()
- Public Member Functions inherited from ImageViewer< T >
 ImageViewer (Image< T > &im)
virtual void setImage (Image< T > &im)
virtual Image< T > * getImage ()
virtual void disconnect ()
virtual void showLabel ()
virtual void update ()
virtual void drawOverlay (const Image< T > &)
virtual RES_T getOverlay (Image< T > &)
virtual void setLookup (const map< UINT8, RGB > &)
 Set the color table as a 8bits RGB map (keys between 0 and 255)
virtual void resetLookup ()
- Public Member Functions inherited from BaseImageViewer
 BaseImageViewer (const char *_className="BaseImageViewer")
virtual void saveSnapshot (const char *)
- Public Member Functions inherited from BaseObject
 BaseObject (const char *_className, bool _register=true)
 BaseObject (const BaseObject &rhs, bool _register=true)
BaseObjectoperator= (const BaseObject &rhs)
CoregetCoreInstance ()
virtual const char * getInfoString (const char *="") const
virtual void printSelf (ostream &=std::cout, string="") const
virtual const char * getClassName () const
virtual const char * getName () const
virtual size_t getAllocatedSize () const

Protected Member Functions

int createContext ()
virtual void drawImage ()
- Protected Member Functions inherited from ImageViewer< T >
virtual void onSizeChanged (size_t, size_t, size_t)

Protected Attributes

aa_context * context
- Protected Attributes inherited from ImageViewer< T >
Image< T > * image
bool labelImage
- Protected Attributes inherited from BaseImageViewer
bool labelImage
- Protected Attributes inherited from BaseObject
bool registered
string className
string name

Additional Inherited Members

- Public Attributes inherited from ImageViewer< T >
Signal onOverlayModified
- Public Attributes inherited from BaseImageViewer
MemberFunctionSlot< BaseImageViewerupdateSlot
- Public Attributes inherited from BaseObject
bool triggerEvents

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