30#ifndef vtkTreeMapLayout_h
31#define vtkTreeMapLayout_h
33#include "vtkInfovisLayoutModule.h"
36VTK_ABI_NAMESPACE_BEGIN
53 vtkGetStringMacro(RectanglesFieldName);
54 vtkSetStringMacro(RectanglesFieldName);
void SetInputArrayToProcess(const char *name, int fieldAssociation)
Set the input data arrays that this algorithm will process.
@ FIELD_ASSOCIATION_VERTICES
a simple class to control print indentation
Superclass for algorithms that produce only Tree as output.
abstract superclass for all tree map layout strategies
layout a vtkTree into a tree map
~vtkTreeMapLayout() override
static vtkTreeMapLayout * New()
char * RectanglesFieldName
void GetBoundingBox(vtkIdType id, float *binfo)
Return the min and max 2D points of the vertex's bounding box.
void SetLayoutStrategy(vtkTreeMapLayoutStrategy *strategy)
The strategy to use when laying out the tree map.
vtkTreeMapLayoutStrategy * LayoutStrategy
vtkIdType FindVertex(float pnt[2], float *binfo=nullptr)
Returns the vertex id that contains pnt (or -1 if no one contains it)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetSizeArrayName(const char *name)
The array to use for the size of each vertex.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkMTimeType GetMTime() override
Get the modification time of the layout algorithm.
vtkTypeUInt32 vtkMTimeType