Go to the documentation of this file.
41 #ifndef vtkLegendBoxActor_h
42 #define vtkLegendBoxActor_h
44 #include "vtkRenderingAnnotationModule.h"
76 void SetNumberOfEntries(
int num);
78 {
return this->NumberOfEntries;}
91 void SetEntry(
int i,
vtkPolyData *symbol,
const char*
string,
double color[3]);
94 const char*
string,
double color[3]);
99 void SetEntryString (
int i,
const char*
string);
100 void SetEntryColor (
int i,
double color[3]);
101 void SetEntryColor (
int i,
double r,
double g,
double b);
105 const char* GetEntryString(
int i);
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);
237 void InitializeEntries();
279 double BackgroundColor[3];
map vtkPolyData to graphics primitives
vtkProperty2D * GetBoxProperty()
Get the box vtkProperty2D.
int RenderOpaqueGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkTexturedActor2D ** IconActor
draw vtkPolyData onto the image plane
vtkPolyDataMapper2D ** SymbolMapper
actor that draws 2D data with texture support
vtkTransform ** IconTransform
vtkPolyDataMapper2D ** IconMapper
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkActor2D.
vtkPlaneSource * Background
record modification and/or execution time
create an array of quadrilaterals located in a plane
vtkTypeBool UseBackground
vtkPolyData * BorderPolyData
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool ScalarVisibility
window superclass for vtkRenderWindow
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
#define VTK_SIZEHINT(...)
vtkTextMapper ** TextMapper
vtkPolyData * BoxPolyData
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
a simple class to control print indentation
vtkImageData ** IconImage
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
vtkPolyDataMapper2D * BorderMapper
vtkPolyDataMapper2D * BackgroundMapper
vtkTextProperty * EntryTextProperty
abstract specification for Viewports
vtkActor2D ** SymbolActor
vtkTransformPolyDataFilter ** IconTransformFilter
represent text properties.
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
a actor that draws 2D data
vtkTransform ** Transform
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
vtkTransformPolyDataFilter ** SymbolTransform
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPolyDataMapper2D * BoxMapper
dynamic, self-adjusting array of double
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
vtkTexturedActor2D * BackgroundActor