Go to the documentation of this file.
48 #ifndef vtkCirclePackLayout_h
49 #define vtkCirclePackLayout_h
51 #include "vtkInfovisLayoutModule.h"
74 vtkGetStringMacro(CirclesFieldName);
75 vtkSetStringMacro(CirclesFieldName);
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.
vtkCirclePackLayoutStrategy * LayoutStrategy
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
layout a vtkTree as a circle packing.
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,...
void GetBoundingCircle(vtkIdType id, double *cinfo)
Return the Xcenter, Ycenter, and Radius of the vertex's bounding circle.
abstract superclass for arrays of numeric data
abstract superclass for all circle packing layout strategies.
@ FIELD_ASSOCIATION_VERTICES
A rooted tree data structure.
void SetLayoutStrategy(vtkCirclePackLayoutStrategy *strategy)
a simple class to control print indentation
Superclass for algorithms that produce only Tree as output.
dynamic, self-adjusting array of double
~vtkCirclePackLayout() override
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)
Set the input data arrays that this algorithm will process.
vtkMTimeType GetMTime() override
Get the modification time of the layout algorithm.
static vtkCirclePackLayout * New()
vtkTypeUInt32 vtkMTimeType