DrawingDisplayMethod.h

Classes

DrawingDisplayMethod -- DisplayMethod which provides actual drawing for DrawingDisplayData class. (full description)

class DrawingDisplayMethod : public CachingDisplayMethod

Interface

Public Members
DrawingDisplayMethod(WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd)
virtual ~DrawingDisplayMethod()
virtual void cleanup()
virtual Bool drawIntoList(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
Protected Members
DrawingDisplayMethod()
DrawingDisplayMethod(const DrawingDisplayMethod &other)
void operator=(const DrawingDisplayMethod &other)

Description

Synopsis

This class provides the necessary implementation for the actual drawing of the objects contained within a DrawingDisplayData object.

Member Description

DrawingDisplayMethod(WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd)

Constructor.

virtual ~DrawingDisplayMethod()

Destructor.

virtual void cleanup()

Clean up (ie. delete any existing cached display list).

virtual Bool drawIntoList(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)

Draw into a cached drawing list, called by draw function.

DrawingDisplayMethod()

(Required) default constructor.

DrawingDisplayMethod(const DrawingDisplayMethod &other)

(Required) copy constructor.

void operator=(const DrawingDisplayMethod &other)

(Required) copy assignment.