From KitwarePublic
Resources could be described in a simple .kwr resource file, say:
Image: floppy.png FloppyIcon
then compiled automatically using CMake, and queried from C++ by identifier, say:
vtkKWIcon *icon = vtkKWResourceManager::GetImageAsIcon("FloppyIcon");