28 #ifndef TRIALDISPLAY_CACHINGDISPLAYMETHOD_H
29 #define TRIALDISPLAY_CACHINGDISPLAYMETHOD_H
37 class AttributeBuffer;
39 class WorldCanvasHolder;
40 class CachingDisplayData;
AttributeBuffer * itsDDAttributes
Assistance class for auto-caching of DisplayData objects.
virtual void draw(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
Draw this slice of data on the supplied WorldCanvasHolder.
casacore::Bool itsHasList
Do we have a cached drawing list?
Buffer for storing Attributes.
casacore::uInt itsCachedDrawingList
Store for cached drawing list number.
virtual ~CachingDisplayMethod()
Destructor.
virtual WorldCanvas * worldCanvas()
Return the WorldCanvas recorded in this CachingDisplayMethod.
Base class for auto-caching DisplayData objects.
bool Bool
Define the standard types used by Casacore.
WorldCanvas * itsWorldCanvas
Store for the WorldCanvas which this has previously drawn upon.
CachingDisplayMethod()
(Required) default constructor.
virtual casacore::Bool drawIntoList(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)=0
Draw into a cached drawing list, called by draw function.
DisplayData * parentDisplayData()
Return the parent DisplayData.
RefreshReason
Callback reasons for PCRefreshEvent and WCRefreshEvent.
void operator=(const CachingDisplayMethod &other)
(Required) copy assignment.
Base class for drawing a particular element (view) of a DisplayData.
A holder to interface between DisplayDatas and a WorldCanvas.
Implementation of drawing in world coordinates on top of a PixelCanvas.
AttributeBuffer * itsWCHAttributes
Store for WorldCanvasHolder- and DisplayData-specific AttributeBuffers.