14 #ifndef vtkPhastaReader_h 15 #define vtkPhastaReader_h 25 struct vtkPhastaReaderInternal;
38 vtkSetStringMacro(GeometryFileName);
39 vtkGetStringMacro(GeometryFileName);
46 vtkSetStringMacro(FieldFileName);
47 vtkGetStringMacro(FieldFileName);
54 void ClearFieldInfo();
55 void SetFieldInfo(
const char* paraviewFieldTag,
const char* phastaFieldTag,
int index,
56 int numOfComps,
int dataDependency,
const char* dataType);
70 char* GeomFileName,
int& firstVertexNo,
vtkPoints* points,
int& noOfNodes,
int& noOfCells);
77 char* GeometryFileName;
81 int NumberOfVariables;
83 static char* StringStripper(
const char istring[]);
84 static int cscompare(
const char teststring[],
const char targetstring[]);
85 static void isBinary(
const char iotype[]);
86 static size_t typeSize(
const char typestring[]);
87 static int readHeader(FILE* fileObject,
const char phrase[],
int* params,
int expect);
88 static void SwapArrayByteOrder(
void* array,
int nbytes,
int nItems);
89 static void openfile(
const char filename[],
const char mode[],
int* fileDescriptor);
90 static void closefile(
int* fileDescriptor,
const char mode[]);
91 static void readheader(
int* fileDescriptor,
const char keyphrase[],
void* valueArray,
int* nItems,
92 const char datatype[],
const char iotype[]);
93 static void readdatablock(
int* fileDescriptor,
const char keyphrase[],
void* valueArray,
94 int* nItems,
const char datatype[],
const char iotype[]);
96 vtkPhastaReaderInternal* Internal;
Reader for RPI's PHASTA software.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkUnstructuredGridAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTKPVVTKEXTENSIONSIOGENERAL_EXPORT
void operator=(const vtkObjectBase &)