vtkDataObjectWriter Class Reference

#include <vtkDataObjectWriter.h>

Inheritance diagram for vtkDataObjectWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkDataObjectWriter:

Collaboration graph
[legend]

List of all members.


Detailed Description

write vtk field data

vtkDataObjectWriter is a source object that writes ASCII or binary field data files in vtk format. Field data is a general form of data in matrix form.

Warning:
Binary files written on one system may not be readable on other systems.
See also:
vtkFieldData vtkFieldDataReader
Tests:
vtkDataObjectWriter (Tests)

Definition at line 38 of file vtkDataObjectWriter.h.


Public Types

typedef vtkWriter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetFileName (const char *filename)
char * GetFileName ()
void SetHeader (const char *header)
char * GetHeader ()
void SetFileType (int type)
int GetFileType ()
void SetFileTypeToASCII ()
void SetFileTypeToBinary ()
void SetFieldDataName (const char *fieldname)
char * GetFieldDataName ()

Static Public Member Functions

static vtkDataObjectWriterNew ()
static int IsTypeOf (const char *type)
static vtkDataObjectWriterSafeDownCast (vtkObject *o)

Protected Member Functions

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

Protected Attributes

vtkDataWriterWriter

Member Typedef Documentation

Reimplemented from vtkWriter.

Definition at line 42 of file vtkDataObjectWriter.h.


Constructor & Destructor Documentation

vtkDataObjectWriter::vtkDataObjectWriter (  )  [protected]

vtkDataObjectWriter::~vtkDataObjectWriter (  )  [protected]


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

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

Reimplemented from vtkWriter.

static int vtkDataObjectWriter::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 vtkWriter.

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

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

Reimplemented from vtkWriter.

void vtkDataObjectWriter::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 vtkWriter.

void vtkDataObjectWriter::SetFileName ( const char *  filename  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 47 of file vtkDataObjectWriter.h.

char* vtkDataObjectWriter::GetFileName (  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 48 of file vtkDataObjectWriter.h.

void vtkDataObjectWriter::SetHeader ( const char *  header  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 49 of file vtkDataObjectWriter.h.

char* vtkDataObjectWriter::GetHeader (  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 50 of file vtkDataObjectWriter.h.

void vtkDataObjectWriter::SetFileType ( int  type  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 51 of file vtkDataObjectWriter.h.

int vtkDataObjectWriter::GetFileType (  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 52 of file vtkDataObjectWriter.h.

void vtkDataObjectWriter::SetFileTypeToASCII (  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 53 of file vtkDataObjectWriter.h.

void vtkDataObjectWriter::SetFileTypeToBinary (  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 54 of file vtkDataObjectWriter.h.

void vtkDataObjectWriter::SetFieldDataName ( const char *  fieldname  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 55 of file vtkDataObjectWriter.h.

char* vtkDataObjectWriter::GetFieldDataName (  )  [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 56 of file vtkDataObjectWriter.h.

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

Implements vtkWriter.

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


Member Data Documentation

Definition at line 64 of file vtkDataObjectWriter.h.


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

Generated on Mon Sep 27 18:21:25 2010 for VTK by  doxygen 1.5.6