VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkDataObjectWriter Class Reference

write vtk field data More...

#include <vtkDataObjectWriter.h>

Inheritance diagram for vtkDataObjectWriter:
Inheritance graph
[legend]
Collaboration diagram for vtkDataObjectWriter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkWriter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkDataObjectWriterNewInstance () const
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 SetWriteToOutputString (int b)
void WriteToOutputStringOn ()
void WriteToOutputStringOff ()
int GetWriteToOutputString ()
char * GetOutputString ()
vtkStdString GetOutputStdString ()
int GetOutputStringLength ()
unsigned char * GetBinaryOutputString ()
void SetFieldDataName (const char *fieldname)
char * GetFieldDataName ()

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

vtkDataWriterWriter

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 40 of file vtkDataObjectWriter.h.


Member Typedef Documentation

Reimplemented from vtkWriter.

Definition at line 44 of file vtkDataObjectWriter.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkAlgorithm.

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.

Reimplemented from vtkWriter.

virtual vtkObjectBase* vtkDataObjectWriter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkWriter.

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 49 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 50 of file vtkDataObjectWriter.h.

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

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 51 of file vtkDataObjectWriter.h.

char* vtkDataObjectWriter::GetHeader ( ) [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 52 of file vtkDataObjectWriter.h.

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

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 53 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 54 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 55 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 56 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 57 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 58 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 59 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 60 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 61 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 62 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 63 of file vtkDataObjectWriter.h.

unsigned char* vtkDataObjectWriter::GetBinaryOutputString ( ) [inline]

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 64 of file vtkDataObjectWriter.h.

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

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 65 of file vtkDataObjectWriter.h.

Methods delegated to vtkDataWriter, see vtkDataWriter.

Definition at line 66 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 74 of file vtkDataObjectWriter.h.


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