33#ifndef vtkEnSightWriter_h
34#define vtkEnSightWriter_h
36#include "vtkIOParallelModule.h"
57 vtkSetMacro(ProcessNumber,
int);
58 vtkGetMacro(ProcessNumber,
int);
73 vtkSetStringMacro(BaseName);
74 vtkGetStringMacro(BaseName);
89 vtkSetMacro(TimeStep,
int);
90 vtkGetMacro(TimeStep,
int);
97 vtkSetMacro(GhostLevel,
int);
98 vtkGetMacro(GhostLevel,
int);
106 vtkSetMacro(TransientGeometry,
bool);
107 vtkGetMacro(TransientGeometry,
bool);
114 vtkSetMacro(NumberOfBlocks,
int);
115 vtkGetMacro(NumberOfBlocks,
int);
write vtk unstructured grid data as an EnSight file
virtual vtkUnstructuredGrid * GetInput()
Specify the input data or filter.
vtkSetFilePathMacro(FileName)
Specify the path and base name of the output files.
virtual void WriteSOSCaseFile(int NumProcs)
Writes the case file that EnSight is capable of reading The other data files must be written before t...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual void SanitizeFileName(char *name)
virtual void WriteTerminatedStringToFile(const char *string, FILE *file)
vtkSetFilePathMacro(Path)
Specify path of EnSight data files to write.
vtkUnstructuredGrid * TmpInput
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetInputData(vtkUnstructuredGrid *input)
Specify the input data or filter.
void operator=(const vtkEnSightWriter &)=delete
virtual bool ShouldWriteGeometry()
virtual int * GetBlockIDs()
set the array of Block ID's this class keeps a reference to the array and will not delete it
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
virtual void WriteCaseFile(int TotalTimeSteps)
Writes the case file that EnSight is capable of reading The other data files must be written before t...
int GetExodusModelIndex(int *ElementArray, int NumberElements, int PartID)
void WriteData() override
vtkGetFilePathMacro(Path)
Specify path of EnSight data files to write.
vtkGetFilePathMacro(FileName)
Specify the path and base name of the output files.
virtual void WriteStringToFile(const char *string, FILE *file)
virtual void WriteFloatToFile(const float f, FILE *file)
virtual void WriteElementTypeToFile(int ElementType, FILE *fd)
virtual FILE * OpenFile(char *name)
vtkEnSightWriter(const vtkEnSightWriter &)=delete
virtual void WriteIntToFile(const int i, FILE *file)
static vtkEnSightWriter * New()
~vtkEnSightWriter() override
a simple class to control print indentation
dataset represents arbitrary combinations of all possible cell types
abstract class to write data to file(s)