35 #ifndef vtkSLACReader_h
36 #define vtkSLACReader_h
38 #include "vtkIONetCDFModule.h"
57 vtkSetStringMacro(MeshFileName);
65 virtual void AddModeFileName(
const char *fname);
66 virtual void RemoveAllModeFileNames();
67 virtual unsigned int GetNumberOfModeFileNames();
68 virtual const char *GetModeFileName(
unsigned int idx);
75 vtkGetMacro(ReadInternalVolume,
int);
84 vtkGetMacro(ReadExternalSurface,
int);
94 vtkGetMacro(ReadMidpoints,
int);
103 virtual int GetNumberOfVariableArrays();
104 virtual const char *GetVariableArrayName(
int idx);
105 virtual int GetVariableArrayStatus(
const char *
name);
106 virtual void SetVariableArrayStatus(
const char *
name,
int status);
113 virtual void ResetFrequencyScales();
114 virtual void SetFrequencyScale(
int index,
double scale);
121 virtual void ResetPhaseShifts();
122 virtual void SetPhaseShift(
int index,
double shift);
136 static int CanReadFile(
const char *filename);
171 if (endpointA < endpointB)
173 this->MinEndPoint = endpointA; this->MaxEndPoint = endpointB;
177 this->MinEndPoint = endpointB; this->MaxEndPoint = endpointA;
222 vtkInternal *Internal;
226 friend class vtkInternal;
230 int ReadInternalVolume;
231 int ReadExternalSurface;
260 static
void SelectionModifiedCallback(
vtkObject *caller,
unsigned long eid,
261 void *clientdata,
void *calldata);
270 virtual
vtkIdType GetNumTuplesInVariable(
int ncFD,
int varId,
271 int expectedNumComponents);
277 virtual
int CheckTetrahedraWinding(
int meshFD);
290 virtual
int ReadTetrahedronInteriorArray(
int meshFD,
292 virtual
int ReadTetrahedronExteriorArray(
int meshFD,
323 void RemoveAllMidpoints();
355 void RemoveAllMidpoints();
366 void InitTraversal();
416 virtual int ReadFieldData(
const int *modeFDArray,
438 virtual int MeshUpToDate();
445 #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
Hold a reference to a vtkObjectBase instance.
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.
abstract superclass for arrays of numeric data
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkIdType GetMaxEndPoint() const
vtkIdType GetMinEndPoint() const
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.