38 #ifndef vtkSLACReader_h
39 #define vtkSLACReader_h
41 #include "vtkIONetCDFModule.h"
59 vtkGetFilePathMacro(MeshFileName);
60 vtkSetFilePathMacro(MeshFileName);
68 virtual void AddModeFileName(
VTK_FILEPATH const char* fname);
69 virtual void RemoveAllModeFileNames();
70 virtual unsigned int GetNumberOfModeFileNames();
71 virtual VTK_FILEPATH const char* GetModeFileName(
unsigned int idx);
106 virtual int GetNumberOfVariableArrays();
107 virtual const char* GetVariableArrayName(
int index);
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(
VTK_FILEPATH const char* filename);
179 if (endpointA < endpointB)
181 this->MinEndPoint = endpointA;
182 this->MaxEndPoint = endpointB;
186 this->MinEndPoint = endpointB;
187 this->MaxEndPoint = endpointA;
240 friend class vtkInternal;
272 static void SelectionModifiedCallback(
273 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
282 virtual vtkIdType GetNumTuplesInVariable(
int ncFD,
int varId,
int expectedNumComponents);
288 virtual int CheckTetrahedraWinding(
int meshFD);
294 virtual int ReadConnectivity(
301 virtual int ReadTetrahedronInteriorArray(
int meshFD,
vtkIdTypeArray* connectivity);
302 virtual int ReadTetrahedronExteriorArray(
int meshFD,
vtkIdTypeArray* connectivity);
332 void RemoveAllMidpoints();
364 void RemoveAllMidpoints();
375 void InitTraversal();
402 virtual int ReadMidpointCoordinates(
410 virtual int ReadMidpointData(
424 virtual int ReadFieldData(
const int* modeFDArray,
int numModeFDs,
vtkMultiBlockDataSet* output);
443 virtual int MeshUpToDate();
450 #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.