VTK  9.3.20240425
vtkMultiNewickTreeReader.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
19#ifndef vtkMultiNewickTreeReader_h
20#define vtkMultiNewickTreeReader_h
21
22#include "vtkDataReader.h"
23#include "vtkIOInfovisModule.h" // For export macro
24
25VTK_ABI_NAMESPACE_BEGIN
28class VTKIOINFOVIS_EXPORT vtkMultiNewickTreeReader : public vtkDataReader
29{
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
36
43
47 int ReadMeshSimple(VTK_FILEPATH const std::string& fname, vtkDataObject* output) override;
48
49protected:
52
54
55private:
57 void operator=(const vtkMultiNewickTreeReader&) = delete;
58};
59
60VTK_ABI_NAMESPACE_END
61#endif
general representation of visualization data
helper superclass for objects that read vtk data files
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
read multiple vtkTrees from Newick formatted file
int ReadMeshSimple(VTK_FILEPATH const std::string &fname, vtkDataObject *output) override
Actual reading happens here.
vtkMultiPieceDataSet * GetOutput(int idx)
Get the output of this reader.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
static vtkMultiNewickTreeReader * New()
void SetOutput(vtkMultiPieceDataSet *output)
Get the output of this reader.
~vtkMultiNewickTreeReader() override
vtkMultiPieceDataSet * GetOutput()
Get the output of this reader.
composite dataset to encapsulates pieces of dataset.
read vtkTree from Newick formatted file
#define VTK_FILEPATH