VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkXMLPImageDataWriter Class Reference

Write PVTK XML ImageData files. More...

#include <vtkXMLPImageDataWriter.h>

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

Public Types

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

Public Member Functions

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

Static Public Member Functions

static vtkXMLPImageDataWriterNew ()
static int IsTypeOf (const char *type)
static vtkXMLPImageDataWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkXMLPImageDataWriter ()
 ~vtkXMLPImageDataWriter ()
const char * GetDataSetName ()
void WritePrimaryElementAttributes (ostream &os, vtkIndent indent)
vtkXMLStructuredDataWriterCreateStructuredPieceWriter ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
- Protected Member Functions inherited from vtkXMLPStructuredDataWriter
 vtkXMLPStructuredDataWriter ()
 ~vtkXMLPStructuredDataWriter ()
void WritePPieceAttributes (int index)
vtkXMLWriterCreatePieceWriter (int index)
- Protected Member Functions inherited from vtkXMLPDataWriter
 vtkXMLPDataWriter ()
 ~vtkXMLPDataWriter ()
virtual int WriteInternal ()
int WriteData ()
virtual void WritePData (vtkIndent indent)
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 &)

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
int AbortExecute
- Static Protected Member Functions inherited from vtkXMLPDataWriter
static void ProgressCallbackFunction (vtkObject *, unsigned long, void *, void *)
- Protected Attributes inherited from vtkXMLPDataWriter
int StartPiece
int EndPiece
int NumberOfPieces
int GhostLevel
int WriteSummaryFile
int WriteSummaryFileInitialized
char * PathName
char * FileNameBase
char * FileNameExtension
char * PieceFileNameExtension
vtkCallbackCommandProgressObserver
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
- Friends inherited from vtkObject

Detailed Description

Write PVTK XML ImageData files.

vtkXMLPImageDataWriter writes the PVTK XML ImageData file format. One image data 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 "pvti". This writer uses vtkXMLImageDataWriter to write the individual piece files.

See Also
vtkXMLImageDataWriter

Definition at line 35 of file vtkXMLPImageDataWriter.h.

Member Typedef Documentation

Definition at line 39 of file vtkXMLPImageDataWriter.h.

Constructor & Destructor Documentation

vtkXMLPImageDataWriter::vtkXMLPImageDataWriter ( )
protected
vtkXMLPImageDataWriter::~vtkXMLPImageDataWriter ( )
protected

Member Function Documentation

static vtkXMLPImageDataWriter* vtkXMLPImageDataWriter::New ( )
static

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

Reimplemented from vtkAlgorithm.

virtual const char* vtkXMLPImageDataWriter::GetClassName ( )
virtual

Reimplemented from vtkXMLPStructuredDataWriter.

static int vtkXMLPImageDataWriter::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 vtkXMLPImageDataWriter::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 vtkXMLPImageDataWriter* vtkXMLPImageDataWriter::SafeDownCast ( vtkObject o)
static

Reimplemented from vtkXMLPStructuredDataWriter.

void vtkXMLPImageDataWriter::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.

vtkImageData* vtkXMLPImageDataWriter::GetInput ( )

Get/Set the writer's input.

Reimplemented from vtkXMLWriter.

const char* vtkXMLPImageDataWriter::GetDefaultFileExtension ( )
virtual

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

Implements vtkXMLWriter.

const char* vtkXMLPImageDataWriter::GetDataSetName ( )
protectedvirtual

Implements vtkXMLWriter.

void vtkXMLPImageDataWriter::WritePrimaryElementAttributes ( ostream &  os,
vtkIndent  indent 
)
protectedvirtual

Reimplemented from vtkXMLPStructuredDataWriter.

vtkXMLStructuredDataWriter* vtkXMLPImageDataWriter::CreateStructuredPieceWriter ( )
protectedvirtual
virtual int vtkXMLPImageDataWriter::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.


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