20 #ifndef vtkSLACReader_h
21 #define vtkSLACReader_h
23 #include "vtkIONetCDFModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
42 vtkGetFilePathMacro(MeshFileName);
43 vtkSetFilePathMacro(MeshFileName);
51 virtual void AddModeFileName(
VTK_FILEPATH const char* fname);
52 virtual void RemoveAllModeFileNames();
53 virtual unsigned int GetNumberOfModeFileNames();
54 virtual VTK_FILEPATH const char* GetModeFileName(
unsigned int idx);
89 virtual int GetNumberOfVariableArrays();
90 virtual const char* GetVariableArrayName(
int index);
91 virtual int GetVariableArrayStatus(
const char*
name);
92 virtual void SetVariableArrayStatus(
const char*
name,
int status);
99 virtual void ResetFrequencyScales();
100 virtual void SetFrequencyScale(
int index,
double scale);
107 virtual void ResetPhaseShifts();
108 virtual void SetPhaseShift(
int index,
double shift);
122 static int CanReadFile(
VTK_FILEPATH const char* filename);
165 if (endpointA < endpointB)
167 this->MinEndPoint = endpointA;
168 this->MaxEndPoint = endpointB;
172 this->MinEndPoint = endpointB;
173 this->MaxEndPoint = endpointA;
226 friend class vtkInternal;
258 static void SelectionModifiedCallback(
259 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
268 virtual vtkIdType GetNumTuplesInVariable(
int ncFD,
int varId,
int expectedNumComponents);
274 virtual int CheckTetrahedraWinding(
int meshFD);
280 virtual int ReadConnectivity(
287 virtual int ReadTetrahedronInteriorArray(
int meshFD,
vtkIdTypeArray* connectivity);
288 virtual int ReadTetrahedronExteriorArray(
int meshFD,
vtkIdTypeArray* connectivity);
318 void RemoveAllMidpoints();
350 void RemoveAllMidpoints();
361 void InitTraversal();
388 virtual int ReadMidpointCoordinates(
396 virtual int ReadMidpointData(
410 virtual int ReadFieldData(
const int* modeFDArray,
int numModeFDs,
vtkMultiBlockDataSet* output);
429 virtual int MeshUpToDate();
436 VTK_ABI_NAMESPACE_END
437 #endif // vtkSLACReader_h
vtkTypeBool ReadInternalVolume
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
vtkTypeBool ReadMidpoints
Store on/off settings for data arrays, etc.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Composite dataset that organizes datasets into blocks.
bool ReadModeData
True if reading from a proper mode file.
vtkTypeBool ReadExternalSurface
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.