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