#include <vtkPolyDataWriter.h>
vtkPolyDataWriter is a source object that writes ASCII or binary polygonal data files in vtk format. See text for format details.
Definition at line 34 of file vtkPolyDataWriter.h.
Public Types | |
typedef vtkDataWriter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkPolyData * | GetInput () |
vtkPolyData * | GetInput (int port) |
Static Public Member Functions | |
static vtkPolyDataWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPolyDataWriter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPolyDataWriter () | |
~vtkPolyDataWriter () | |
void | WriteData () |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
Reimplemented from vtkDataWriter.
Reimplemented in vtkMNIObjectWriter, vtkBYUWriter, vtkCGMWriter, vtkIVWriter, vtkMCubesWriter, vtkPLYWriter, and vtkSTLWriter.
Definition at line 38 of file vtkPolyDataWriter.h.
vtkPolyDataWriter::vtkPolyDataWriter | ( | ) | [inline, protected] |
Definition at line 48 of file vtkPolyDataWriter.h.
vtkPolyDataWriter::~vtkPolyDataWriter | ( | ) | [inline, protected] |
Definition at line 49 of file vtkPolyDataWriter.h.
static vtkPolyDataWriter* vtkPolyDataWriter::New | ( | ) | [static] |
Created object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates.
Reimplemented from vtkDataWriter.
Reimplemented in vtkMNIObjectWriter, vtkBYUWriter, vtkCGMWriter, vtkIVWriter, vtkMCubesWriter, vtkPLYWriter, and vtkSTLWriter.
virtual const char* vtkPolyDataWriter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataWriter.
Reimplemented in vtkMNIObjectWriter, vtkBYUWriter, vtkCGMWriter, vtkIVWriter, vtkMCubesWriter, vtkPLYWriter, and vtkSTLWriter.
static int vtkPolyDataWriter::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.
Reimplemented in vtkMNIObjectWriter, vtkBYUWriter, vtkCGMWriter, vtkIVWriter, vtkMCubesWriter, vtkPLYWriter, and vtkSTLWriter.
virtual int vtkPolyDataWriter::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.
Reimplemented in vtkMNIObjectWriter, vtkBYUWriter, vtkCGMWriter, vtkIVWriter, vtkMCubesWriter, vtkPLYWriter, and vtkSTLWriter.
static vtkPolyDataWriter* vtkPolyDataWriter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataWriter.
Reimplemented in vtkMNIObjectWriter, vtkBYUWriter, vtkCGMWriter, vtkIVWriter, vtkMCubesWriter, vtkPLYWriter, and vtkSTLWriter.
void vtkPolyDataWriter::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.
Reimplemented in vtkMNIObjectWriter, vtkBYUWriter, vtkCGMWriter, vtkIVWriter, vtkMCubesWriter, vtkPLYWriter, and vtkSTLWriter.
vtkPolyData* vtkPolyDataWriter::GetInput | ( | ) |
Get the input to this writer.
Reimplemented from vtkWriter.
vtkPolyData* vtkPolyDataWriter::GetInput | ( | int | port | ) |
Get the input to this writer.
Reimplemented from vtkWriter.
void vtkPolyDataWriter::WriteData | ( | ) | [protected, virtual] |
Reimplemented from vtkDataWriter.
Reimplemented in vtkMNIObjectWriter, vtkBYUWriter, vtkCGMWriter, vtkIVWriter, vtkMCubesWriter, vtkPLYWriter, and vtkSTLWriter.
virtual int vtkPolyDataWriter::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.