WedgeDM.h

Classes

WedgeDM -- The DisplayMethod to draw Wedges (full description)

class WedgeDM : public CachingDisplayMethod

Interface

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

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

Synopsis

This class supplies the actual drawing of the wedge via the drawIntoList method

Example


 

Motivation

Users want wedges

To Do

Member Description

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

Constructor.

virtual ~WedgeDM()

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.

WedgeDM()

(Required) default constructor.

WedgeDM(const WedgeDM &other)

(Required) copy constructor.

void operator=(const WedgeDM &other)

(Required) copy assignment.