12 #ifndef vtkLegendBoxEntryInternal_h
13 #define vtkLegendBoxEntryInternal_h
18 VTK_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 };
176 VTK_ABI_NAMESPACE_END
bool HasSymbol()
Returns true if the entry has a symbol set (i.e.
actor that draws 2D data with texture support
void UpdateSymbolTransform(int width, int height, double posX, double posY)
Update the symbol transform (scale and position).
bool SetIcon(vtkImageData *)
Set / Get the entry icon.
abstract specification for Viewports
int RenderOpaqueGeometry(vtkViewport *)
Forward usual rendering methods to internal actors.
a actor that draws 2D data
void GetSize(vtkViewport *viewport, int size[2])
Forwarded to internal text mapper.
const char * GetText()
Set / Get the entry text.
concrete dataset represents vertices, lines, polygons, and triangle strips
void UpdateProperties(bool visibility, vtkProperty2D *prop)
Update internal actors properties.
void UpdateIconTransform(int width, int height, double posX, double posY)
Update the icon transform (scale and position).
bool SetColor(double color[3])
Set / Get the entry color.
window superclass for vtkRenderWindow
double * GetIconBounds()
Get the entry symbol bounds.
vtkPolyData * GetSymbol()
Set / Get the entry symbol.
bool SetSymbol(vtkPolyData *)
Set / Get the entry symbol.
topologically and geometrically regular array of data
void CopyTextProperty(vtkTextProperty *prop)
Copy given property into internal TextActor property.
vtkLegendBoxEntryInternal()
int RenderOverlay(vtkViewport *)
Forward usual rendering methods to internal actors.
bool HasIcon()
Returns true if the entry has an icon set (i.e.
vtkImageData * GetIcon()
Set / Get the entry icon.
represent text properties.
create an array of quadrilaterals located in a plane
bool SetText(const char *text)
Set / Get the entry text.
double * GetSymbolBounds()
Get the entry symbol bounds.
void SetFontSize(int size)
Forwarded to internal text mapper.
double * GetColor()
Set / Get the entry color.
void SetTextPosition(double X, double Y)
Set the text position.
int SetConstrainedFontSize(vtkViewport *viewport, int size[2])
Forwarded to internal text mapper.
represent surface properties of a 2D image
~vtkLegendBoxEntryInternal()
A single entry to use inside vtkLegendBoxActor.
draw vtkPolyData onto the image plane
void ReleaseGraphicsResources(vtkWindow *win)
Forward usual rendering methods to internal actors.