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);
106 double* GetEntryColor(
int i);
122 vtkGetMacro(Border,
int);
136 vtkGetMacro(LockBorder,
int);
146 vtkGetMacro(
Box,
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);
237 void InitializeEntries();
279 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
abstract specification for Viewports
vtkProperty2D * GetBoxProperty()
Get the box vtkProperty2D.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
a actor that draws 2D data
record modification and/or execution time
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPlaneSource * Background
virtual int HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
dynamic, self-adjusting array of double
window superclass for vtkRenderWindow
vtkTextMapper ** TextMapper
vtkPolyDataMapper2D * BackgroundMapper
a simple class to control print indentation
vtkTextProperty * EntryTextProperty
topologically and geometrically regular array of data
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
vtkTransform ** Transform
vtkPolyData * BoxPolyData
virtual void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
represent text properties.
create an array of quadrilaterals located in a plane
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkPolyDataMapper2D * BorderMapper
map vtkPolyData to graphics primitives
vtkTransformPolyDataFilter ** SymbolTransform
vtkImageData ** IconImage
virtual int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
virtual void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkActor2D.
virtual int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
vtkActor2D ** SymbolActor
vtkTransformPolyDataFilter ** IconTransformFilter
represent surface properties of a 2D image
vtkTexturedActor2D * BackgroundActor
vtkPolyDataMapper2D * BoxMapper
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
draw vtkPolyData onto the image plane
vtkPolyDataMapper2D ** SymbolMapper
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTransform ** IconTransform
vtkPolyDataMapper2D ** IconMapper
vtkTexturedActor2D ** IconActor