40 #ifndef vtkLegendBoxActor_h
41 #define vtkLegendBoxActor_h
72 void SetNumberOfEntries(
int num);
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];
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
#define VTKRENDERINGANNOTATION_EXPORT
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