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]);
160 vtkSetClampMacro(Padding,
int, 0, 50);
161 vtkGetMacro(Padding,
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
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
vtkTypeBool UseBackground
vtkPolyData * BorderPolyData
~vtkLegendBoxActor() override
void SetEntryColor(int i, double r, double g, double b)
vtkTypeBool ScalarVisibility
virtual void SetEntryTextProperty(vtkTextProperty *p)
Set/Get the text property.
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)
double * GetEntryColor(int i)
vtkTextMapper ** TextMapper
void SetEntry(int i, vtkImageData *symbol, const char *string, double color[3])
int RenderOverlay(vtkViewport *viewport) override
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
topologically and geometrically regular array of data
a simple class to control print indentation
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
vtkImageData ** IconImage
void SetEntryColor(int i, double color[3])
vtkImageData * GetEntryIcon(int i)
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
vtkPolyDataMapper2D * BorderMapper
vtkPolyDataMapper2D * BackgroundMapper
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTextProperty * EntryTextProperty
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
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.
int RenderOpaqueGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
a actor that draws 2D data
vtkTransform ** Transform
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
void ShallowCopy(vtkProp *prop) override
Shallow copy of this scaled text actor.
vtkPolyData * GetEntrySymbol(int i)
vtkPolyData createTexturedPlane()
vtkTexturedActor2D * BackgroundActor