12#ifndef vtkLegendBoxEntryInternal_h
13#define vtkLegendBoxEntryInternal_h
18VTK_ABI_NAMESPACE_BEGIN
149 void UpdateTransform(
150 vtkTransform* tranform,
double posX,
double posY,
double bounds[6],
int width,
int height);
155 double GetScale(
double bounds[6],
int width,
int height);
173 double Color[3] = { -1, -1, -1 };
a actor that draws 2D data
topologically and geometrically regular array of data
bool SetSymbol(vtkPolyData *)
Set / Get the entry symbol.
double * GetColor()
Set / Get the entry color.
void UpdateSymbolTransform(int width, int height, double posX, double posY)
Update the symbol transform (scale and position).
bool SetColor(double color[3])
Set / Get the entry color.
void SetFontSize(int size)
Forwarded to internal text mapper.
vtkImageData * GetIcon()
Set / Get the entry icon.
void SetTextPosition(double X, double Y)
Set the text position.
int RenderOverlay(vtkViewport *)
Forward usual rendering methods to internal actors.
int SetConstrainedFontSize(vtkViewport *viewport, int size[2])
Forwarded to internal text mapper.
void UpdateIconTransform(int width, int height, double posX, double posY)
Update the icon transform (scale and position).
bool SetIcon(vtkImageData *)
Set / Get the entry icon.
bool SetText(const char *text)
Set / Get the entry text.
bool HasIcon()
Returns true if the entry has an icon set (i.e.
void GetSize(vtkViewport *viewport, int size[2])
Forwarded to internal text mapper.
vtkPolyData * GetSymbol()
Set / Get the entry symbol.
double * GetSymbolBounds()
Get the entry symbol bounds.
int RenderOpaqueGeometry(vtkViewport *)
Forward usual rendering methods to internal actors.
void UpdateProperties(bool visibility, vtkProperty2D *prop)
Update internal actors properties.
void ReleaseGraphicsResources(vtkWindow *win)
Forward usual rendering methods to internal actors.
const char * GetText()
Set / Get the entry text.
bool HasSymbol()
Returns true if the entry has a symbol set (i.e.
~vtkLegendBoxEntryInternal()
vtkLegendBoxEntryInternal()
void CopyTextProperty(vtkTextProperty *prop)
Copy given property into internal TextActor property.
double * GetIconBounds()
Get the entry symbol bounds.
Allocate and hold a VTK object.
create an array of quadrilaterals located in a plane
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a 2D image
Hold a reference to a vtkObjectBase instance.
represent text properties.
actor that draws 2D data with texture support
abstract specification for Viewports
window superclass for vtkRenderWindow