SMIL  1.0.1-dev
ImageViewer< T > Class Template Reference

Base image viewer. More...

Detailed Description

template<class T>
class smil::ImageViewer< T >

Base image viewer.

#include <DImageViewer.hpp>

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

Public Types

typedef BaseImageViewer parentClass
 

Public Member Functions

 ImageViewer (Image< T > &im)
 
virtual void setImage (Image< T > &im)
 
virtual Image< T > * getImage ()
 
virtual void disconnect ()
 
virtual void show ()
 
virtual void showLabel ()
 
virtual void hide ()
 
virtual bool isVisible ()
 
virtual void setName (const char *_name)
 
virtual void update ()
 
virtual void drawOverlay (const Image< T > &)
 
virtual void clearOverlay ()
 
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 Attributes

Signal onOverlayModified
 

Protected Member Functions

virtual void drawImage ()
 
virtual void onSizeChanged (size_t, size_t, size_t)
 

Protected Attributes

Image< T > * image
 
bool labelImage
 

Private Attributes

size_t imSize [3]
 

Friends

class Image< T >
 

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