Go to the documentation of this file.
41 #ifndef vtkLegendBoxActor_h
42 #define vtkLegendBoxActor_h
44 #include "vtkRenderingAnnotationModule.h"
78 {
return this->NumberOfEntries;}
94 const char*
string,
double color[3]);
122 vtkGetMacro(Border,
int);
136 vtkGetMacro(LockBorder,
int);
160 vtkSetClampMacro(Padding,
int, 0, 50);
161 vtkGetMacro(Padding,
int);
171 vtkGetMacro(ScalarVisibility,
int);
180 vtkGetMacro(UseBackground,
int);
189 vtkSetVector3Macro(BackgroundColor,
double);
190 vtkGetVector3Macro(BackgroundColor,
double);
198 vtkSetClampMacro(BackgroundOpacity,
double, 0.0, 1.0);
199 vtkGetMacro(BackgroundOpacity,
double);
279 double BackgroundColor[3];
map vtkPolyData to graphics primitives
vtkProperty2D * GetBoxProperty()
Get the box vtkProperty2D.
void SetEntryString(int i, const char *string)
vtkTexturedActor2D ** IconActor
draw vtkPolyData onto the image plane
void ShallowCopy(vtkProp *prop)
Shallow copy of this scaled text actor.
vtkPolyDataMapper2D ** SymbolMapper
actor that draws 2D data with texture support
void SetEntryIcon(int i, vtkImageData *icon)
vtkTransform ** IconTransform
vtkPolyDataMapper2D ** IconMapper
vtkPlaneSource * Background
record modification and/or execution time
create an array of quadrilaterals located in a plane
vtkPolyData * BorderPolyData
void SetEntryColor(int i, double r, double g, double b)
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void SetEntryTextProperty(vtkTextProperty *p)
Set/Get the text property.
window superclass for vtkRenderWindow
virtual int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry?
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
double * GetEntryColor(int i)
vtkTextMapper ** TextMapper
void SetEntry(int i, vtkImageData *symbol, const char *string, double color[3])
void SetEntry(int i, vtkPolyData *symbol, const char *string, double color[3])
Add an entry to the legend box.
vtkPolyData * BoxPolyData
represents an object (geometry & properties) in a rendered scene
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
topologically and geometrically regular array of data
a simple class to control print indentation
vtkImageData ** IconImage
void SetEntryColor(int i, double color[3])
vtkImageData * GetEntryIcon(int i)
vtkPolyDataMapper2D * BorderMapper
vtkPolyDataMapper2D * BackgroundMapper
vtkTextProperty * EntryTextProperty
abstract specification for Viewports
void SetNumberOfEntries(int num)
Specify the number of entries in the legend box.
vtkActor2D ** SymbolActor
vtkTransformPolyDataFilter ** IconTransformFilter
void SetEntrySymbol(int i, vtkPolyData *symbol)
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
a actor that draws 2D data
vtkTransform ** Transform
int RenderOverlay(vtkViewport *viewport)
Support the standard render methods.
void SetEntry(int i, vtkPolyData *symbol, vtkImageData *icon, const char *string, double color[3])
static vtkLegendBoxActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8,...
vtkTransformPolyDataFilter ** SymbolTransform
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPolyDataMapper2D * BoxMapper
const char * GetEntryString(int i)
dynamic, self-adjusting array of double
int RenderOpaqueGeometry(vtkViewport *viewport)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
vtkPolyData * GetEntrySymbol(int i)
vtkPolyData createTexturedPlane()
vtkTexturedActor2D * BackgroundActor