27 #ifndef __vtkTimeSourceExample_h
28 #define __vtkTimeSourceExample_h
30 #include "vtkFiltersGeneralModule.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);
73 vtkInformationVector**,
74 vtkInformationVector*);
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);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkUnstructuredGridAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only unstructured grid as output.