VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vtkXMLWriter Class Reference

Superclass for VTK's XML file writers. More...

#include <vtkXMLWriter.h>

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

List of all members.

Public Types

enum  { Int32 = 32, Int64 = 64 }
enum  CompressorType { NONE, ZLIB }
typedef vtkAlgorithm Superclass
enum  { BigEndian, LittleEndian }
enum  { Ascii, Binary, Appended }
enum  { UInt32 = 32, UInt64 = 64 }

Public Member Functions

virtual int IsA (const char *type)
vtkXMLWriterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual const char * GetDefaultFileExtension ()=0
int Write ()
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetByteOrder (int)
virtual int GetByteOrder ()
void SetByteOrderToBigEndian ()
void SetByteOrderToLittleEndian ()
virtual void SetHeaderType (int)
virtual int GetHeaderType ()
void SetHeaderTypeToUInt32 ()
void SetHeaderTypeToUInt64 ()
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 ()
void SetCompressorType (int compressorType)
void SetCompressorTypeToNone ()
void SetCompressorTypeToZLib ()
virtual void SetBlockSize (size_t blockSize)
virtual size_t 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 SetInputData (vtkDataObject *)
void SetInputData (int, vtkDataObject *)
vtkDataObjectGetInput (int port)
vtkDataObjectGetInput ()
virtual void SetTimeStep (int)
virtual int GetTimeStep ()
virtual intGetTimeStepRange ()
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 (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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 ()
vtkTypeInt64 ReserveAttributeSpace (const char *attr, size_t length=20)
vtkTypeInt64 GetAppendedDataOffset ()
void WriteAppendedDataOffset (vtkTypeInt64 streamPos, vtkTypeInt64 &lastoffset, const char *attr=0)
void ForwardAppendedDataOffset (vtkTypeInt64 streamPos, vtkTypeInt64 offset, const char *attr=0)
void ForwardAppendedDataDouble (vtkTypeInt64 streamPos, double value, const char *attr)
int WriteScalarAttribute (const char *name, int data)
int WriteScalarAttribute (const char *name, float data)
int WriteScalarAttribute (const char *name, double 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)
void WriteArrayHeader (vtkAbstractArray *a, vtkIndent indent, const char *alternateName, int writeNumTuples, int timestep)
void WriteArrayFooter (ostream &os, vtkIndent indent, vtkAbstractArray *a, int shortFormat)
void WriteArrayInline (vtkAbstractArray *a, vtkIndent indent, const char *alternateName=0, int writeNumTuples=0)
void WriteInlineData (vtkAbstractArray *a, vtkIndent indent)
void WriteArrayAppended (vtkAbstractArray *a, vtkIndent indent, OffsetsManager &offs, const char *alternateName=0, int writeNumTuples=0, int timestep=0)
int WriteAsciiData (vtkAbstractArray *a, vtkIndent indent)
int WriteBinaryData (vtkAbstractArray *a)
int WriteBinaryDataInternal (vtkAbstractArray *a)
void WriteArrayAppendedData (vtkAbstractArray *a, vtkTypeInt64 pos, vtkTypeInt64 &lastoffset)
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 vtkAbstractArrayCreateArrayForPoints (vtkAbstractArray *inArray)
virtual vtkAbstractArrayCreateArrayForCells (vtkAbstractArray *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 WritePArray (vtkAbstractArray *a, vtkIndent indent, const char *alternateName=0)
void WritePCoordinates (vtkDataArray *xc, vtkDataArray *yc, vtkDataArray *zc, vtkIndent indent)
int WriteBinaryDataBlock (unsigned char *in_data, size_t numWords, int wordType)
void PerformByteSwap (void *data, size_t numWords, size_t wordSize)
int CreateCompressionHeader (size_t size)
int WriteCompressionBlock (unsigned char *data, size_t size)
int WriteCompressionHeader ()
size_t GetWordTypeSize (int dataType)
const char * GetWordTypeName (int dataType)
size_t 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 HeaderType
int IdType
int DataMode
int EncodeAppendedData
vtkTypeInt64 AppendedDataPosition
OffsetsManagerGroupFieldDataOM
Int32IdType * Int32IdTypeBuffer
unsigned char * ByteSwapBuffer
vtkDataCompressorCompressor
size_t BlockSize
size_t CompressionBlockNumber
vtkXMLDataHeaderCompressionHeader
vtkTypeInt64 CompressionHeaderPosition
vtkOutputStreamDataStream
float ProgressRange [2]
ofstream * OutFile
int TimeStep
int CurrentTimeIndex
int NumberOfTimeSteps
int TimeStepRange [2]
int UserContinueExecuting
vtkTypeInt64 * NumberOfTimeValues

Friends

class vtkXMLWriterHelper

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 52 of file vtkXMLWriter.h.


Member Typedef Documentation


Member Enumeration Documentation

anonymous enum

Enumerate big and little endian byte order settings.

Enumerator:
BigEndian 
LittleEndian 

Definition at line 61 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 70 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 78 of file vtkXMLWriter.h.

anonymous enum

Enumerate the supported binary data header bit lengths. UInt32 = File stores 32-bit binary data header elements. UInt64 = File stores 64-bit binary data header elements.

Enumerator:
UInt32 
UInt64 

Definition at line 84 of file vtkXMLWriter.h.

Enumerator:
NONE 
ZLIB 

Definition at line 129 of file vtkXMLWriter.h.


Constructor & Destructor Documentation

vtkXMLWriter::vtkXMLWriter ( ) [protected]
vtkXMLWriter::~vtkXMLWriter ( ) [protected]

Member Function Documentation

static int vtkXMLWriter::IsTypeOf ( const char *  name) [static]
virtual int vtkXMLWriter::IsA ( const char *  name) [virtual]
virtual vtkObjectBase* vtkXMLWriter::NewInstanceInternal ( ) const [protected, virtual]
void vtkXMLWriter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
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.

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

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

virtual void vtkXMLWriter::SetHeaderType ( int  ) [virtual]

Get/Set the binary data header word type. The default is UInt32. Set to UInt64 when storing arrays requiring 64-bit indexing.

virtual int vtkXMLWriter::GetHeaderType ( ) [virtual]

Get/Set the binary data header word type. The default is UInt32. Set to UInt64 when storing arrays requiring 64-bit indexing.

Get/Set the binary data header word type. The default is UInt32. Set to UInt64 when storing arrays requiring 64-bit indexing.

Get/Set the binary data header word type. The default is UInt32. Set to UInt64 when storing arrays requiring 64-bit indexing.

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.

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

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 a vtkZLibDataCompressor.

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

void vtkXMLWriter::SetCompressorType ( int  compressorType)

Convenience functions to set the compressor to certain known types.

Convenience functions to set the compressor to certain known types.

Definition at line 139 of file vtkXMLWriter.h.

Convenience functions to set the compressor to certain known types.

Definition at line 143 of file vtkXMLWriter.h.

virtual void vtkXMLWriter::SetBlockSize ( size_t  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 size_t 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.

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

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

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.

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.

Assign a data object as input. Note that this method does not establish a pipeline connection. Use SetInputConnection() to setup a pipeline connection.

Assign a data object as input. Note that this method does not establish a pipeline connection. Use SetInputConnection() to setup a pipeline connection.

Assign a data object as input. Note that this method does not establish a pipeline connection. Use SetInputConnection() to setup a pipeline connection.

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

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

virtual int vtkXMLWriter::ProcessRequest ( vtkInformation request,
vtkInformationVector **  inInfo,
vtkInformationVector outInfo 
) [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 vtkXMLStructuredDataWriter, vtkXMLCompositeDataWriter, vtkXMLUnstructuredDataWriter, vtkXMLPUnstructuredDataWriter, and vtkXMLPStructuredDataWriter.

virtual void vtkXMLWriter::SetTimeStep ( int  ) [virtual]

Which TimeStep to write.

virtual int vtkXMLWriter::GetTimeStep ( ) [virtual]

Which TimeStep to write.

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.

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

API to interface an outside the VTK pipeline control

API to interface an outside the VTK pipeline control

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]

Reimplemented in vtkXMLCompositeDataWriter.

virtual void vtkXMLWriter::SetDataStream ( vtkOutputStream ) [protected, virtual]
virtual vtkOutputStream* vtkXMLWriter::GetDataStream ( ) [protected, virtual]
virtual int vtkXMLWriter::WriteInternal ( ) [protected, virtual]
virtual int vtkXMLWriter::WriteData ( ) [inline, protected, virtual]

Reimplemented in vtkXMLCompositeDataWriter, vtkXMLPDataWriter, and vtkXMLHyperOctreeWriter.

Definition at line 307 of file vtkXMLWriter.h.

virtual const char* vtkXMLWriter::GetDataSetName ( ) [protected, pure virtual]
virtual int vtkXMLWriter::GetDataSetMajorVersion ( ) [protected, virtual]
virtual int vtkXMLWriter::GetDataSetMinorVersion ( ) [protected, virtual]
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]
void vtkXMLWriter::StartAppendedData ( ) [protected]
void vtkXMLWriter::EndAppendedData ( ) [protected]
vtkTypeInt64 vtkXMLWriter::ReserveAttributeSpace ( const char *  attr,
size_t  length = 20 
) [protected]
vtkTypeInt64 vtkXMLWriter::GetAppendedDataOffset ( ) [protected]
void vtkXMLWriter::WriteAppendedDataOffset ( vtkTypeInt64  streamPos,
vtkTypeInt64 &  lastoffset,
const char *  attr = 0 
) [protected]
void vtkXMLWriter::ForwardAppendedDataOffset ( vtkTypeInt64  streamPos,
vtkTypeInt64  offset,
const char *  attr = 0 
) [protected]
void vtkXMLWriter::ForwardAppendedDataDouble ( vtkTypeInt64  streamPos,
double  value,
const char *  attr 
) [protected]
int vtkXMLWriter::WriteScalarAttribute ( const char *  name,
int  data 
) [protected]
int vtkXMLWriter::WriteScalarAttribute ( const char *  name,
float  data 
) [protected]
int vtkXMLWriter::WriteScalarAttribute ( const char *  name,
double  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]
void vtkXMLWriter::WriteArrayHeader ( vtkAbstractArray a,
vtkIndent  indent,
const char *  alternateName,
int  writeNumTuples,
int  timestep 
) [protected]
void vtkXMLWriter::WriteArrayFooter ( ostream &  os,
vtkIndent  indent,
vtkAbstractArray a,
int  shortFormat 
) [protected]
void vtkXMLWriter::WriteArrayInline ( vtkAbstractArray a,
vtkIndent  indent,
const char *  alternateName = 0,
int  writeNumTuples = 0 
) [protected]
void vtkXMLWriter::WriteInlineData ( vtkAbstractArray a,
vtkIndent  indent 
) [protected]
void vtkXMLWriter::WriteArrayAppended ( vtkAbstractArray a,
vtkIndent  indent,
OffsetsManager offs,
const char *  alternateName = 0,
int  writeNumTuples = 0,
int  timestep = 0 
) [protected]
int vtkXMLWriter::WriteAsciiData ( vtkAbstractArray a,
vtkIndent  indent 
) [protected]
void vtkXMLWriter::WriteArrayAppendedData ( vtkAbstractArray a,
vtkTypeInt64  pos,
vtkTypeInt64 &  lastoffset 
) [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 vtkAbstractArray* vtkXMLWriter::CreateArrayForPoints ( vtkAbstractArray inArray) [protected, virtual]

Reimplemented in vtkXMLStructuredDataWriter.

virtual vtkAbstractArray* vtkXMLWriter::CreateArrayForCells ( vtkAbstractArray 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::WritePArray ( vtkAbstractArray a,
vtkIndent  indent,
const char *  alternateName = 0 
) [protected]
void vtkXMLWriter::WritePCoordinates ( vtkDataArray xc,
vtkDataArray yc,
vtkDataArray zc,
vtkIndent  indent 
) [protected]
int vtkXMLWriter::WriteBinaryDataBlock ( unsigned char *  in_data,
size_t  numWords,
int  wordType 
) [protected]
void vtkXMLWriter::PerformByteSwap ( void *  data,
size_t  numWords,
size_t  wordSize 
) [protected]
int vtkXMLWriter::CreateCompressionHeader ( size_t  size) [protected]
int vtkXMLWriter::WriteCompressionBlock ( unsigned char *  data,
size_t  size 
) [protected]
size_t vtkXMLWriter::GetWordTypeSize ( int  dataType) [protected]
const char* vtkXMLWriter::GetWordTypeName ( int  dataType) [protected]
size_t 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]

Friends And Related Function Documentation

friend class vtkXMLWriterHelper [friend]

Definition at line 463 of file vtkXMLWriter.h.


Member Data Documentation

char* vtkXMLWriter::FileName [protected]

Definition at line 239 of file vtkXMLWriter.h.

ostream* vtkXMLWriter::Stream [protected]

Definition at line 242 of file vtkXMLWriter.h.

Definition at line 245 of file vtkXMLWriter.h.

Definition at line 248 of file vtkXMLWriter.h.

Definition at line 251 of file vtkXMLWriter.h.

Definition at line 255 of file vtkXMLWriter.h.

Definition at line 258 of file vtkXMLWriter.h.

vtkTypeInt64 vtkXMLWriter::AppendedDataPosition [protected]

Definition at line 261 of file vtkXMLWriter.h.

Definition at line 264 of file vtkXMLWriter.h.

Int32IdType* vtkXMLWriter::Int32IdTypeBuffer [protected]

Definition at line 282 of file vtkXMLWriter.h.

unsigned char* vtkXMLWriter::ByteSwapBuffer [protected]

Definition at line 285 of file vtkXMLWriter.h.

Definition at line 288 of file vtkXMLWriter.h.

size_t vtkXMLWriter::BlockSize [protected]

Definition at line 289 of file vtkXMLWriter.h.

Definition at line 290 of file vtkXMLWriter.h.

Definition at line 291 of file vtkXMLWriter.h.

vtkTypeInt64 vtkXMLWriter::CompressionHeaderPosition [protected]

Definition at line 292 of file vtkXMLWriter.h.

Definition at line 296 of file vtkXMLWriter.h.

Definition at line 443 of file vtkXMLWriter.h.

ofstream* vtkXMLWriter::OutFile [protected]

Definition at line 445 of file vtkXMLWriter.h.

Definition at line 451 of file vtkXMLWriter.h.

Definition at line 452 of file vtkXMLWriter.h.

Definition at line 453 of file vtkXMLWriter.h.

Definition at line 455 of file vtkXMLWriter.h.

Definition at line 459 of file vtkXMLWriter.h.

vtkTypeInt64* vtkXMLWriter::NumberOfTimeValues [protected]

Definition at line 461 of file vtkXMLWriter.h.


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