33 #ifndef vtkEnSightWriter_h
34 #define vtkEnSightWriter_h
36 #include "vtkIOParallelModule.h"
58 vtkGetMacro(ProcessNumber,
int);
65 vtkSetStringMacro(Path);
73 vtkSetStringMacro(BaseName);
81 vtkSetStringMacro(FileName);
90 vtkGetMacro(TimeStep,
int);
98 vtkGetMacro(GhostLevel,
int);
107 vtkGetMacro(TransientGeometry,
bool);
115 vtkGetMacro(NumberOfBlocks,
int);
149 virtual void WriteCaseFile(
int TotalTimeSteps);
150 virtual void WriteSOSCaseFile(
int NumProcs);
161 virtual void WriteStringToFile(
const char*
string, FILE* file);
162 virtual void WriteTerminatedStringToFile(
const char*
string, FILE* file);
163 virtual void WriteIntToFile(
const int i,FILE* file);
164 virtual void WriteFloatToFile(
const float f,FILE* file);
165 virtual void WriteElementTypeToFile(
int ElementType, FILE* fd);
167 virtual bool ShouldWriteGeometry();
168 virtual void SanitizeFileName(
char*
name);
169 virtual FILE* OpenFile(
char*
name);
174 int GetExodusModelIndex(
int *ElementArray,
int NumberElements,
int PartID);
write vtk unstructured grid data as an EnSight file
void SetInputData(vtkDataObject *input)
Set/get the input to this writer.
abstract class to write data to file(s)
a simple class to control print indentation
vtkDataObject * GetInput()
dataset represents arbitrary combinations of all possible cell types
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual int * GetBlockIDs()
set the array of Block ID's this class keeps a reference to the array and will not delete it ...
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkUnstructuredGrid * TmpInput
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkAlgorithm * New()
virtual void WriteData()=0
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetBlockIDs(int *val)
set the array of Block ID's this class keeps a reference to the array and will not delete it ...