38#ifndef vtkAreaLayout_h
39#define vtkAreaLayout_h
41#include "vtkInfovisLayoutModule.h"
69 vtkGetStringMacro(AreaArrayName);
70 vtkSetStringMacro(AreaArrayName);
78 vtkGetMacro(EdgeRoutingPoints,
bool);
79 vtkSetMacro(EdgeRoutingPoints,
bool);
80 vtkBooleanMacro(EdgeRoutingPoints,
bool);
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)
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