Go to the documentation of this file.
10 #ifndef vtk_m_rendering_ColorLegendAnnotation_h
11 #define vtk_m_rendering_ColorLegendAnnotation_h
13 #include <vtkm/rendering/vtkm_rendering_export.h>
32 std::vector<std::unique_ptr<TextAnnotationScreen>>
Annot;
49 for (
unsigned int i = 0; i < this->Annot.size(); i++)
50 this->Annot[i]->SetScale(s);
60 #endif // vtk_m_rendering_ColorLegendAnnotation_h
Definition: ColorLegendAnnotation.h:26
void SetLabelFontScale(vtkm::Float32 s)
Definition: ColorLegendAnnotation.h:46
It's a color!
Definition: Color.h:28
Groups connected points that have the same field value.
Definition: Atomic.h:19
std::vector< std::string > Labels
Definition: ColorLegendAnnotation.h:31
vtkm::rendering::Color LabelColor
Definition: ColorLegendAnnotation.h:30
vtkm::Float32 FontScale
Definition: ColorLegendAnnotation.h:29
void SetLabelColor(vtkm::rendering::Color c)
Definition: ColorLegendAnnotation.h:44
Definition: WorldAnnotator.h:27
std::vector< std::unique_ptr< TextAnnotationScreen > > Annot
Definition: ColorLegendAnnotation.h:32
float Float32
Definition: Types.h:154
std::vector< vtkm::rendering::Color > ColorSwatchList
Definition: ColorLegendAnnotation.h:33