32#ifndef vtkCirclePackLayout_h 
   33#define vtkCirclePackLayout_h 
   35#include "vtkInfovisLayoutModule.h"  
   38VTK_ABI_NAMESPACE_BEGIN
 
   59  vtkGetStringMacro(CirclesFieldName);
 
   60  vtkSetStringMacro(CirclesFieldName);
 
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 circle packing layout strategies.
 
layout a vtkTree as a circle packing.
 
void GetBoundingCircle(vtkIdType id, double *cinfo)
Return the Xcenter, Ycenter, and Radius of the vertex's bounding circle.
 
virtual void SetSizeArrayName(const char *name)
The array to use for the size of each vertex.
 
vtkIdType FindVertex(double pnt[2], double *cinfo=nullptr)
Returns the vertex id that contains pnt (or -1 if no one contains it) pnt[0] is x,...
 
vtkCirclePackLayoutStrategy * LayoutStrategy
 
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
 
void SetLayoutStrategy(vtkCirclePackLayoutStrategy *strategy)
The strategy to use when laying out the tree map.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
~vtkCirclePackLayout() override
 
vtkMTimeType GetMTime() override
Get the modification time of the layout algorithm.
 
static vtkCirclePackLayout * New()
 
abstract superclass for arrays of numeric data
 
@ FIELD_ASSOCIATION_VERTICES
 
dynamic, self-adjusting array of double
 
a simple class to control print indentation
 
Superclass for algorithms that produce only Tree as output.
 
A rooted tree data structure.
 
vtkTypeUInt32 vtkMTimeType