22#ifndef vtkSynchronizedTemplates2D_h
23#define vtkSynchronizedTemplates2D_h
25#include "vtkFiltersCoreModule.h"
30VTK_ABI_NAMESPACE_BEGIN
49 void SetValue(
int i,
double value) { this->ContourValues->SetValue(i, value); }
54 double GetValue(
int i) {
return this->ContourValues->GetValue(i); }
60 double*
GetValues() {
return this->ContourValues->GetValues(); }
67 void GetValues(
double* contourValues) { this->ContourValues->GetValues(contourValues); }
87 this->ContourValues->GenerateValues(numContours, range);
96 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
113 vtkSetMacro(ArrayComponent,
int);
114 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