31#ifndef vtkSynchronizedTemplates2D_h
32#define vtkSynchronizedTemplates2D_h
34#include "vtkFiltersCoreModule.h"
57 void SetValue(
int i,
double value) { this->ContourValues->SetValue(i, value); }
62 double GetValue(
int i) {
return this->ContourValues->GetValue(i); }
68 double*
GetValues() {
return this->ContourValues->GetValues(); }
75 void GetValues(
double* contourValues) { this->ContourValues->GetValues(contourValues); }
95 this->ContourValues->GenerateValues(numContours, range);
104 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
121 vtkSetMacro(ArrayComponent,
int);
122 vtkGetMacro(ArrayComponent,
int);
helper object to manage setting and generating contour values
topologically and geometrically regular array of data
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
generate isoline(s) from a structured points set
vtkSynchronizedTemplates2D()
void GetValues(double *contourValues)
Fill a supplied list with contour values.
vtkTypeBool ComputeScalars
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
vtkMTimeType GetMTime() override
Because we delegate to vtkContourValues.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
double * GetValues()
Get a pointer to an array of contour values.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
void SetValue(int i, double value)
Set a particular contour value at contour number i.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkSynchronizedTemplates2D * New()
double GetValue(int i)
Get the ith contour value.
~vtkSynchronizedTemplates2D() override
vtkContourValues * ContourValues
vtkTypeUInt32 vtkMTimeType