dox/IO/vtkXMLUnstructuredGridWriter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00033
#ifndef __vtkXMLUnstructuredGridWriter_h
00034
#define __vtkXMLUnstructuredGridWriter_h
00035
00036
#include "vtkXMLUnstructuredDataWriter.h"
00037
00038
class vtkUnstructuredGrid;
00039
00040 class VTK_IO_EXPORT vtkXMLUnstructuredGridWriter :
public vtkXMLUnstructuredDataWriter
00041 {
00042
public:
00043 vtkTypeRevisionMacro(vtkXMLUnstructuredGridWriter,
vtkXMLUnstructuredDataWriter);
00044
void PrintSelf(ostream& os,
vtkIndent indent);
00045
static vtkXMLUnstructuredGridWriter*
New();
00046
00048
00049
void SetInput(
vtkUnstructuredGrid* input);
00050
vtkUnstructuredGrid* GetInput();
00052
00054
const char*
GetDefaultFileExtension();
00055
00056
protected:
00057 vtkXMLUnstructuredGridWriter();
00058 ~vtkXMLUnstructuredGridWriter();
00059
00060
const char*
GetDataSetName();
00061
void SetInputUpdateExtent(
int piece,
int numPieces,
int ghostLevel);
00062
00063
void WriteInlinePieceAttributes();
00064
void WriteInlinePiece(
vtkIndent indent);
00065
00066
void WriteAppendedMode(
vtkIndent indent);
00067
void WriteAppendedPieceAttributes(
int index);
00068
void WriteAppendedPiece(
int index,
vtkIndent indent);
00069
void WriteAppendedPieceData(
int index);
00070
00071
00072 unsigned long* NumberOfCellsPositions;
00073 unsigned long** CellsPositions;
00074
00075
private:
00076 vtkXMLUnstructuredGridWriter(
const vtkXMLUnstructuredGridWriter&);
00077
void operator=(
const vtkXMLUnstructuredGridWriter&);
00078 };
00079
00080
#endif