40 #ifndef __vtkLegendBoxActor_h
41 #define __vtkLegendBoxActor_h
43 #include "vtkRenderingAnnotationModule.h"
72 void SetNumberOfEntries(
int num);
73 int GetNumberOfEntries()
74 {
return this->NumberOfEntries;}
86 void SetEntry(
int i,
vtkPolyData *symbol,
const char*
string,
double color[3]);
89 const char*
string,
double color[3]);
94 void SetEntryString (
int i,
const char*
string);
95 void SetEntryColor (
int i,
double color[3]);
96 void SetEntryColor (
int i,
double r,
double g,
double b);
100 const char* GetEntryString(
int i);
101 double* GetEntryColor(
int i);
112 vtkSetMacro(Border,
int);
113 vtkGetMacro(Border,
int);
114 vtkBooleanMacro(Border,
int);
124 vtkSetMacro(LockBorder,
int);
125 vtkGetMacro(LockBorder,
int);
126 vtkBooleanMacro(LockBorder,
int);
132 vtkSetMacro(
Box,
int);
133 vtkGetMacro(
Box,
int);
134 vtkBooleanMacro(
Box,
int);
143 vtkSetClampMacro(Padding,
int, 0, 50);
144 vtkGetMacro(Padding,
int);
151 vtkSetMacro(ScalarVisibility,
int);
152 vtkGetMacro(ScalarVisibility,
int);
153 vtkBooleanMacro(ScalarVisibility,
int);
158 vtkSetMacro(UseBackground,
int);
159 vtkGetMacro(UseBackground,
int);
160 vtkBooleanMacro(UseBackground,
int);
165 vtkSetVector3Macro(BackgroundColor,
double);
166 vtkGetVector3Macro(BackgroundColor,
double);
171 vtkSetClampMacro(BackgroundOpacity,
double, 0.0, 1.0);
172 vtkGetMacro(BackgroundOpacity,
double);
205 void InitializeEntries();
247 double BackgroundColor[3];