A DisplayMethod to draw Profiles. More...
#include <Profile2dDM.h>
Public Member Functions | |
| Profile2dDM (WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd) | |
| Constructor. | |
| virtual | ~Profile2dDM () |
| Destructor. | |
| virtual void | cleanup () |
| Clean up (ie. | |
| virtual Bool | drawIntoList (Display::RefreshReason reason, WorldCanvasHolder &wcHolder) |
| Draw into a cached drawing list, called by draw function. | |
Protected Member Functions | |
| Profile2dDM () | |
| (Required) default constructor. | |
| Profile2dDM (const Profile2dDM &other) | |
| (Required) copy constructor. | |
| void | operator= (const Profile2dDM &other) |
| (Required) copy assignment. | |
Private Member Functions | |
| 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. | |
A DisplayMethod to draw Profiles.
Public interface
Definition at line 58 of file Profile2dDM.h.
| casa::Profile2dDM::Profile2dDM | ( | WorldCanvas * | worldCanvas, | |
| AttributeBuffer * | wchAttributes, | |||
| AttributeBuffer * | ddAttributes, | |||
| CachingDisplayData * | dd | |||
| ) |
Constructor.
| virtual casa::Profile2dDM::~Profile2dDM | ( | ) | [virtual] |
Destructor.
| casa::Profile2dDM::Profile2dDM | ( | ) | [protected] |
(Required) default constructor.
| casa::Profile2dDM::Profile2dDM | ( | const Profile2dDM & | other | ) | [protected] |
(Required) copy constructor.
| virtual void casa::Profile2dDM::cleanup | ( | ) | [virtual] |
| virtual Bool casa::Profile2dDM::drawIntoList | ( | Display::RefreshReason | reason, | |
| WorldCanvasHolder & | wcHolder | |||
| ) | [virtual] |
Draw into a cached drawing list, called by draw function.
Implements casa::CachingDisplayMethod.
| void casa::Profile2dDM::operator= | ( | const Profile2dDM & | other | ) | [protected] |
(Required) copy assignment.
Reimplemented from casa::CachingDisplayMethod.
| void casa::Profile2dDM::restoreStyles | ( | WorldCanvas * | wc | ) | [private] |
Restore the appropriate styles and rules after drawing is completed.
| void casa::Profile2dDM::setStyles | ( | WorldCanvas * | wc, | |
| Profile2dDD * | parent | |||
| ) | [private] |
Set the appropriate styes and rules for drawing the profile.
1.6.1