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