44#ifndef vtkLabeledTreeMapDataMapper_h
45#define vtkLabeledTreeMapDataMapper_h
48#include "vtkRenderingLabelModule.h"
88 vtkGetMacro(ClipTextMode,
int);
89 vtkSetMacro(ClipTextMode,
int);
96 vtkGetMacro(ChildMotion,
int);
97 vtkSetMacro(ChildMotion,
int);
104 vtkGetMacro(DynamicLevel,
int);
105 vtkSetMacro(DynamicLevel,
int);
137 int activeComp,
int numComps,
char*
string,
size_t stringSize);
154 double BoxTrans[2][2];
155 double WindowLimits[2][2];
157 float (*LabelMasks)[4];
a actor that draws 2D data
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of float
list of point or cell ids
a simple class to control print indentation
draw text labels at dataset points
draw text labels on a tree map
static vtkLabeledTreeMapDataMapper * New()
int GetStringSize(char *string, int level)
vtkTextProperty * VerticalLabelProperty
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
vtkLabeledTreeMapDataMapper()
virtual vtkTree * GetInputTree()
The input to this filter.
int ConvertToDC(float *origBoxInfo, float *newBoxInfo)
vtkViewport * CurrentViewPort
int AnalyseLabel(char *string, int level, float *blimitsDC, float *textPosWC, vtkTextProperty **tprop)
virtual void SetRectanglesArrayName(const char *name)
The name of the 4-tuple array used for.
void GetVertexLabel(vtkIdType vertex, vtkDataArray *numericData, vtkStringArray *stringData, int activeComp, int numComps, char *string, size_t stringSize)
int UpdateWindowInfo(vtkViewport *viewport)
void SetLevelRange(int startLevel, int endLevel)
The range of levels to attempt to label.
void SetFontSizeRange(int maxSize, int minSize, int delta=4)
The range of font sizes to use when rendering the labels.
void LabelTree(vtkTree *tree, vtkFloatArray *boxInfo, vtkDataArray *numericData, vtkStringArray *stringData, int activeComp, int numComps)
vtkTextProperty ** HLabelProperties
void GetFontSizeRange(int range[3])
The range of font sizes to use when rendering the labels.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RenderOpaqueGeometry(vtkViewport *viewport, vtkActor2D *actor) override
Draw the text to the screen at each input point.
void RenderOverlay(vtkViewport *viewport, vtkActor2D *actor) override
Draw the text to the screen at each input point.
void GetLevelRange(int range[2])
The range of levels to attempt to label.
~vtkLabeledTreeMapDataMapper() override
int ApplyMasks(int level, float flimits[4], float blimits[4])
represent and manipulate 3D points
a vtkAbstractArray subclass for strings
represent text properties.
A rooted tree data structure.
abstract specification for Viewports
window superclass for vtkRenderWindow