38 #ifndef vtkSLACReader_h
39 #define vtkSLACReader_h
41 #include "vtkIONetCDFModule.h"
60 vtkSetStringMacro(MeshFileName);
68 virtual void AddModeFileName(
const char *fname);
69 virtual void RemoveAllModeFileNames();
70 virtual unsigned int GetNumberOfModeFileNames();
71 virtual const char *GetModeFileName(
unsigned int idx);
78 vtkGetMacro(ReadInternalVolume,
int);
87 vtkGetMacro(ReadExternalSurface,
int);
97 vtkGetMacro(ReadMidpoints,
int);
106 virtual int GetNumberOfVariableArrays();
107 virtual const char *GetVariableArrayName(
int idx);
108 virtual int GetVariableArrayStatus(
const char *
name);
109 virtual void SetVariableArrayStatus(
const char *
name,
int status);
116 virtual void ResetFrequencyScales();
117 virtual void SetFrequencyScale(
int index,
double scale);
124 virtual void ResetPhaseShifts();
125 virtual void SetPhaseShift(
int index,
double shift);
139 static int CanReadFile(
const char *filename);
174 if (endpointA < endpointB)
176 this->MinEndPoint = endpointA; this->MaxEndPoint = endpointB;
180 this->MinEndPoint = endpointB; this->MaxEndPoint = endpointA;
229 friend class vtkInternal;
263 static void SelectionModifiedCallback(
vtkObject *caller,
unsigned long eid,
264 void *clientdata,
void *calldata);
273 virtual vtkIdType GetNumTuplesInVariable(
int ncFD,
int varId,
274 int expectedNumComponents);
280 virtual int CheckTetrahedraWinding(
int meshFD);
293 virtual int ReadTetrahedronInteriorArray(
int meshFD,
295 virtual int ReadTetrahedronExteriorArray(
int meshFD,
326 void RemoveAllMidpoints();
358 void RemoveAllMidpoints();
369 void InitTraversal();
419 virtual int ReadFieldData(
const int *modeFDArray,
441 virtual int MeshUpToDate();
448 #endif //vtkSLACReader_h
Simple class used internally to define an edge based on the endpoints.
EdgeEndpoints(vtkIdType endpointA, vtkIdType endpointB)
Simple class used internally for holding midpoint information.
abstract base class for most VTK objects
record modification and/or execution time
bool operator==(const EdgeEndpoints &other) const
dynamic, self-adjusting array of vtkIdType
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
A reader for a data format used by Omega3p, Tau3p, and several other tools used at the Standford Line...
dynamic, self-adjusting array of double
static vtkMultiBlockDataSetAlgorithm * New()
MidpointCoordinates(const double coord[3], vtkIdType id)
Manages a map from edges to midpoint coordinates.
a simple class to control print indentation
Store on/off settings for data arrays for a vtkSource.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Composite dataset that organizes datasets into blocks.
bool ReadModeData
True if reading from a proper mode file.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
bool FrequencyModes
True if mode files describe vibrating fields.
vtkIdType GetMaxEndPoint() const
vtkIdType GetMinEndPoint() const
bool TimeStepModes
True if "mode" files are a sequence of time steps.
Manages a map from edges to the point id of the midpoint.
vtkTimeStamp MeshReadTime
A time stamp for the last time the mesh file was read.