32 #ifndef vtkPythonAnnotationFilter_h 33 #define vtkPythonAnnotationFilter_h 51 vtkSetStringMacro(Expression);
52 vtkGetStringMacro(Expression);
62 vtkSetMacro(ArrayAssociation,
int);
63 vtkGetMacro(ArrayAssociation,
int);
70 vtkGetStringMacro(ComputedAnnotationValue);
79 vtkGetMacro(DataTimeValid,
bool);
80 vtkGetMacro(DataTime,
double);
83 vtkGetMacro(NumberOfTimeSteps,
int);
86 return (index < this->NumberOfTimeSteps ? this->TimeSteps[index] : 0.0);
89 vtkGetMacro(TimeRangeValid,
bool);
90 vtkGetVector2Macro(TimeRange,
double);
92 void SetComputedAnnotationValue(
const char*
value);
104 virtual void EvaluateExpression();
116 int NumberOfTimeSteps;
static vtkTableAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
double GetTimeStep(int index)
#define VTKPVVTKEXTENSIONSFILTERSPYTHON_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
filter used to generate text annotation from Python expressions.
char * ComputedAnnotationValue
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)