34#ifndef vtkNewickTreeReader_h
35#define vtkNewickTreeReader_h
37#include "vtkIOInfovisModule.h"
helper superclass for objects that read vtk data files
dynamic, self-adjusting array of double
a simple class to control print indentation
An editable directed graph.
read vtkTree from Newick formatted file
void SetOutput(vtkTree *output)
int ReadNewickTree(const char *buffer, vtkTree &tree)
vtkTree * GetOutput(int idx)
virtual int FillOutputPortInformation(int, vtkInformation *)
Fill the output port information objects for this algorithm.
vtkIdType BuildTree(char *buffer, vtkMutableDirectedGraph *g, vtkDoubleArray *weights, vtkStringArray *names, vtkIdType parent)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void CountNodes(const char *buffer, vtkIdType *numNodes)
vtkTree * GetOutput()
Get the output of this reader.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkNewickTreeReader * New()
a vtkAbstractArray subclass for strings
A rooted tree data structure.