40 #ifndef __vtkLegendBoxActor_h
41 #define __vtkLegendBoxActor_h
71 void SetNumberOfEntries(
int num);
72 int GetNumberOfEntries()
73 {
return this->NumberOfEntries;}
85 void SetEntry(
int i,
vtkPolyData *symbol,
const char*
string,
double color[3]);
88 const char*
string,
double color[3]);
93 void SetEntryString (
int i,
const char*
string);
94 void SetEntryColor (
int i,
double color[3]);
95 void SetEntryColor (
int i,
double r,
double g,
double b);
99 const char* GetEntryString(
int i);
100 double* GetEntryColor(
int i);
111 vtkSetMacro(Border,
int);
112 vtkGetMacro(Border,
int);
113 vtkBooleanMacro(Border,
int);
123 vtkSetMacro(LockBorder,
int);
124 vtkGetMacro(LockBorder,
int);
125 vtkBooleanMacro(LockBorder,
int);
131 vtkSetMacro(
Box,
int);
132 vtkGetMacro(
Box,
int);
133 vtkBooleanMacro(
Box,
int);
142 vtkSetClampMacro(Padding,
int, 0, 50);
143 vtkGetMacro(Padding,
int);
150 vtkSetMacro(ScalarVisibility,
int);
151 vtkGetMacro(ScalarVisibility,
int);
152 vtkBooleanMacro(ScalarVisibility,
int);
157 vtkSetMacro(UseBackground,
int);
158 vtkGetMacro(UseBackground,
int);
159 vtkBooleanMacro(UseBackground,
int);
164 vtkSetVector3Macro(BackgroundColor,
double);
165 vtkGetVector3Macro(BackgroundColor,
double);
170 vtkSetClampMacro(BackgroundOpacity,
double, 0.0, 1.0);
171 vtkGetMacro(BackgroundOpacity,
double);
204 void InitializeEntries();
246 double BackgroundColor[3];