25 #ifndef MARKERRENDERER_HH 26 #define MARKERRENDERER_HH 32 #include <QtCore/QObject> 34 #include <blitz/array.h> 43 class QXmlStreamWriter;
91 virtual void render(QPainter* painter = NULL)
const = 0;
138 bool _cacheUpdatesEnabled;
MarkerRenderer(Marker *marker, ViewWidget *view)
virtual void userInteractionEvent(UserInteractionEvent *event)
virtual void updateCache() const
Update the rendering cache.
void setCacheUpdatesEnabled(bool enable)
Enables or disables the updates of the rendering cache.
bool cacheUpdatesEnabled() const
Check whether cache updates are enabled.
The Marker class specifies the properties of an abstract Marker that can be contained in an Annotatio...
ViewWidget * view() const
virtual void render(QPainter *painter=NULL) const =0
Main rendering routine which is called whenever a paintEvent() on the Marker occurs.
void setDragging(bool drag)
virtual MarkerRenderer * clone() const =0
virtual ~MarkerRenderer()