31#ifndef vtkNewickTreeReader_h
32#define vtkNewickTreeReader_h
35#include "vtkIOInfovisModule.h"
general representation of visualization data
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)
Get the output of this reader.
int ReadNewickTree(const char *buffer, vtkTree &tree)
Get the output of this reader.
vtkTree * GetOutput(int idx)
Get the output of this reader.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkIdType BuildTree(char *buffer, vtkMutableDirectedGraph *g, vtkDoubleArray *weights, vtkStringArray *names, vtkIdType parent)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkNewickTreeReader() override
void CountNodes(const char *buffer, vtkIdType *numNodes)
vtkTree * GetOutput()
Get the output of this reader.
int ReadMeshSimple(VTK_FILEPATH const std::string &fname, vtkDataObject *output) override
Actual reading happens here.
static vtkNewickTreeReader * New()
a vtkAbstractArray subclass for strings
A rooted tree data structure.