27 #ifndef __vtkTimeSourceExample_h
28 #define __vtkTimeSourceExample_h
30 #include "vtkFiltersGeneralModule.h"
31 #include "vtkUnstructuredGridAlgorithm.h"
38 void PrintSelf(ostream& os, vtkIndent indent);
44 vtkSetClampMacro(Analytic,
int, 0, 1);
45 vtkGetMacro(Analytic,
int);
46 vtkBooleanMacro(Analytic,
int);
53 vtkSetMacro(XAmplitude,
double);
54 vtkGetMacro(XAmplitude,
double);
55 vtkSetMacro(YAmplitude,
double);
56 vtkGetMacro(YAmplitude,
double);
63 vtkSetClampMacro(Growing,
int, 0, 1);
64 vtkGetMacro(Growing,
int);
65 vtkBooleanMacro(Growing,
int);
72 virtual int RequestInformation(vtkInformation*,
73 vtkInformationVector**,
74 vtkInformationVector*);
76 virtual int RequestData(vtkInformation*,
77 vtkInformationVector**,
78 vtkInformationVector*);
81 void LookupTimeAndValue(
double &time,
double &value);
82 double ValueFunction(
double time);
83 double XFunction(
double time);
84 double YFunction(
double time);
85 int NumCellsFunction(
double time);