29 #ifndef vtkSynchronizedTemplates2D_h
30 #define vtkSynchronizedTemplates2D_h
51 void SetValue(
int i,
double value) {this->ContourValues->SetValue(i,value);}
54 double GetValue(
int i) {
return this->ContourValues->GetValue(i);}
58 double *
GetValues() {
return this->ContourValues->GetValues();}
65 this->ContourValues->GetValues(contourValues);}
73 this->ContourValues->SetNumberOfContours(number);}
79 return this->ContourValues->GetNumberOfContours();}
86 this->ContourValues->GenerateValues(numContours, range);}
93 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
99 vtkSetMacro(ComputeScalars,
int);
100 vtkGetMacro(ComputeScalars,
int);
101 vtkBooleanMacro(ComputeScalars,
int);
107 vtkSetMacro(ArrayComponent,
int);
108 vtkGetMacro(ArrayComponent,
int);
helper object to manage setting and generating contour values
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkContourValues * ContourValues
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSCORE_EXPORT
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
void GenerateValues(int numContours, double range[2])
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
topologically and geometrically regular array of data
void GetValues(double *contourValues)
void SetNumberOfContours(int number)
int GetNumberOfContours()
void SetValue(int i, double value)
generate isoline(s) from a structured points set