Public Member Functions |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
|
vtkDataSet * | GetInput () |
virtual void | SetNumberOfPieces (int) |
virtual int | GetNumberOfPieces () |
virtual void | SetStartPiece (int) |
virtual int | GetStartPiece () |
virtual void | SetEndPiece (int) |
virtual int | GetEndPiece () |
virtual void | SetGhostLevel (int) |
virtual int | GetGhostLevel () |
virtual void | SetWriteSummaryFile (int flag) |
virtual int | GetWriteSummaryFile () |
virtual void | WriteSummaryFileOn () |
virtual void | WriteSummaryFileOff () |
int | Write () |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
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 vtkDataCompressor * | GetCompressor () |
void | SetCompressorType (int compressorType) |
void | SetCompressorTypeToNone () |
void | SetCompressorTypeToZLib () |
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 *) |
vtkDataObject * | GetInput (int port) |
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) |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
void | RemoveAllInputs () |
vtkDataObject * | GetOutputDataObject (int port) |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
virtual void | Update () |
virtual void | UpdateInformation () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
virtual double | ComputePriority () |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Protected Member Functions |
| vtkXMLPDataSetWriter () |
| ~vtkXMLPDataSetWriter () |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | WriteInternal () |
const char * | GetDataSetName () |
const char * | GetDefaultFileExtension () |
vtkXMLWriter * | CreatePieceWriter (int index) |
| vtkXMLPDataWriter () |
| ~vtkXMLPDataWriter () |
virtual void | WritePrimaryElementAttributes (ostream &os, vtkIndent indent) |
int | WriteData () |
virtual void | WritePData (vtkIndent indent) |
virtual void | WritePPieceAttributes (int index) |
char * | CreatePieceFileName (int index, const char *path=0) |
void | SplitFileName () |
int | WritePieces () |
int | WritePiece (int index) |
virtual void | ProgressCallback (vtkAlgorithm *w) |
| 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 vtkOutputStream * | GetDataStream () |
virtual int | GetDataSetMajorVersion () |
virtual int | GetDataSetMinorVersion () |
vtkDataSet * | GetInputAsDataSet () |
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 vtkAbstractArray * | CreateArrayForPoints (vtkAbstractArray *inArray) |
virtual vtkAbstractArray * | CreateArrayForCells (vtkAbstractArray *inArray) |
virtual vtkDataArray * | CreateExactCoordinates (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 () |
| 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 vtkExecutive * | CreateDefaultExecutive () |
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) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association) |
vtkInformation * | GetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector) |
virtual void | SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input) |
virtual void | SetErrorCode (unsigned long) |
| vtkObject () |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
| vtkObjectBase () |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
| vtkObjectBase (const vtkObjectBase &) |
void | operator= (const vtkObjectBase &) |
Write any type of PVTK XML file.
vtkXMLPDataSetWriter is a wrapper around the PVTK XML file format writers. Given an input vtkDataSet, the correct writer is automatically selected based on the type of input.
- See Also
- vtkXMLPImageDataWriter vtkXMLPStructuredGridWriter vtkXMLPRectilinearGridWriter vtkXMLPPolyDataWriter vtkXMLPUnstructuredGridWriter
- Tests:
- vtkXMLPDataSetWriter (Tests)
Definition at line 36 of file vtkXMLPDataSetWriter.h.