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)
A rooted tree data structure.
a simple class to control print indentation
~vtkNewickTreeReader() override
read vtkTree from Newick formatted file
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
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)
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of double
int ReadMeshSimple(const std::string &fname, vtkDataObject *output) override
Actual reading happens here.
general representation of visualization data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutput(vtkTree *output)
void CountNodes(const char *buffer, vtkIdType *numNodes)