Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkXMLWriter Class Reference

#include <vtkXMLWriter.h>

Inheritance diagram for vtkXMLWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLWriter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Superclass for VTK's XML file writers.

vtkXMLWriter provides methods implementing most of the functionality needed to write VTK XML file formats. Concrete subclasses provide actual writer implementations calling upon this functionality.

Definition at line 44 of file vtkXMLWriter.h.
enum  { BigEndian, LittleEndian }
void PrintSelf (ostream &os, vtkIndent indent)

Public Types

typedef vtkAlgorithm Superclass
enum  { Ascii, Binary, Appended }
enum  { Int32 = 32, Int64 = 64 }

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual const char * GetDefaultFileExtension ()=0
int Write ()
virtual void SetByteOrder (int)
virtual int GetByteOrder ()
void SetByteOrderToBigEndian ()
void SetByteOrderToLittleEndian ()
virtual void SetIdType (int)
virtual int GetIdType ()
void SetIdTypeToInt32 ()
void SetIdTypeToInt64 ()
virtual void SetFileName (const char *)
virtual char * GetFileName ()
virtual void SetCompressor (vtkDataCompressor *)
virtual vtkDataCompressorGetCompressor ()
virtual void SetBlockSize (unsigned int blockSize)
virtual unsigned int GetBlockSize ()
virtual void SetDataMode (int)
virtual int GetDataMode ()
void SetDataModeToAscii ()
void SetDataModeToBinary ()
void SetDataModeToAppended ()
virtual void SetEncodeAppendedData (int)
virtual int GetEncodeAppendedData ()
virtual void EncodeAppendedDataOn ()
virtual void EncodeAppendedDataOff ()
void SetInput (vtkDataObject *)
void SetInput (int, vtkDataObject *)
vtkDataObjectGetInput (int port)
vtkDataObjectGetInput ()
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetTimeStep (int)
virtual int GetTimeStep ()
virtual int * GetTimeStepRange ()
virtual void GetTimeStepRange (int &, int &)
virtual void GetTimeStepRange (int[2])
virtual void SetTimeStepRange (int, int)
void SetTimeStepRange (int[2])
virtual int GetNumberOfTimeSteps ()
virtual void SetNumberOfTimeSteps (int)
void Start ()
void Stop ()
void WriteNextTime (double time)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkXMLWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkXMLWriter ()
 ~vtkXMLWriter ()
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetDataStream (vtkOutputStream *)
virtual vtkOutputStreamGetDataStream ()
virtual int WriteInternal ()
virtual int WriteData ()
virtual const char * GetDataSetName ()=0
virtual int GetDataSetMajorVersion ()
virtual int GetDataSetMinorVersion ()
vtkDataSetGetInputAsDataSet ()
int StartFile ()
virtual void WriteFileAttributes ()
int EndFile ()
void DeleteAFile ()
void DeleteAFile (const char *name)
virtual int WritePrimaryElement (ostream &os, vtkIndent indent)
virtual void WritePrimaryElementAttributes (ostream &os, vtkIndent indent)
void StartAppendedData ()
void EndAppendedData ()
unsigned long ReserveAttributeSpace (const char *attr, int length=20)
unsigned long GetAppendedDataOffset ()
unsigned long WriteAppendedDataOffset (unsigned long streamPos, unsigned long &lastoffset, const char *attr=0)
unsigned long ForwardAppendedDataOffset (unsigned long streamPos, unsigned long offset, const char *attr=0)
int WriteBinaryData (void *data, int numWords, int wordType)
int WriteBinaryData (char *data)
int WriteBinaryData (char *data, int numWords)
int WriteBinaryData (unsigned char *data, int numWords)
int WriteBinaryData (short *data, int numWords)
int WriteBinaryData (unsigned short *data, int numWords)
int WriteBinaryData (int *data, int numWords)
int WriteBinaryData (unsigned int *data, int numWords)
int WriteAsciiData (void *data, int numWords, int wordType, vtkIndent indent)
int WriteAsciiData (char *data, vtkIndent indent)
int WriteAsciiData (char *data, int numWords, vtkIndent indent)
int WriteAsciiData (unsigned char *data, int numWords, vtkIndent indent)
int WriteAsciiData (short *data, int numWords, vtkIndent indent)
int WriteAsciiData (unsigned short *data, int numWords, vtkIndent indent)
int WriteAsciiData (int *data, int numWords, vtkIndent indent)
int WriteAsciiData (unsigned int *data, int numWords, vtkIndent indent)
int WriteScalarAttribute (const char *name, int data)
int WriteScalarAttribute (const char *name, float data)
int WriteVectorAttribute (const char *name, int length, int *data)
int WriteVectorAttribute (const char *name, int length, float *data)
int WriteVectorAttribute (const char *name, int length, double *data)
int WriteDataModeAttribute (const char *name)
int WriteWordTypeAttribute (const char *name, int dataType)
int WriteStringAttribute (const char *name, const char *value)
unsigned long WriteDataArrayAppended (vtkDataArray *a, vtkIndent indent, const char *alternateName=0, int writeNumTuples=0, int timestep=-1)
void WriteDataArrayAppendedData (vtkDataArray *a, unsigned long pos, unsigned long &lastoffset)
void WriteDataArrayInline (vtkDataArray *a, vtkIndent indent, const char *alternateName=0, int writeNumTuples=0)
void WriteInlineData (void *data, int numWords, int wordType, vtkIndent indent)
void WriteDataArrayHeader (vtkDataArray *a, vtkIndent indent, const char *alternateName, int writeNumTuples, int timestep)
void WriteDataArrayFooter (ostream &os, vtkIndent indent)
void WriteFieldData (vtkIndent indent)
void WriteFieldDataInline (vtkFieldData *fd, vtkIndent indent)
void WritePointDataInline (vtkPointData *pd, vtkIndent indent)
void WriteCellDataInline (vtkCellData *cd, vtkIndent indent)
void WriteFieldDataAppended (vtkFieldData *fd, vtkIndent indent, OffsetsManagerGroup *fdManager)
void WriteFieldDataAppendedData (vtkFieldData *fd, int timestep, OffsetsManagerGroup *fdManager)
void WritePointDataAppended (vtkPointData *pd, vtkIndent indent, OffsetsManagerGroup *pdManager)
void WritePointDataAppendedData (vtkPointData *pd, int timestep, OffsetsManagerGroup *pdManager)
void WriteCellDataAppended (vtkCellData *cd, vtkIndent indent, OffsetsManagerGroup *cdManager)
void WriteCellDataAppendedData (vtkCellData *cd, int timestep, OffsetsManagerGroup *cdManager)
void WriteAttributeIndices (vtkDataSetAttributes *dsa, char **names)
void WritePointsAppended (vtkPoints *points, vtkIndent indent, OffsetsManager *manager)
void WritePointsAppendedData (vtkPoints *points, int timestep, OffsetsManager *pdManager)
void WritePointsInline (vtkPoints *points, vtkIndent indent)
void WriteCoordinatesInline (vtkDataArray *xc, vtkDataArray *yc, vtkDataArray *zc, vtkIndent indent)
void WriteCoordinatesAppended (vtkDataArray *xc, vtkDataArray *yc, vtkDataArray *zc, vtkIndent indent, OffsetsManagerGroup *coordManager)
void WriteCoordinatesAppendedData (vtkDataArray *xc, vtkDataArray *yc, vtkDataArray *zc, int timestep, OffsetsManagerGroup *coordManager)
virtual vtkDataArrayCreateArrayForPoints (vtkDataArray *inArray)
virtual vtkDataArrayCreateArrayForCells (vtkDataArray *inArray)
virtual vtkDataArrayCreateExactCoordinates (vtkDataArray *inArray, int xyz)
void WritePPointData (vtkPointData *pd, vtkIndent indent)
void WritePCellData (vtkCellData *cd, vtkIndent indent)
void WritePPoints (vtkPoints *points, vtkIndent indent)
void WritePDataArray (vtkDataArray *a, vtkIndent indent, const char *alternateName=0)
void WritePCoordinates (vtkDataArray *xc, vtkDataArray *yc, vtkDataArray *zc, vtkIndent indent)
int WriteBinaryDataInternal (void *data, int numWords, int wordType)
int WriteBinaryDataBlock (unsigned char *in_data, int numWords, int wordType)
void PerformByteSwap (void *data, int numWords, int wordSize)
int CreateCompressionHeader (unsigned long size)
int WriteCompressionBlock (unsigned char *data, unsigned long size)
int WriteCompressionHeader ()
unsigned long GetWordTypeSize (int dataType)
const char * GetWordTypeName (int dataType)
unsigned long GetOutputWordTypeSize (int dataType)
char ** CreateStringArray (int numStrings)
void DestroyStringArray (int numStrings, char **strings)
virtual void GetProgressRange (float *range)
virtual void SetProgressRange (float *range, int curStep, int numSteps)
virtual void SetProgressRange (float *range, int curStep, float *fractions)
virtual void SetProgressPartial (float fraction)
virtual void UpdateProgressDiscrete (float progress)
int OpenFile ()
void CloseFile ()

Protected Attributes

char * FileName
ostream * Stream
int ByteOrder
int IdType
int DataMode
int EncodeAppendedData
unsigned long AppendedDataPosition
OffsetsManagerGroupFieldDataOM
Int32IdType * Int32IdTypeBuffer
unsigned char * ByteSwapBuffer
vtkDataCompressorCompressor
unsigned int BlockSize
unsigned long CompressionBlockNumber
HeaderType * CompressionHeader
unsigned int CompressionHeaderLength
unsigned long CompressionHeaderPosition
vtkOutputStreamDataStream
float ProgressRange [2]
ofstream * OutFile
int TimeStep
int CurrentTimeIndex
int NumberOfTimeSteps
int TimeStepRange [2]
int UserContinueExecuting
unsigned long * NumberOfTimeValues


Member Typedef Documentation

typedef vtkAlgorithm vtkXMLWriter::Superclass
 

Reimplemented from vtkAlgorithm.

Reimplemented in vtkXMLDataSetWriter, vtkXMLImageDataWriter, vtkXMLPDataSetWriter, vtkXMLPDataWriter, vtkXMLPImageDataWriter, vtkXMLPolyDataWriter, vtkXMLPPolyDataWriter, vtkXMLPRectilinearGridWriter, vtkXMLPStructuredDataWriter, vtkXMLPStructuredGridWriter, vtkXMLPUnstructuredDataWriter, vtkXMLPUnstructuredGridWriter, vtkXMLRectilinearGridWriter, vtkXMLStructuredDataWriter, vtkXMLStructuredGridWriter, vtkXMLUnstructuredDataWriter, and vtkXMLUnstructuredGridWriter.

Definition at line 47 of file vtkXMLWriter.h.


Member Enumeration Documentation

anonymous enum
 

Enumerate big and little endian byte order settings.

Enumerator:
BigEndian 
LittleEndian 

Definition at line 53 of file vtkXMLWriter.h.

anonymous enum
 

Enumerate the supported data modes. Ascii = Inline ascii data. Binary = Inline binary data (base64 encoded, possibly compressed). Appended = Appended binary data (possibly compressed and/or base64).

Enumerator:
Ascii 
Binary 
Appended 

Definition at line 62 of file vtkXMLWriter.h.

anonymous enum
 

Enumerate the supported vtkIdType bit lengths. Int32 = File stores 32-bit values for vtkIdType. Int64 = File stores 64-bit values for vtkIdType.

Enumerator:
Int32 
Int64 

Definition at line 71 of file vtkXMLWriter.h.


Constructor & Destructor Documentation

vtkXMLWriter::vtkXMLWriter  )  [protected]
 

vtkXMLWriter::~vtkXMLWriter  )  [protected]
 


Member Function Documentation

virtual const char* vtkXMLWriter::GetClassName  )  [virtual]
 

Reimplemented from vtkAlgorithm.

Reimplemented in vtkXMLDataSetWriter, vtkXMLImageDataWriter, vtkXMLPDataSetWriter, vtkXMLPDataWriter, vtkXMLPImageDataWriter, vtkXMLPolyDataWriter, vtkXMLPPolyDataWriter, vtkXMLPRectilinearGridWriter, vtkXMLPStructuredDataWriter, vtkXMLPStructuredGridWriter, vtkXMLPUnstructuredDataWriter, vtkXMLPUnstructuredGridWriter, vtkXMLRectilinearGridWriter, vtkXMLStructuredDataWriter, vtkXMLStructuredGridWriter, vtkXMLUnstructuredDataWriter, and vtkXMLUnstructuredGridWriter.

static int vtkXMLWriter::IsTypeOf const char *  type  )  [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 vtkAlgorithm.

Reimplemented in vtkXMLDataSetWriter, vtkXMLImageDataWriter, vtkXMLPDataSetWriter, vtkXMLPDataWriter, vtkXMLPImageDataWriter, vtkXMLPolyDataWriter, vtkXMLPPolyDataWriter, vtkXMLPRectilinearGridWriter, vtkXMLPStructuredDataWriter, vtkXMLPStructuredGridWriter, vtkXMLPUnstructuredDataWriter, vtkXMLPUnstructuredGridWriter, vtkXMLRectilinearGridWriter, vtkXMLStructuredDataWriter, vtkXMLStructuredGridWriter, vtkXMLUnstructuredDataWriter, and vtkXMLUnstructuredGridWriter.

virtual int vtkXMLWriter::IsA const char *  type  )  [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 vtkAlgorithm.

Reimplemented in vtkXMLDataSetWriter, vtkXMLImageDataWriter, vtkXMLPDataSetWriter, vtkXMLPDataWriter, vtkXMLPImageDataWriter, vtkXMLPolyDataWriter, vtkXMLPPolyDataWriter, vtkXMLPRectilinearGridWriter, vtkXMLPStructuredDataWriter, vtkXMLPStructuredGridWriter, vtkXMLPUnstructuredDataWriter, vtkXMLPUnstructuredGridWriter, vtkXMLRectilinearGridWriter, vtkXMLStructuredDataWriter, vtkXMLStructuredGridWriter, vtkXMLUnstructuredDataWriter, and vtkXMLUnstructuredGridWriter.

static vtkXMLWriter* vtkXMLWriter::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkAlgorithm.

Reimplemented in vtkXMLDataSetWriter, vtkXMLImageDataWriter, vtkXMLPDataSetWriter, vtkXMLPDataWriter, vtkXMLPImageDataWriter, vtkXMLPolyDataWriter, vtkXMLPPolyDataWriter, vtkXMLPRectilinearGridWriter, vtkXMLPStructuredDataWriter, vtkXMLPStructuredGridWriter, vtkXMLPUnstructuredDataWriter, vtkXMLPUnstructuredGridWriter, vtkXMLRectilinearGridWriter, vtkXMLStructuredDataWriter, vtkXMLStructuredGridWriter, vtkXMLUnstructuredDataWriter, and vtkXMLUnstructuredGridWriter.

void vtkXMLWriter::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Enumerate big and little endian byte order settings.

Reimplemented from vtkAlgorithm.

Reimplemented in vtkXMLDataSetWriter, vtkXMLImageDataWriter, vtkXMLPDataSetWriter, vtkXMLPDataWriter, vtkXMLPImageDataWriter, vtkXMLPolyDataWriter, vtkXMLPPolyDataWriter, vtkXMLPRectilinearGridWriter, vtkXMLPStructuredDataWriter, vtkXMLPStructuredGridWriter, vtkXMLPUnstructuredDataWriter, vtkXMLPUnstructuredGridWriter, vtkXMLRectilinearGridWriter, vtkXMLStructuredDataWriter, vtkXMLStructuredGridWriter, vtkXMLUnstructuredDataWriter, and vtkXMLUnstructuredGridWriter.

virtual void vtkXMLWriter::SetByteOrder int   )  [virtual]
 

Get/Set the byte order of data written to the file. The default is the machine's hardware byte order.

virtual int vtkXMLWriter::GetByteOrder  )  [virtual]
 

Get/Set the byte order of data written to the file. The default is the machine's hardware byte order.

void vtkXMLWriter::SetByteOrderToBigEndian  ) 
 

Get/Set the byte order of data written to the file. The default is the machine's hardware byte order.

void vtkXMLWriter::SetByteOrderToLittleEndian  ) 
 

Get/Set the byte order of data written to the file. The default is the machine's hardware byte order.

virtual void vtkXMLWriter::SetIdType int   )  [virtual]
 

Get/Set the size of the vtkIdType values stored in the file. The default is the real size of vtkIdType.

virtual int vtkXMLWriter::GetIdType  )  [virtual]
 

Get/Set the size of the vtkIdType values stored in the file. The default is the real size of vtkIdType.

void vtkXMLWriter::SetIdTypeToInt32  ) 
 

Get/Set the size of the vtkIdType values stored in the file. The default is the real size of vtkIdType.

void vtkXMLWriter::SetIdTypeToInt64  ) 
 

Get/Set the size of the vtkIdType values stored in the file. The default is the real size of vtkIdType.

virtual void vtkXMLWriter::SetFileName const char *   )  [virtual]
 

Get/Set the name of the output file.

virtual char* vtkXMLWriter::GetFileName  )  [virtual]
 

Get/Set the name of the output file.

virtual void vtkXMLWriter::SetCompressor vtkDataCompressor  )  [virtual]
 

Get/Set the compressor used to compress binary and appended data before writing to the file. Default is no compression.

virtual vtkDataCompressor* vtkXMLWriter::GetCompressor  )  [virtual]
 

Get/Set the compressor used to compress binary and appended data before writing to the file. Default is no compression.

virtual void vtkXMLWriter::SetBlockSize unsigned int  blockSize  )  [virtual]
 

Get/Set the block size used in compression. When reading, this controls the granularity of how much extra information must be read when only part of the data are requested. The value should be a multiple of the largest scalar data type.

virtual unsigned int vtkXMLWriter::GetBlockSize  )  [virtual]
 

Get/Set the block size used in compression. When reading, this controls the granularity of how much extra information must be read when only part of the data are requested. The value should be a multiple of the largest scalar data type.

virtual void vtkXMLWriter::SetDataMode int   )  [virtual]
 

Get/Set the data mode used for the file's data. The options are vtkXMLWriter::Ascii, vtkXMLWriter::Binary, and vtkXMLWriter::Appended.

virtual int vtkXMLWriter::GetDataMode  )  [virtual]
 

Get/Set the data mode used for the file's data. The options are vtkXMLWriter::Ascii, vtkXMLWriter::Binary, and vtkXMLWriter::Appended.

void vtkXMLWriter::SetDataModeToAscii  ) 
 

Get/Set the data mode used for the file's data. The options are vtkXMLWriter::Ascii, vtkXMLWriter::Binary, and vtkXMLWriter::Appended.

void vtkXMLWriter::SetDataModeToBinary  ) 
 

Get/Set the data mode used for the file's data. The options are vtkXMLWriter::Ascii, vtkXMLWriter::Binary, and vtkXMLWriter::Appended.

void vtkXMLWriter::SetDataModeToAppended  ) 
 

Get/Set the data mode used for the file's data. The options are vtkXMLWriter::Ascii, vtkXMLWriter::Binary, and vtkXMLWriter::Appended.

virtual void vtkXMLWriter::SetEncodeAppendedData int   )  [virtual]
 

Get/Set whether the appended data section is base64 encoded. If encoded, reading and writing will be slower, but the file will be fully valid XML and text-only. If not encoded, the XML specification will be violated, but reading and writing will be fast. The default is to do the encoding.

virtual int vtkXMLWriter::GetEncodeAppendedData  )  [virtual]
 

Get/Set whether the appended data section is base64 encoded. If encoded, reading and writing will be slower, but the file will be fully valid XML and text-only. If not encoded, the XML specification will be violated, but reading and writing will be fast. The default is to do the encoding.

virtual void vtkXMLWriter::EncodeAppendedDataOn  )  [virtual]
 

Get/Set whether the appended data section is base64 encoded. If encoded, reading and writing will be slower, but the file will be fully valid XML and text-only. If not encoded, the XML specification will be violated, but reading and writing will be fast. The default is to do the encoding.

virtual void vtkXMLWriter::EncodeAppendedDataOff  )  [virtual]
 

Get/Set whether the appended data section is base64 encoded. If encoded, reading and writing will be slower, but the file will be fully valid XML and text-only. If not encoded, the XML specification will be violated, but reading and writing will be fast. The default is to do the encoding.

void vtkXMLWriter::SetInput vtkDataObject  ) 
 

Set/Get an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline

void vtkXMLWriter::SetInput int  ,
vtkDataObject
 

Set/Get an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline

vtkDataObject* vtkXMLWriter::GetInput int  port  ) 
 

Set/Get an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline

vtkDataObject* vtkXMLWriter::GetInput  )  [inline]
 

Set/Get an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline

Reimplemented in vtkXMLDataSetWriter, vtkXMLImageDataWriter, vtkXMLPDataSetWriter, vtkXMLPImageDataWriter, vtkXMLPolyDataWriter, vtkXMLPPolyDataWriter, vtkXMLPRectilinearGridWriter, vtkXMLPStructuredGridWriter, vtkXMLPUnstructuredGridWriter, vtkXMLRectilinearGridWriter, vtkXMLStructuredGridWriter, and vtkXMLUnstructuredGridWriter.

Definition at line 143 of file vtkXMLWriter.h.

virtual const char* vtkXMLWriter::GetDefaultFileExtension  )  [pure virtual]
 

Get the default file extension for files written by this writer.

Implemented in vtkXMLDataSetWriter, vtkXMLImageDataWriter, vtkXMLPDataSetWriter, vtkXMLPImageDataWriter, vtkXMLPolyDataWriter, vtkXMLPPolyDataWriter, vtkXMLPRectilinearGridWriter, vtkXMLPStructuredGridWriter, vtkXMLPUnstructuredGridWriter, vtkXMLRectilinearGridWriter, vtkXMLStructuredGridWriter, and vtkXMLUnstructuredGridWriter.

int vtkXMLWriter::Write  ) 
 

Invoke the writer. Returns 1 for success, 0 for failure.

virtual int vtkXMLWriter::ProcessRequest vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector
[virtual]
 

Upstream/Downstream requests form the generalized interface through which executives invoke a algorithm's functionality. Upstream requests correspond to information flow from the algorithm's outputs to its inputs. Downstream requests correspond to information flow from the algorithm's inputs to its outputs. A downstream request is defined by the contents of the request information object. The input to the request is stored in the input information vector passed to ProcessRequest. The results of an downstream request are stored in the output information vector passed to ProcessRequest. An upstream request is defined by the contents of the request information object. The input to the request is stored in the output information vector passed to ProcessRequest. The results of an upstream request are stored in the input information vector passed to ProcessRequest. It returns the boolean status of the pipeline (false means failure).

Reimplemented from vtkAlgorithm.

Reimplemented in vtkXMLPUnstructuredDataWriter, vtkXMLStructuredDataWriter, and vtkXMLUnstructuredDataWriter.

virtual void vtkXMLWriter::SetTimeStep int   )  [virtual]
 

Which TimeStep to write.

virtual int vtkXMLWriter::GetTimeStep  )  [virtual]
 

virtual int* vtkXMLWriter::GetTimeStepRange  )  [virtual]
 

Which TimeStepRange to write.

virtual void vtkXMLWriter::GetTimeStepRange int &  ,
int & 
[virtual]
 

Which TimeStepRange to write.

virtual void vtkXMLWriter::GetTimeStepRange int  [2]  )  [virtual]
 

Which TimeStepRange to write.

virtual void vtkXMLWriter::SetTimeStepRange int  ,
int 
[virtual]
 

Which TimeStepRange to write.

void vtkXMLWriter::SetTimeStepRange int  [2]  ) 
 

Which TimeStepRange to write.

virtual int vtkXMLWriter::GetNumberOfTimeSteps  )  [virtual]
 

Set the number of time steps

virtual void vtkXMLWriter::SetNumberOfTimeSteps int   )  [virtual]
 

Set the number of time steps

void vtkXMLWriter::Start  ) 
 

API to interface an outside the VTK pipeline control

void vtkXMLWriter::Stop  ) 
 

API to interface an outside the VTK pipeline control

void vtkXMLWriter::WriteNextTime double  time  ) 
 

API to interface an outside the VTK pipeline control

virtual int vtkXMLWriter::RequestInformation vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector
[protected, virtual]
 

virtual int vtkXMLWriter::RequestData vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector
[protected, virtual]
 

virtual void vtkXMLWriter::SetDataStream vtkOutputStream  )  [protected, virtual]
 

virtual vtkOutputStream* vtkXMLWriter::GetDataStream  )  [protected, virtual]
 

virtual int vtkXMLWriter::WriteInternal  )  [protected, virtual]
 

Reimplemented in vtkXMLDataSetWriter, vtkXMLPDataSetWriter, and vtkXMLPDataWriter.

virtual int vtkXMLWriter::WriteData  )  [inline, protected, virtual]
 

Reimplemented in vtkXMLPDataWriter.

Definition at line 276 of file vtkXMLWriter.h.

virtual const char* vtkXMLWriter::GetDataSetName  )  [protected, pure virtual]
 

Implemented in vtkXMLDataSetWriter, vtkXMLImageDataWriter, vtkXMLPDataSetWriter, vtkXMLPImageDataWriter, vtkXMLPolyDataWriter, vtkXMLPPolyDataWriter, vtkXMLPRectilinearGridWriter, vtkXMLPStructuredGridWriter, vtkXMLPUnstructuredGridWriter, vtkXMLRectilinearGridWriter, vtkXMLStructuredGridWriter, vtkXMLUnstructuredDataWriter, and vtkXMLUnstructuredGridWriter.

virtual int vtkXMLWriter::GetDataSetMajorVersion  )  [protected, virtual]
 

virtual int vtkXMLWriter::GetDataSetMinorVersion  )  [protected, virtual]
 

vtkDataSet* vtkXMLWriter::GetInputAsDataSet  )  [protected]
 

int vtkXMLWriter::StartFile  )  [protected]
 

virtual void vtkXMLWriter::WriteFileAttributes  )  [protected, virtual]
 

int vtkXMLWriter::EndFile  )  [protected]
 

void vtkXMLWriter::DeleteAFile  )  [protected]
 

void vtkXMLWriter::DeleteAFile const char *  name  )  [protected]
 

virtual int vtkXMLWriter::WritePrimaryElement ostream &  os,
vtkIndent  indent
[protected, virtual]
 

virtual void vtkXMLWriter::WritePrimaryElementAttributes ostream &  os,
vtkIndent  indent
[protected, virtual]
 

Reimplemented in vtkXMLImageDataWriter, vtkXMLPDataWriter, vtkXMLPImageDataWriter, vtkXMLPStructuredDataWriter, and vtkXMLStructuredDataWriter.

void vtkXMLWriter::StartAppendedData  )  [protected]
 

void vtkXMLWriter::EndAppendedData  )  [protected]
 

unsigned long vtkXMLWriter::ReserveAttributeSpace const char *  attr,
int  length = 20
[protected]
 

unsigned long vtkXMLWriter::GetAppendedDataOffset  )  [protected]
 

unsigned long vtkXMLWriter::WriteAppendedDataOffset unsigned long  streamPos,
unsigned long &  lastoffset,
const char *  attr = 0
[protected]
 

unsigned long vtkXMLWriter::ForwardAppendedDataOffset unsigned long  streamPos,
unsigned long  offset,
const char *  attr = 0
[protected]
 

int vtkXMLWriter::WriteBinaryData void *  data,
int  numWords,
int  wordType
[protected]
 

int vtkXMLWriter::WriteBinaryData char *  data  )  [inline, protected]
 

Definition at line 316 of file vtkXMLWriter.h.

References VTK_CHAR.

int vtkXMLWriter::WriteBinaryData char *  data,
int  numWords
[inline, protected]
 

Definition at line 319 of file vtkXMLWriter.h.

References VTK_CHAR.

int vtkXMLWriter::WriteBinaryData unsigned char *  data,
int  numWords
[inline, protected]
 

Definition at line 321 of file vtkXMLWriter.h.

References VTK_UNSIGNED_CHAR.

int vtkXMLWriter::WriteBinaryData short *  data,
int  numWords
[inline, protected]
 

Definition at line 323 of file vtkXMLWriter.h.

References VTK_SHORT.

int vtkXMLWriter::WriteBinaryData unsigned short *  data,
int  numWords
[inline, protected]
 

Definition at line 325 of file vtkXMLWriter.h.

References VTK_UNSIGNED_SHORT.

int vtkXMLWriter::WriteBinaryData int *  data,
int  numWords
[inline, protected]
 

Definition at line 327 of file vtkXMLWriter.h.

References VTK_INT.

int vtkXMLWriter::WriteBinaryData unsigned int *  data,
int  numWords
[inline, protected]
 

Definition at line 329 of file vtkXMLWriter.h.

References VTK_UNSIGNED_INT.

int vtkXMLWriter::WriteAsciiData void *  data,
int  numWords,
int  wordType,
vtkIndent  indent
[protected]
 

int vtkXMLWriter::WriteAsciiData char *  data,
vtkIndent  indent
[inline, protected]
 

Definition at line 334 of file vtkXMLWriter.h.

References VTK_CHAR.

int vtkXMLWriter::WriteAsciiData char *  data,
int  numWords,
vtkIndent  indent
[inline, protected]
 

Definition at line 337 of file vtkXMLWriter.h.

References VTK_CHAR.

int vtkXMLWriter::WriteAsciiData unsigned char *  data,
int  numWords,
vtkIndent  indent
[inline, protected]
 

Definition at line 339 of file vtkXMLWriter.h.

References VTK_UNSIGNED_CHAR.

int vtkXMLWriter::WriteAsciiData short *  data,
int  numWords,
vtkIndent  indent
[inline, protected]
 

Definition at line 341 of file vtkXMLWriter.h.

References VTK_SHORT.

int vtkXMLWriter::WriteAsciiData unsigned short *  data,
int  numWords,
vtkIndent  indent
[inline, protected]
 

Definition at line 343 of file vtkXMLWriter.h.

References VTK_UNSIGNED_SHORT.

int vtkXMLWriter::WriteAsciiData int *  data,
int  numWords,
vtkIndent  indent
[inline, protected]
 

Definition at line 345 of file vtkXMLWriter.h.

References VTK_INT.

int vtkXMLWriter::WriteAsciiData unsigned int *  data,
int  numWords,
vtkIndent  indent
[inline, protected]
 

Definition at line 347 of file vtkXMLWriter.h.

References VTK_UNSIGNED_INT.

int vtkXMLWriter::WriteScalarAttribute const char *  name,
int  data
[protected]
 

int vtkXMLWriter::WriteScalarAttribute const char *  name,
float  data
[protected]
 

int vtkXMLWriter::WriteVectorAttribute const char *  name,
int  length,
int *  data
[protected]
 

int vtkXMLWriter::WriteVectorAttribute const char *  name,
int  length,
float *  data
[protected]
 

int vtkXMLWriter::WriteVectorAttribute const char *  name,
int  length,
double *  data
[protected]
 

int vtkXMLWriter::WriteDataModeAttribute const char *  name  )  [protected]
 

int vtkXMLWriter::WriteWordTypeAttribute const char *  name,
int  dataType
[protected]
 

int vtkXMLWriter::WriteStringAttribute const char *  name,
const char *  value
[protected]
 

unsigned long vtkXMLWriter::WriteDataArrayAppended vtkDataArray a,
vtkIndent  indent,
const char *  alternateName = 0,
int  writeNumTuples = 0,
int  timestep = -1
[protected]
 

void vtkXMLWriter::WriteDataArrayAppendedData vtkDataArray a,
unsigned long  pos,
unsigned long &  lastoffset
[protected]
 

void vtkXMLWriter::WriteDataArrayInline vtkDataArray a,
vtkIndent  indent,
const char *  alternateName = 0,
int  writeNumTuples = 0
[protected]
 

void vtkXMLWriter::WriteInlineData void *  data,
int  numWords,
int  wordType,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WriteDataArrayHeader vtkDataArray a,
vtkIndent  indent,
const char *  alternateName,
int  writeNumTuples,
int  timestep
[protected]
 

void vtkXMLWriter::WriteDataArrayFooter ostream &  os,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WriteFieldData vtkIndent  indent  )  [protected]
 

void vtkXMLWriter::WriteFieldDataInline vtkFieldData fd,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WritePointDataInline vtkPointData pd,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WriteCellDataInline vtkCellData cd,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WriteFieldDataAppended vtkFieldData fd,
vtkIndent  indent,
OffsetsManagerGroup fdManager
[protected]
 

void vtkXMLWriter::WriteFieldDataAppendedData vtkFieldData fd,
int  timestep,
OffsetsManagerGroup fdManager
[protected]
 

void vtkXMLWriter::WritePointDataAppended vtkPointData pd,
vtkIndent  indent,
OffsetsManagerGroup pdManager
[protected]
 

void vtkXMLWriter::WritePointDataAppendedData vtkPointData pd,
int  timestep,
OffsetsManagerGroup pdManager
[protected]
 

void vtkXMLWriter::WriteCellDataAppended vtkCellData cd,
vtkIndent  indent,
OffsetsManagerGroup cdManager
[protected]
 

void vtkXMLWriter::WriteCellDataAppendedData vtkCellData cd,
int  timestep,
OffsetsManagerGroup cdManager
[protected]
 

void vtkXMLWriter::WriteAttributeIndices vtkDataSetAttributes dsa,
char **  names
[protected]
 

void vtkXMLWriter::WritePointsAppended vtkPoints points,
vtkIndent  indent,
OffsetsManager manager
[protected]
 

void vtkXMLWriter::WritePointsAppendedData vtkPoints points,
int  timestep,
OffsetsManager pdManager
[protected]
 

void vtkXMLWriter::WritePointsInline vtkPoints points,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WriteCoordinatesInline vtkDataArray xc,
vtkDataArray yc,
vtkDataArray zc,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WriteCoordinatesAppended vtkDataArray xc,
vtkDataArray yc,
vtkDataArray zc,
vtkIndent  indent,
OffsetsManagerGroup coordManager
[protected]
 

void vtkXMLWriter::WriteCoordinatesAppendedData vtkDataArray xc,
vtkDataArray yc,
vtkDataArray zc,
int  timestep,
OffsetsManagerGroup coordManager
[protected]
 

virtual vtkDataArray* vtkXMLWriter::CreateArrayForPoints vtkDataArray inArray  )  [protected, virtual]
 

Reimplemented in vtkXMLStructuredDataWriter.

virtual vtkDataArray* vtkXMLWriter::CreateArrayForCells vtkDataArray inArray  )  [protected, virtual]
 

Reimplemented in vtkXMLStructuredDataWriter.

virtual vtkDataArray* vtkXMLWriter::CreateExactCoordinates vtkDataArray inArray,
int  xyz
[protected, virtual]
 

Reimplemented in vtkXMLRectilinearGridWriter.

void vtkXMLWriter::WritePPointData vtkPointData pd,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WritePCellData vtkCellData cd,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WritePPoints vtkPoints points,
vtkIndent  indent
[protected]
 

void vtkXMLWriter::WritePDataArray vtkDataArray a,
vtkIndent  indent,
const char *  alternateName = 0
[protected]
 

void vtkXMLWriter::WritePCoordinates vtkDataArray xc,
vtkDataArray yc,
vtkDataArray zc,
vtkIndent  indent
[protected]
 

int vtkXMLWriter::WriteBinaryDataInternal void *  data,
int  numWords,
int  wordType
[protected]
 

int vtkXMLWriter::WriteBinaryDataBlock unsigned char *  in_data,
int  numWords,
int  wordType
[protected]
 

void vtkXMLWriter::PerformByteSwap void *  data,
int  numWords,
int  wordSize
[protected]
 

int vtkXMLWriter::CreateCompressionHeader unsigned long  size  )  [protected]
 

int vtkXMLWriter::WriteCompressionBlock unsigned char *  data,
unsigned long  size
[protected]
 

int vtkXMLWriter::WriteCompressionHeader  )  [protected]
 

unsigned long vtkXMLWriter::GetWordTypeSize int  dataType  )  [protected]
 

const char* vtkXMLWriter::GetWordTypeName int  dataType  )  [protected]
 

unsigned long vtkXMLWriter::GetOutputWordTypeSize int  dataType  )  [protected]
 

char** vtkXMLWriter::CreateStringArray int  numStrings  )  [protected]
 

void vtkXMLWriter::DestroyStringArray int  numStrings,
char **  strings
[protected]
 

virtual void vtkXMLWriter::GetProgressRange float *  range  )  [protected, virtual]
 

virtual void vtkXMLWriter::SetProgressRange float *  range,
int  curStep,
int  numSteps
[protected, virtual]
 

virtual void vtkXMLWriter::SetProgressRange float *  range,
int  curStep,
float *  fractions
[protected, virtual]
 

virtual void vtkXMLWriter::SetProgressPartial float  fraction  )  [protected, virtual]
 

virtual void vtkXMLWriter::UpdateProgressDiscrete float  progress  )  [protected, virtual]
 

int vtkXMLWriter::OpenFile  )  [protected]
 

void vtkXMLWriter::CloseFile  )  [protected]
 


Member Data Documentation

char* vtkXMLWriter::FileName [protected]
 

Definition at line 195 of file vtkXMLWriter.h.

ostream* vtkXMLWriter::Stream [protected]
 

Definition at line 198 of file vtkXMLWriter.h.

int vtkXMLWriter::ByteOrder [protected]
 

Definition at line 201 of file vtkXMLWriter.h.

int vtkXMLWriter::IdType [protected]
 

Definition at line 204 of file vtkXMLWriter.h.

int vtkXMLWriter::DataMode [protected]
 

Definition at line 208 of file vtkXMLWriter.h.

int vtkXMLWriter::EncodeAppendedData [protected]
 

Definition at line 211 of file vtkXMLWriter.h.

unsigned long vtkXMLWriter::AppendedDataPosition [protected]
 

Definition at line 214 of file vtkXMLWriter.h.

OffsetsManagerGroup* vtkXMLWriter::FieldDataOM [protected]
 

Definition at line 217 of file vtkXMLWriter.h.

Int32IdType* vtkXMLWriter::Int32IdTypeBuffer [protected]
 

Definition at line 250 of file vtkXMLWriter.h.

unsigned char* vtkXMLWriter::ByteSwapBuffer [protected]
 

Definition at line 253 of file vtkXMLWriter.h.

vtkDataCompressor* vtkXMLWriter::Compressor [protected]
 

Definition at line 256 of file vtkXMLWriter.h.

unsigned int vtkXMLWriter::BlockSize [protected]
 

Definition at line 257 of file vtkXMLWriter.h.

unsigned long vtkXMLWriter::CompressionBlockNumber [protected]
 

Definition at line 258 of file vtkXMLWriter.h.

HeaderType* vtkXMLWriter::CompressionHeader [protected]
 

Definition at line 259 of file vtkXMLWriter.h.

unsigned int vtkXMLWriter::CompressionHeaderLength [protected]
 

Definition at line 260 of file vtkXMLWriter.h.

unsigned long vtkXMLWriter::CompressionHeaderPosition [protected]
 

Definition at line 261 of file vtkXMLWriter.h.

vtkOutputStream* vtkXMLWriter::DataStream [protected]
 

Definition at line 265 of file vtkXMLWriter.h.

float vtkXMLWriter::ProgressRange[2] [protected]
 

Definition at line 441 of file vtkXMLWriter.h.

ofstream* vtkXMLWriter::OutFile [protected]
 

Definition at line 443 of file vtkXMLWriter.h.

int vtkXMLWriter::TimeStep [protected]
 

Definition at line 449 of file vtkXMLWriter.h.

int vtkXMLWriter::CurrentTimeIndex [protected]
 

Definition at line 450 of file vtkXMLWriter.h.

int vtkXMLWriter::NumberOfTimeSteps [protected]
 

Definition at line 451 of file vtkXMLWriter.h.

int vtkXMLWriter::TimeStepRange[2] [protected]
 

Definition at line 453 of file vtkXMLWriter.h.

int vtkXMLWriter::UserContinueExecuting [protected]
 

Definition at line 457 of file vtkXMLWriter.h.

unsigned long* vtkXMLWriter::NumberOfTimeValues [protected]
 

Definition at line 459 of file vtkXMLWriter.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:34:59 2008 for VTK by  doxygen 1.4.3-20050530