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