AxesDisplayMethod.h

Classes

AxesDisplayMethod -- Class to draw a single set of axis labels for AxesDisplayData. (full description)

class AxesDisplayMethod : public CachingDisplayMethod

Interface

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

Description

Synopsis

This class adds to the interface defined by DisplayMethod to provide the necessary infrastructure to draw a single set of axis labels when requested by the AxesDisplayData class.

Member Description

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

Constructor.

virtual ~AxesDisplayMethod()

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.

AxesDisplayMethod()

(Required) default constructor.

AxesDisplayMethod(const AxesDisplayMethod &other)

(Required) copy constructor.

void operator=(const AxesDisplayMethod &other)

(Required) copy assignment.