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];
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
void ShallowCopy(vtkProp *prop)
Shallow copy of this scaled text actor.
void SetNumberOfEntries(int num)
Specify the number of entries in the legend box.
vtkPolyData * BoxPolyData
vtkTexturedActor2D ** IconActor
vtkTexturedActor2D * BackgroundActor
vtkProperty2D * GetBoxProperty()
Get the box vtkProperty2D.
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
vtkImageData ** IconImage
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
vtkTextProperty * EntryTextProperty
vtkTransformPolyDataFilter ** SymbolTransform
vtkPlaneSource * Background
void SetEntry(int i, vtkImageData *symbol, const char *string, double color[3])
vtkImageData * GetEntryIcon(int i)
void SetEntry(int i, vtkPolyData *symbol, vtkImageData *icon, const char *string, double color[3])
vtkTransform ** IconTransform
vtkPolyDataMapper2D * BorderMapper
int RenderOpaqueGeometry(vtkViewport *viewport)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
vtkPolyData createTexturedPlane()
void SetEntryColor(int i, double color[3])
vtkPolyData * GetEntrySymbol(int i)
vtkPolyDataMapper2D * BackgroundMapper
static vtkLegendBoxActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8,...
void SetEntrySymbol(int i, vtkPolyData *symbol)
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.
const char * GetEntryString(int i)
vtkPolyDataMapper2D ** IconMapper
vtkTransformPolyDataFilter ** IconTransformFilter
vtkPolyData * BorderPolyData
vtkTransform ** Transform
void SetEntryColor(int i, double r, double g, double b)
vtkPolyDataMapper2D ** SymbolMapper
vtkPolyDataMapper2D * BoxMapper
double * GetEntryColor(int i)
void SetEntryString(int i, const char *string)
int RenderOverlay(vtkViewport *viewport)
Support the standard render methods.
vtkActor2D ** SymbolActor
virtual int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry?
void SetEntryIcon(int i, vtkImageData *icon)
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.