WedgeDD.h
Classes
- WedgeDD -- A DisplayData to draw color wedges (full description)
Interface
- Public Members
- WedgeDD()
- virtual ~WedgeDD()
- virtual void setup()
- virtual void updateCsys()
- virtual Bool labelAxes(const WCRefreshEvent &ev)
- virtual const Unit dataUnit()
- virtual String showValue(const Vector<Double> &world)
- virtual void setDefaultOptions()
- virtual Bool setOptions(Record &rec, Record &recOut)
- virtual Record getOptions()
- virtual Display::DisplayDataType classType()
- virtual CachingDisplayMethod *newDisplayMethod(WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd)
- virtual AttributeBuffer optionsAsAttributes()
- virtual void notifyUnregister(WorldCanvasHolder& wcHolder, Bool ignoreRefresh = False)
- Protected Members
- WedgeDD(const WedgeDD &other)
- void operator=(const WedgeDD &other)
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
- DisplayData
CachingDisplayData
Etymology
Synopsis
This DisplayData can be created by itself. It's main
task though is to set up a coordinate system form the data range
and units of another DisplayData. The user can control this through
options in this DisplayData: "datamin", "datamax, "dataunit" and
"powercycles".
Example
Motivation
Users want wedges
To Do
Member Description
Destructor.
virtual void setup()
Constructor help function, creates coordinatesystem and fills data Matrix
The coordinate sydtem needs to be update when the data range changes
Axis labeller, 5th step in the WCHolder refresh cycle
Return the data unit.
Format the wedge value at the given world position.
Install the default options for this DisplayData.
Apply options stored in rec to the DisplayData. A
return value of True means a refresh is needed.
recOut contains any fields which were implicitly
changed as a result of the call to this function.
Retrieve the current and default options and parameter types.
Return the type of this DisplayData.
Create a new AxesDisplayMethod for drawing on the given
WorldCanvas when the AttributeBuffers are suitably matched to the
current state of this DisplayData and of the WorldCanvas/Holder.
The tag is a unique number used to identify the age of the newly
constructed CachingDisplayMethod.
Return the current options of this DisplayData as an
AttributeBuffer.
Take actions on removal from WC[H] (notably, deletion of drawlists).
WedgeDD(const WedgeDD &other)
(Required) copy constructor.
void operator=(const WedgeDD &other)
(Required) copy assignment.