VTK
|
read vtkTree from Newick formatted file More...
#include <vtkNewickTreeReader.h>
read vtkTree from Newick formatted file
vtkNewickTreeReader is a source object that reads Newick tree format files. The output of this reader is a single vtkTree data object. The superclass of this class, vtkDataReader, provides many methods for controlling the reading of the data file, see vtkDataReader for more information.
Definition at line 44 of file vtkNewickTreeReader.h.
Reimplemented from vtkDataReader.
Definition at line 48 of file vtkNewickTreeReader.h.
vtkNewickTreeReader::vtkNewickTreeReader | ( | ) | [protected] |
vtkNewickTreeReader::~vtkNewickTreeReader | ( | ) | [protected] |
static vtkNewickTreeReader* vtkNewickTreeReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataReader.
static int vtkNewickTreeReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataReader.
virtual int vtkNewickTreeReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataReader.
static vtkNewickTreeReader* vtkNewickTreeReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataReader.
virtual vtkObjectBase* vtkNewickTreeReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataReader.
Reimplemented from vtkDataReader.
void vtkNewickTreeReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDataReader.
Get the output of this reader.
vtkTree* vtkNewickTreeReader::GetOutput | ( | int | idx | ) |
Get the output of this reader.
void vtkNewickTreeReader::SetOutput | ( | vtkTree * | output | ) |
Get the output of this reader.
int vtkNewickTreeReader::ReadNewickTree | ( | const char * | buffer, |
vtkTree & | tree | ||
) |
Get the output of this reader.
virtual int vtkNewickTreeReader::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
Reimplemented from vtkDataReader.
virtual int vtkNewickTreeReader::RequestUpdateExtent | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
Reimplemented from vtkDataReader.
virtual int vtkNewickTreeReader::FillOutputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkAlgorithm.
void vtkNewickTreeReader::CountNodes | ( | const char * | buffer, |
vtkIdType * | numNodes | ||
) | [protected] |
vtkIdType vtkNewickTreeReader::BuildTree | ( | char * | buffer, |
vtkMutableDirectedGraph * | g, | ||
vtkDoubleArray * | weights, | ||
vtkStringArray * | names, | ||
vtkIdType | parent | ||
) | [protected] |