Profile2dDM.h

Classes

Profile2dDM -- A DisplayMethod to draw Profiles (full description)

class Profile2dDM : public CachingDisplayMethod

Interface

Public Members
Profile2dDM(WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd)
virtual ~Profile2dDM()
virtual void cleanup()
virtual Bool drawIntoList(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
Protected Members
Profile2dDM()
Profile2dDM(const Profile2dDM &other)
void operator=(const Profile2dDM &other)
Private Members
void setStyles(WorldCanvas *wc, Profile2dDD *parent)
void restoreStyles(WorldCanvas *wc)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Member Description

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

Constructor.

virtual ~Profile2dDM()

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.

Profile2dDM()

(Required) default constructor.

Profile2dDM(const Profile2dDM &other)

(Required) copy constructor.

void operator=(const Profile2dDM &other)

(Required) copy assignment.

void setStyles(WorldCanvas *wc, Profile2dDD *parent)

Set the appropriate styes and rules for drawing the profile

void restoreStyles(WorldCanvas *wc)

Restore the appropriate styles and rules after drawing is completed