VTK
|
write vtkTree data to a file More...
#include <vtkTreeWriter.h>
Public Types | |
typedef vtkDataWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTreeWriter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkTree * | GetInput () |
vtkTree * | GetInput (int port) |
Static Public Member Functions | |
static vtkTreeWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkTreeWriter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTreeWriter () | |
~vtkTreeWriter () | |
void | WriteData () |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
write vtkTree data to a file
vtkTreeWriter is a sink object that writes ASCII or binary vtkTree data files in vtk format. See text for format details.
Definition at line 32 of file vtkTreeWriter.h.
Reimplemented from vtkDataWriter.
Definition at line 36 of file vtkTreeWriter.h.
vtkTreeWriter::vtkTreeWriter | ( | ) | [inline, protected] |
Definition at line 46 of file vtkTreeWriter.h.
vtkTreeWriter::~vtkTreeWriter | ( | ) | [inline, protected] |
Definition at line 47 of file vtkTreeWriter.h.
static vtkTreeWriter* vtkTreeWriter::New | ( | ) | [static] |
Created object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates.
Reimplemented from vtkDataWriter.
static int vtkTreeWriter::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 vtkDataWriter.
virtual int vtkTreeWriter::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 vtkDataWriter.
static vtkTreeWriter* vtkTreeWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataWriter.
virtual vtkObjectBase* vtkTreeWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataWriter.
vtkTreeWriter* vtkTreeWriter::NewInstance | ( | ) | const |
Reimplemented from vtkDataWriter.
void vtkTreeWriter::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 vtkDataWriter.
Get the input to this writer.
Reimplemented from vtkWriter.
vtkTree* vtkTreeWriter::GetInput | ( | int | port | ) |
Get the input to this writer.
Reimplemented from vtkWriter.
void vtkTreeWriter::WriteData | ( | ) | [protected, virtual] |
Reimplemented from vtkDataWriter.
virtual int vtkTreeWriter::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkAlgorithm.