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);
162 if (endpointA < endpointB)
164 this->MinEndPoint = endpointA;
165 this->MaxEndPoint = endpointB;
169 this->MinEndPoint = endpointB;
170 this->MaxEndPoint = endpointA;
223 friend class vtkInternal;
255 static void SelectionModifiedCallback(
256 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
265 virtual vtkIdType GetNumTuplesInVariable(
int ncFD,
int varId,
int expectedNumComponents);
271 virtual int CheckTetrahedraWinding(
int meshFD);
277 virtual int ReadConnectivity(
284 virtual int ReadTetrahedronInteriorArray(
int meshFD,
vtkIdTypeArray* connectivity);
285 virtual int ReadTetrahedronExteriorArray(
int meshFD,
vtkIdTypeArray* connectivity);
315 void RemoveAllMidpoints();
347 void RemoveAllMidpoints();
358 void InitTraversal();
385 virtual int ReadMidpointCoordinates(
393 virtual int ReadMidpointData(
407 virtual int ReadFieldData(
const int* modeFDArray,
int numModeFDs,
vtkMultiBlockDataSet* output);
426 virtual int MeshUpToDate();
433 VTK_ABI_NAMESPACE_END
434 #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.