40 #ifndef __vtkLegendBoxActor_h
41 #define __vtkLegendBoxActor_h
71 void SetNumberOfEntries(
int num);
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];
abstract superclass for all actors, volumes and annotations
vtkPolyData * BorderPolyData
represents an object (geometry & properties) in a rendered scene
actor that draws 2D data with texture support
virtual void ReleaseGraphicsResources(vtkWindow *)
abstract specification for Viewports
vtkProperty2D * GetBoxProperty()
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
a actor that draws 2D data
record modification and/or execution time
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPlaneSource * Background
dynamic, self-adjusting array of double
window superclass for vtkRenderWindow
vtkTextMapper ** TextMapper
virtual int HasTranslucentPolygonalGeometry()
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
vtkPolyDataMapper2D * BackgroundMapper
a simple class to control print indentation
vtkTextProperty * EntryTextProperty
void PrintSelf(ostream &os, vtkIndent indent)
topologically and geometrically regular array of data
static vtkActor2D * New()
vtkTransform ** Transform
vtkPolyData * BoxPolyData
represent text properties.
create an array of quadrilaterals located in a plane
vtkPolyDataMapper2D * BorderMapper
map vtkPolyData to graphics primitives
virtual void ShallowCopy(vtkProp *prop)
vtkTransformPolyDataFilter ** SymbolTransform
vtkImageData ** IconImage
virtual int RenderOverlay(vtkViewport *viewport)
vtkActor2D ** SymbolActor
vtkTransformPolyDataFilter ** IconTransformFilter
represent surface properties of a 2D image
vtkTexturedActor2D * BackgroundActor
vtkPolyDataMapper2D * BoxMapper
draw vtkPolyData onto the image plane
vtkPolyDataMapper2D ** SymbolMapper
vtkTransform ** IconTransform
vtkPolyDataMapper2D ** IconMapper
vtkTexturedActor2D ** IconActor