Go to the documentation of this file.
33 #ifndef vtkNewickTreeReader_h
34 #define vtkNewickTreeReader_h
An editable directed graph.
helper superclass for objects that read vtk data files
int ReadNewickTree(const char *buffer, vtkTree &tree)
#define vtkTypeMacro(thisClass, superclass)
virtual int FillOutputPortInformation(int, vtkInformation *)
void PrintSelf(ostream &os, vtkIndent indent)
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(int idx)
#define VTKIOINFOVIS_EXPORT
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)