#include <vtkTimeSourceExample.h>
Definition at line 32 of file vtkTimeSourceExample.h.
Public Types | |
typedef vtkUnstructuredGridAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetAnalytic (int) |
virtual int | GetAnalytic () |
virtual void | AnalyticOn () |
virtual void | AnalyticOff () |
virtual void | SetXAmplitude (double) |
virtual double | GetXAmplitude () |
virtual void | SetYAmplitude (double) |
virtual double | GetYAmplitude () |
virtual void | SetGrowing (int) |
virtual int | GetGrowing () |
virtual void | GrowingOn () |
virtual void | GrowingOff () |
Static Public Member Functions | |
static vtkTimeSourceExample * | New () |
static int | IsTypeOf (const char *type) |
static vtkTimeSourceExample * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTimeSourceExample () | |
~vtkTimeSourceExample () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | LookupTimeAndValue (double &time, double &value) |
double | ValueFunction (double time) |
double | XFunction (double time) |
double | YFunction (double time) |
int | NumCellsFunction (double time) |
Protected Attributes | |
int | Analytic |
double | XAmplitude |
double | YAmplitude |
int | Growing |
int | NumSteps |
double * | Steps |
double * | Values |
Reimplemented from vtkUnstructuredGridAlgorithm.
Definition at line 36 of file vtkTimeSourceExample.h.
vtkTimeSourceExample::vtkTimeSourceExample | ( | ) | [protected] |
vtkTimeSourceExample::~vtkTimeSourceExample | ( | ) | [protected] |
static vtkTimeSourceExample* vtkTimeSourceExample::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkUnstructuredGridAlgorithm.
virtual const char* vtkTimeSourceExample::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkUnstructuredGridAlgorithm.
static int vtkTimeSourceExample::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkUnstructuredGridAlgorithm.
virtual int vtkTimeSourceExample::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkUnstructuredGridAlgorithm.
static vtkTimeSourceExample* vtkTimeSourceExample::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkUnstructuredGridAlgorithm.
void vtkTimeSourceExample::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkUnstructuredGridAlgorithm.
virtual void vtkTimeSourceExample::SetAnalytic | ( | int | ) | [virtual] |
When off (the default) this source produces a discrete set of values. When on, this source produces a value analytically for any queried time.
virtual int vtkTimeSourceExample::GetAnalytic | ( | ) | [virtual] |
When off (the default) this source produces a discrete set of values. When on, this source produces a value analytically for any queried time.
virtual void vtkTimeSourceExample::AnalyticOn | ( | ) | [virtual] |
When off (the default) this source produces a discrete set of values. When on, this source produces a value analytically for any queried time.
virtual void vtkTimeSourceExample::AnalyticOff | ( | ) | [virtual] |
When off (the default) this source produces a discrete set of values. When on, this source produces a value analytically for any queried time.
virtual void vtkTimeSourceExample::SetXAmplitude | ( | double | ) | [virtual] |
When 0.0 (the default) this produces a data set that is stationary. When on the data set moves in the X/Y plane over a sin wave over time, amplified by the value.
virtual double vtkTimeSourceExample::GetXAmplitude | ( | ) | [virtual] |
When 0.0 (the default) this produces a data set that is stationary. When on the data set moves in the X/Y plane over a sin wave over time, amplified by the value.
virtual void vtkTimeSourceExample::SetYAmplitude | ( | double | ) | [virtual] |
When 0.0 (the default) this produces a data set that is stationary. When on the data set moves in the X/Y plane over a sin wave over time, amplified by the value.
virtual double vtkTimeSourceExample::GetYAmplitude | ( | ) | [virtual] |
When 0.0 (the default) this produces a data set that is stationary. When on the data set moves in the X/Y plane over a sin wave over time, amplified by the value.
virtual void vtkTimeSourceExample::SetGrowing | ( | int | ) | [virtual] |
When off (the default) this produces a single cell data set. When on the the number of cells (in the Y direction) grows and shrinks over time along a hat function.
virtual int vtkTimeSourceExample::GetGrowing | ( | ) | [virtual] |
When off (the default) this produces a single cell data set. When on the the number of cells (in the Y direction) grows and shrinks over time along a hat function.
virtual void vtkTimeSourceExample::GrowingOn | ( | ) | [virtual] |
When off (the default) this produces a single cell data set. When on the the number of cells (in the Y direction) grows and shrinks over time along a hat function.
virtual void vtkTimeSourceExample::GrowingOff | ( | ) | [virtual] |
When off (the default) this produces a single cell data set. When on the the number of cells (in the Y direction) grows and shrinks over time along a hat function.
virtual int vtkTimeSourceExample::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkUnstructuredGridAlgorithm.
virtual int vtkTimeSourceExample::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkUnstructuredGridAlgorithm.
void vtkTimeSourceExample::LookupTimeAndValue | ( | double & | time, | |
double & | value | |||
) | [protected] |
double vtkTimeSourceExample::ValueFunction | ( | double | time | ) | [protected] |
double vtkTimeSourceExample::XFunction | ( | double | time | ) | [protected] |
double vtkTimeSourceExample::YFunction | ( | double | time | ) | [protected] |
int vtkTimeSourceExample::NumCellsFunction | ( | double | time | ) | [protected] |
int vtkTimeSourceExample::Analytic [protected] |
Definition at line 86 of file vtkTimeSourceExample.h.
double vtkTimeSourceExample::XAmplitude [protected] |
Definition at line 87 of file vtkTimeSourceExample.h.
double vtkTimeSourceExample::YAmplitude [protected] |
Definition at line 88 of file vtkTimeSourceExample.h.
int vtkTimeSourceExample::Growing [protected] |
Definition at line 89 of file vtkTimeSourceExample.h.
int vtkTimeSourceExample::NumSteps [protected] |
Definition at line 91 of file vtkTimeSourceExample.h.
double* vtkTimeSourceExample::Steps [protected] |
Definition at line 92 of file vtkTimeSourceExample.h.
double* vtkTimeSourceExample::Values [protected] |
Definition at line 93 of file vtkTimeSourceExample.h.