22#ifndef vtkAreaLayout_h
23#define vtkAreaLayout_h
25#include "vtkInfovisLayoutModule.h"
28VTK_ABI_NAMESPACE_BEGIN
54 vtkGetStringMacro(AreaArrayName);
55 vtkSetStringMacro(AreaArrayName);
63 vtkGetMacro(EdgeRoutingPoints,
bool);
64 vtkSetMacro(EdgeRoutingPoints,
bool);
65 vtkBooleanMacro(EdgeRoutingPoints,
bool);
void SetInputArrayToProcess(const char *name, int fieldAssociation)
Set the input data arrays that this algorithm will process.
abstract superclass for all area layout strategies
layout a vtkTree into a tree map
vtkMTimeType GetMTime() override
Get the modification time of the layout algorithm.
void SetLayoutStrategy(vtkAreaLayoutStrategy *strategy)
The strategy to use when laying out the tree map.
vtkIdType FindVertex(float pnt[2])
Get the vertex whose area contains the point, or return -1 if no vertex area covers the point.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void GetBoundingArea(vtkIdType id, float *sinfo)
The bounding area information for a certain vertex id.
~vtkAreaLayout() override
static vtkAreaLayout * New()
vtkAreaLayoutStrategy * LayoutStrategy
char * EdgeRoutingPointsArrayName
virtual void SetSizeArrayName(const char *name)
The array name to use for retrieving the relative size of each vertex.
@ FIELD_ASSOCIATION_VERTICES
a simple class to control print indentation
Superclass for algorithms that produce only Tree as output.
vtkTypeUInt32 vtkMTimeType