15 #include "CeeVisualization/Base.h" 16 #include "CeeVisualization/OverlayItem.h" 17 #include "CeeCore/Str.h" 18 #include "CeeCore/Color3f.h" 19 #include "CeeVisualization/Font.h" 55 virtual unsigned int width()
const;
56 virtual unsigned int height()
const;
58 virtual int priority()
const;
59 virtual void setPriority(
int priority);
61 void setSize(
unsigned int width,
unsigned int height);
62 void setWidthToFitText();
64 size_t categoryCount()
const;
65 Str categoryText(
size_t index)
const;
66 Color3f categoryColor(
size_t index)
const;
67 void addCategory(
const Str& text,
Color3f color);
68 void removeAllCategories();
71 void setTitle(
const Str& title);
74 void setTextColor(
const Color3f& color);
83 virtual cvf::OverlayItem* internal_cvfOverlayItem();
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Draw tick marks below the color legend.
Definition: OverlayCategoryLegend.h:39
A general unicode based string class.
Definition: Str.h:28
Abstract interface for overlay items.
Definition: OverlayItem.h:31
Direction
Direction of color legend bar.
Definition: OverlayCategoryLegend.h:44
TickMarksPosition
Position of the legend tick marks.
Definition: OverlayCategoryLegend.h:34
Draw tick marks on the left side of the color legend.
Definition: OverlayCategoryLegend.h:36
Class for storing an RGB color triplet.
Definition: Color3f.h:25
Draw horizontal color legend bar.
Definition: OverlayCategoryLegend.h:46
Draw tick marks on the right side of the color legend.
Definition: OverlayCategoryLegend.h:37
Draw tick marks above the color legend.
Definition: OverlayCategoryLegend.h:38
A font used for text drawing.
Definition: Font.h:30
A color legend used to indicate the interpretation of the colors in the model.
Definition: OverlayCategoryLegend.h:30