28 #include "vtkImageData.h"
33struct albaPictureFactory_Pimpl;
75 void Add(wxString
id,
char** xpm);
88 vtkImageData* GetVTKImg(wxString
id);
118#define albaADDPIC(X) albaPictureFactory::GetPictureFactory()->Add( #X , X##_xpm )
121#define albaADDVMEPIC(X) albaPictureFactory::GetPictureFactory()->AddVmePic( #X , X##_xpm )
This class is normally instantiated as the "albaPics" singleton.
wxBitmap GetVmePic(wxString id)
retrieve a vme-picture from the Factory as a wxBitmap.
static bool GetPicsInitialized()
void Add(wxString id, char **xpm)
add a picture to the factory – if id already exist it is overwritten
albaPictureFactory_Pimpl * m_PictureMaps
wxBitmap GetBmp(wxString id)
retrieve a picture from the Factory as a wxBitmap
void GetVmeNames(std::vector< wxString > &v)
retrieve the names of the registered vme-pics
wxImage GetImg(wxString id)
retrieve a picture from the Factory as a wxImage
static albaPictureFactory * GetPictureFactory()
albaPictureFactory()
initialize the factory with the standard icons
void GetPicIds(std::vector< wxString > &v)
Fills the given vectors with the available Pic Id's.
void AddVmePic(wxString id, char **xpm)
add a vme-picture to the factory.
wxIcon GetIcon(wxString id)
retrieve a picture from the Factory as a wxIcon