22 #ifndef vtkSpatioTemporalHarmonicsAttribute_h
23 #define vtkSpatioTemporalHarmonicsAttribute_h
26 #include "vtkFiltersGeneralModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
42 void AddHarmonic(
double amplitude,
double temporalFrequency,
double xWaveVector,
43 double yWaveVector,
double zWaveVector,
double phase);
48 void ClearHarmonics();
58 double ComputeValue(
double coords[3],
double time);
70 using Vector = std::array<double, 3>;
72 std::vector<double> Amplitudes;
73 std::vector<double> TemporalFrequencies;
74 std::vector<Vector> WaveVectors;
75 std::vector<double> Phases;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Computes spatio-temporal harmonics on each point.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()