28#ifndef vtkLabeledTreeMapDataMapper_h
29#define vtkLabeledTreeMapDataMapper_h
32#include "vtkRenderingLabelModule.h"
35VTK_ABI_NAMESPACE_BEGIN
75 vtkGetMacro(ClipTextMode,
int);
76 vtkSetMacro(ClipTextMode,
int);
83 vtkGetMacro(ChildMotion,
int);
84 vtkSetMacro(ChildMotion,
int);
91 vtkGetMacro(DynamicLevel,
int);
92 vtkSetMacro(DynamicLevel,
int);
124 int activeComp,
int numComps,
char*
string,
size_t stringSize);
133 char*
string,
int level,
float* blimitsDC,
float* textPosWC,
vtkTextProperty** tprop);
134 int ApplyMasks(
int level,
float flimits[4],
float blimits[4]);
141 double BoxTrans[2][2];
142 double WindowLimits[2][2];
144 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