vtkGraphWriter Class Reference

#include <vtkGraphWriter.h>

Inheritance diagram for vtkGraphWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkGraphWriter:

Collaboration graph
[legend]

List of all members.


Detailed Description

write vtkGraph data to a file

vtkGraphWriter is a sink object that writes ASCII or binary vtkGraph data files in vtk format. See text for format details.

Warning:
Binary files written on one system may not be readable on other systems.

Definition at line 31 of file vtkGraphWriter.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)
vtkGraphGetInput ()
vtkGraphGetInput (int port)

Static Public Member Functions

static vtkGraphWriterNew ()
static int IsTypeOf (const char *type)
static vtkGraphWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGraphWriter ()
 ~vtkGraphWriter ()
void WriteData ()
virtual int FillInputPortInformation (int port, vtkInformation *info)

Member Typedef Documentation

Reimplemented from vtkDataWriter.

Definition at line 35 of file vtkGraphWriter.h.


Constructor & Destructor Documentation

vtkGraphWriter::vtkGraphWriter (  )  [inline, protected]

Definition at line 45 of file vtkGraphWriter.h.

vtkGraphWriter::~vtkGraphWriter (  )  [inline, protected]

Definition at line 46 of file vtkGraphWriter.h.


Member Function Documentation

static vtkGraphWriter* vtkGraphWriter::New (  )  [static]

Created object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates.

Reimplemented from vtkDataWriter.

virtual const char* vtkGraphWriter::GetClassName (  )  [virtual]

Reimplemented from vtkDataWriter.

static int vtkGraphWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataWriter.

virtual int vtkGraphWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataWriter.

static vtkGraphWriter* vtkGraphWriter::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkDataWriter.

void vtkGraphWriter::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.

vtkGraph* vtkGraphWriter::GetInput (  ) 

Get the input to this writer.

Reimplemented from vtkWriter.

vtkGraph* vtkGraphWriter::GetInput ( int  port  ) 

Get the input to this writer.

Reimplemented from vtkWriter.

void vtkGraphWriter::WriteData (  )  [protected, virtual]

Reimplemented from vtkDataWriter.

virtual int vtkGraphWriter::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.


The documentation for this class was generated from the following file:

Generated on Sat Dec 27 13:27:24 2008 for VTK by  doxygen 1.5.6