VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkXMLPStructuredGridWriter Class Reference

Write PVTK XML StructuredGrid files. More...

#include <vtkXMLPStructuredGridWriter.h>

Inheritance diagram for vtkXMLPStructuredGridWriter:
[legend]
Collaboration diagram for vtkXMLPStructuredGridWriter:
[legend]

List of all members.

Public Types

typedef vtkXMLPStructuredDataWriter Superclass
- Public Types inherited from vtkXMLPStructuredDataWriter
- Public Types inherited from vtkXMLPDataWriter
- Public Types inherited from vtkXMLWriter
enum  CompressorType { NONE, ZLIB }
enum  { BigEndian, LittleEndian }
enum  { Ascii, Binary, Appended }
enum  { Int32 = 32, Int64 = 64 }
typedef vtkIdType OffsetType
- Public Types inherited from vtkAlgorithm
- Public Types inherited from vtkObject

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkStructuredGridGetInput ()

Static Public Member Functions

static
vtkXMLPStructuredGridWriter
New ()
static int IsTypeOf (const char *type)
static
vtkXMLPStructuredGridWriter
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkXMLPStructuredGridWriter ()
 ~vtkXMLPStructuredGridWriter ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
const char * GetDataSetName ()
const char * GetDefaultFileExtension ()
vtkXMLStructuredDataWriterCreateStructuredPieceWriter ()
void WritePData (vtkIndent indent)
- Protected Member Functions inherited from vtkXMLPStructuredDataWriter
 vtkXMLPStructuredDataWriter ()
 ~vtkXMLPStructuredDataWriter ()
void WritePrimaryElementAttributes (ostream &os, vtkIndent indent)
void WritePPieceAttributes (int index)
vtkXMLWriterCreatePieceWriter (int index)
- Protected Member Functions inherited from vtkXMLPDataWriter
 vtkXMLPDataWriter ()
 ~vtkXMLPDataWriter ()
virtual int WriteInternal ()
int WriteData ()
char * CreatePieceFileName (int index, const char *path=0)
void SplitFileName ()
int WritePieces ()
int WritePiece (int index)
virtual void ProgressCallback (vtkAlgorithm *w)
- Protected Member Functions inherited from vtkXMLWriter
 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 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)
void StartAppendedData ()
void EndAppendedData ()
OffsetType ReserveAttributeSpace (const char *attr, int length=20)
OffsetType GetAppendedDataOffset ()
OffsetType WriteAppendedDataOffset (OffsetType streamPos, OffsetType &lastoffset, const char *attr=0)
OffsetType ForwardAppendedDataOffset (OffsetType streamPos, OffsetType offset, const char *attr=0)
OffsetType ForwardAppendedDataDouble (OffsetType 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, OffsetType data_size)
void WriteArrayAppendedData (vtkAbstractArray *a, OffsetType pos, OffsetType &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 WriteBinaryDataInternal (void *data, OffsetType numWords, int wordType)
int WriteBinaryDataBlock (unsigned char *in_data, OffsetType numWords, int wordType)
void PerformByteSwap (void *data, OffsetType numWords, int wordSize)
int CreateCompressionHeader (OffsetType size)
int WriteCompressionBlock (unsigned char *data, OffsetType size)
int WriteCompressionHeader ()
OffsetType GetWordTypeSize (int dataType)
const char * GetWordTypeName (int dataType)
OffsetType 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 Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 ~vtkAlgorithm ()
virtual int FillOutputPortInformation (int port, vtkInformation *info)
virtual void SetNumberOfInputPorts (int n)
virtual void SetNumberOfOutputPorts (int n)
int InputPortIndexInRange (int index, const char *action)
int OutputPortIndexInRange (int index, const char *action)
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
virtual vtkExecutiveCreateDefaultExecutive ()
virtual void ReportReferences (vtkGarbageCollector *)
virtual void SetNumberOfInputConnections (int port, int n)
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
int GetInputArrayAssociation (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
virtual void SetErrorCode (unsigned long)
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Detailed Description

Write PVTK XML StructuredGrid files.

vtkXMLPStructuredGridWriter writes the PVTK XML StructuredGrid file format. One structured grid input can be written into a parallel file format with any number of pieces spread across files. The standard extension for this writer's file format is "pvts". This writer uses vtkXMLStructuredGridWriter to write the individual piece files.

See also:
vtkXMLStructuredGridWriter

Definition at line 36 of file vtkXMLPStructuredGridWriter.h.


Member Typedef Documentation

Reimplemented from vtkXMLPStructuredDataWriter.

Definition at line 40 of file vtkXMLPStructuredGridWriter.h.


Constructor & Destructor Documentation

vtkXMLPStructuredGridWriter::vtkXMLPStructuredGridWriter ( )
protected
vtkXMLPStructuredGridWriter::~vtkXMLPStructuredGridWriter ( )
protected

Member Function Documentation

static vtkXMLPStructuredGridWriter* vtkXMLPStructuredGridWriter::New ( )
static

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

Reimplemented from vtkAlgorithm.

virtual const char* vtkXMLPStructuredGridWriter::GetClassName ( )
virtual

Reimplemented from vtkXMLPStructuredDataWriter.

static int vtkXMLPStructuredGridWriter::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 vtkXMLPStructuredDataWriter.

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

static vtkXMLPStructuredGridWriter* vtkXMLPStructuredGridWriter::SafeDownCast ( vtkObject o)
static

Reimplemented from vtkXMLPStructuredDataWriter.

void vtkXMLPStructuredGridWriter::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 vtkXMLPStructuredDataWriter.

vtkStructuredGrid* vtkXMLPStructuredGridWriter::GetInput ( )

Get/Set the writer's input.

Reimplemented from vtkXMLWriter.

virtual int vtkXMLPStructuredGridWriter::FillInputPortInformation ( int  port,
vtkInformation info 
)
protectedvirtual

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.

const char* vtkXMLPStructuredGridWriter::GetDataSetName ( )
protectedvirtual

Implements vtkXMLWriter.

const char* vtkXMLPStructuredGridWriter::GetDefaultFileExtension ( )
protectedvirtual

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

Implements vtkXMLWriter.

vtkXMLStructuredDataWriter* vtkXMLPStructuredGridWriter::CreateStructuredPieceWriter ( )
protectedvirtual
void vtkXMLPStructuredGridWriter::WritePData ( vtkIndent  indent)
protectedvirtual

Reimplemented from vtkXMLPDataWriter.


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