casa
5.7.0-16
|
(Minimal) DisplayMethod for MSAsRaster. More...
#include <MSAsRaster.h>
Protected Member Functions | |
virtual casacore::Bool | drawIntoList (Display::RefreshReason reason, WorldCanvasHolder &wcHolder) |
The base CachingDM takes care of using any cached drawlist. More... | |
Protected Member Functions inherited from casa::CachingDisplayMethod | |
CachingDisplayMethod () | |
(Required) default constructor. More... | |
CachingDisplayMethod (const CachingDisplayMethod &other) | |
(Required) copy constructor. More... | |
void | operator= (const CachingDisplayMethod &other) |
(Required) copy assignment. More... | |
Protected Member Functions inherited from casa::DisplayMethod | |
DisplayMethod () | |
(Required) default constructor. More... | |
DisplayMethod (const DisplayMethod &other) | |
(Required) copy constructor. More... | |
void | operator= (const DisplayMethod &other) |
(Required) copy assignment. More... | |
DisplayData * | parentDisplayData () |
Return the parent DisplayData. More... | |
Private Member Functions | |
MSAsRasterDM () | |
Default and copy constructors, and the assignment operator, are mon-functional and should not be used. More... | |
MSAsRasterDM (const MSAsRasterDM &other) | |
MSAsRasterDM & | operator= (const MSAsRasterDM &) |
Additional Inherited Members | |
Protected Attributes inherited from casa::DisplayMethod | |
AttributeBuffer | restrictions |
(Minimal) DisplayMethod for MSAsRaster.
"MSAsRasterDM" is a implementation of a CachingDisplayMethod for MSAsRaster .
MSAsRasterDM a minimal skeleton; it is implemented in its entirety here. Its only purpose is to hold the cached drawlist and use it when appropriate via the mechanism and data structure implemented on the CachingDisplayMethod level. MSAsRasterDM just turns the draw request back over to MSAsRaster, since that's where the necessary data is.
This 'minimal' CachingDisplayMethod could be adapted and reused by any other CachingDisplayData that wanted to do its own drawing.
Definition at line 1431 of file MSAsRaster.h.
|
inline |
Constructor.
The parameters contain state that determines what should be drawn.
Definition at line 1437 of file MSAsRaster.h.
|
inlinevirtual |
Destructor.
Definition at line 1442 of file MSAsRaster.h.
|
inlineprivate |
Default and copy constructors, and the assignment operator, are mon-functional and should not be used.
Do not make copies of DisplayMethod objects, or pass them by value; use references or pointers instead.
Definition at line 1469 of file MSAsRaster.h.
|
inlineprivate |
Definition at line 1470 of file MSAsRaster.h.
|
inlineprotectedvirtual |
The base CachingDM takes care of using any cached drawlist.
When this method is called, we know that no drawlist applies, and that we must actually send drawing commands to the WC (though technically, they might not actually be going into a drawlist). This skeleton DM just hands the drawing task back to the DD, where all the data has been created and maintained anyway.
Implements casa::CachingDisplayMethod.
Definition at line 1453 of file MSAsRaster.h.
References casa::MSAsRaster::draw_(), casa::DisplayMethod::parentDisplayData(), and casa::CachingDisplayMethod::worldCanvas().
|
inlineprivate |
Definition at line 1471 of file MSAsRaster.h.