SMIL  0.9.1
ImageViewer< T > Class Template Reference

Base image viewer. More...

#include <DImageViewer.hpp>

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

Public Types

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

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

Public Attributes

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

Protected Member Functions

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

Protected Attributes

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

Private Attributes

size_t imSize [3]
 

Friends

class Image< T >
 

Detailed Description

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

Base image viewer.


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