 |
VTK
9.0.20210117
|
Go to the documentation of this file.
35 #ifndef vtkSLACReader_h
36 #define vtkSLACReader_h
38 #include "vtkIONetCDFModule.h"
56 vtkGetStringMacro(MeshFileName);
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);
103 virtual int GetNumberOfVariableArrays();
104 virtual const char* GetVariableArrayName(
int index);
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);
176 if (endpointA < endpointB)
178 this->MinEndPoint = endpointA;
179 this->MaxEndPoint = endpointB;
183 this->MinEndPoint = endpointB;
184 this->MaxEndPoint = endpointA;
237 friend class vtkInternal;
269 static void SelectionModifiedCallback(
270 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
279 virtual vtkIdType GetNumTuplesInVariable(
int ncFD,
int varId,
int expectedNumComponents);
285 virtual int CheckTetrahedraWinding(
int meshFD);
291 virtual int ReadConnectivity(
298 virtual int ReadTetrahedronInteriorArray(
int meshFD,
vtkIdTypeArray* connectivity);
299 virtual int ReadTetrahedronExteriorArray(
int meshFD,
vtkIdTypeArray* connectivity);
329 void RemoveAllMidpoints();
361 void RemoveAllMidpoints();
372 void InitTraversal();
399 virtual int ReadMidpointCoordinates(
407 virtual int ReadMidpointData(
421 virtual int ReadFieldData(
const int* modeFDArray,
int numModeFDs,
vtkMultiBlockDataSet* output);
440 virtual int MeshUpToDate();
447 #endif // vtkSLACReader_h
Manages a map from edges to midpoint coordinates.
Manages a map from edges to the point id of the midpoint.
Simple class used internally to define an edge based on the endpoints.
bool FrequencyModes
True if mode files describe vibrating fields.
record modification and/or execution time
vtkTypeBool ReadInternalVolume
abstract base class for most VTK objects
static vtkMultiBlockDataSetAlgorithm * New()
bool TimeStepModes
True if "mode" files are a sequence of time steps.
Composite dataset that organizes datasets into blocks.
Store on/off settings for data arrays for a vtkSource.
bool operator==(const EdgeEndpoints &other) const
bool ReadModeData
True if reading from a proper mode file.
a simple class to control print indentation
vtkTypeBool ReadMidpoints
vtkIdType GetMinEndPoint() const
vtkTimeStamp MeshReadTime
A time stamp for the last time the mesh file was read.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of vtkIdType
vtkIdType GetMaxEndPoint() const
Simple class used internally for holding midpoint information.
dynamic, self-adjusting array of double
MidpointCoordinates(const double coord[3], vtkIdType id)
EdgeEndpoints(vtkIdType endpointA, vtkIdType endpointB)
vtkTypeBool ReadExternalSurface
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.