47 #ifndef vtkBandedPolyDataContourFilter_h 48 #define vtkBandedPolyDataContourFilter_h 50 #include "vtkFiltersModelingModule.h" 62 #define VTK_SCALAR_MODE_INDEX 0 63 #define VTK_SCALAR_MODE_VALUE 1 83 void SetValue(
int i,
double value);
84 double GetValue(
int i);
86 void GetValues(
double *contourValues);
87 void SetNumberOfContours(
int number);
88 int GetNumberOfContours();
89 void GenerateValues(
int numContours,
double range[2]);
90 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
101 vtkGetMacro(Clipping,
int);
113 vtkGetMacro(ScalarMode,
int);
128 vtkGetMacro(GenerateContourEdges,
int);
140 vtkGetMacro(ClipTolerance,
double);
149 vtkGetMacro(Component,
int);
170 int ComputeScalarIndex(
double);
171 int IsContourValue(
double val);
179 int ComputeClippedIndex(
double s);
180 int InsertNextScalar(
vtkFloatArray* scalars,
int cellId,
int idx);
208 {this->ContourValues->SetValue(i,value);}
214 {
return this->ContourValues->GetValue(i);}
221 {
return this->ContourValues->GetValues();}
229 {this->ContourValues->GetValues(contourValues);}
237 {this->ContourValues->SetNumberOfContours(number);}
243 {
return this->ContourValues->GetNumberOfContours();}
251 {this->ContourValues->GenerateValues(numContours, range);}
260 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
helper object to manage setting and generating contour values
vtkContourValues * ContourValues
represent and manipulate point attribute data
generate filled contours for vtkPolyData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
dynamic, self-adjusting array of float
double InternalClipTolerance
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
concrete dataset represents vertices, lines, polygons, and triangle strips
double GetValue(int i)
Get the ith contour value.
void SetValue(int i, double value)
Methods to set / get contour values.
vtkTypeUInt64 vtkMTimeType
dynamic, self-adjusting array of double
static vtkPolyDataAlgorithm * New()
#define VTK_SCALAR_MODE_VALUE
Superclass for algorithms that produce only polydata as output.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
a simple class to control print indentation
abstract superclass for arrays of numeric data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
double * GetValues()
Get a pointer to an array of contour values.
#define VTK_SCALAR_MODE_INDEX
void SetScalarModeToValue()
Control whether the cell scalars are output as an integer index or a scalar value.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetScalarModeToIndex()
Control whether the cell scalars are output as an integer index or a scalar value.
object to represent cell connectivity
int GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.