MCPcopy Create free account
hub / github.com/Kitware/VTK / YFunction

Method YFunction

Filters/General/vtkTimeSourceExample.cxx:36–39  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

34
35//------------------------------------------------------------------------------
36double vtkTimeSourceExample::YFunction(double t)
37{
38 return sin(2 * vtkMath::Pi() * t) * this->YAmplitude;
39}
40
41//------------------------------------------------------------------------------
42void vtkTimeSourceExample::LookupTimeAndValue(double& time, double& value)

Callers 1

RequestDataMethod · 0.95

Calls 2

PiFunction · 0.85
sinFunction · 0.50

Tested by

no test coverage detected