22#ifndef vtkSpatioTemporalHarmonicsAttribute_h
23#define vtkSpatioTemporalHarmonicsAttribute_h
26#include "vtkFiltersGeneralModule.h"
31VTK_ABI_NAMESPACE_BEGIN
42 void AddHarmonic(
double amplitude,
double temporalFrequency,
double xWaveVector,
43 double yWaveVector,
double zWaveVector,
double phase);
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;
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Computes spatio-temporal harmonics on each point.
double ComputeValue(double coords[3], double time)
Compute spatio-temporal harmonic using filter-defined harmonics.
void ClearHarmonics()
Clear all harmonics.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkSpatioTemporalHarmonicsAttribute * New()
vtkSpatioTemporalHarmonicsAttribute()=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AddHarmonic(double amplitude, double temporalFrequency, double xWaveVector, double yWaveVector, double zWaveVector, double phase)
Add an harmonic with all needed parameters.
bool HasHarmonics()
Whether the filter has harmonics set, or is empty.
~vtkSpatioTemporalHarmonicsAttribute() override=default