29 #ifndef __vtkSynchronizedTemplates2D_h
30 #define __vtkSynchronizedTemplates2D_h
50 void SetValue(
int i,
double value) {this->ContourValues->SetValue(i,value);}
53 double GetValue(
int i) {
return this->ContourValues->GetValue(i);}
57 double *
GetValues() {
return this->ContourValues->GetValues();}
64 this->ContourValues->GetValues(contourValues);}
72 this->ContourValues->SetNumberOfContours(number);}
78 return this->ContourValues->GetNumberOfContours();}
85 this->ContourValues->GenerateValues(numContours, range);}
92 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
98 vtkSetMacro(ComputeScalars,
int);
99 vtkGetMacro(ComputeScalars,
int);
100 vtkBooleanMacro(ComputeScalars,
int);
106 vtkSetMacro(ArrayComponent,
int);
107 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)
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