44 #ifndef vtkBandedPolyDataContourFilter_h
45 #define vtkBandedPolyDataContourFilter_h
47 #include "vtkFiltersModelingModule.h"
58 struct vtkBandedPolyDataContourFilterInternals;
60 #define VTK_SCALAR_MODE_INDEX 0
61 #define VTK_SCALAR_MODE_VALUE 1
81 void SetValue(
int i,
double value);
82 double GetValue(
int i);
84 void GetValues(
double* contourValues);
85 void SetNumberOfContours(
int number);
87 void GenerateValues(
int numContours,
double range[2]);
88 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
111 vtkGetMacro(ScalarMode,
int);
125 vtkBooleanMacro(GenerateContourEdges,
vtkTypeBool);
135 vtkSetMacro(ClipTolerance,
double);
136 vtkGetMacro(ClipTolerance,
double);
144 vtkSetMacro(Component,
int);
145 vtkGetMacro(Component,
int);
172 int ComputeClippedIndex(
double s);
173 int InsertNextScalar(
vtkFloatArray* scalars,
int cellId,
int idx);
259 int numContours,
double rangeStart,
double rangeEnd)
helper object to manage setting and generating contour values
vtkContourValues * ContourValues
represent and manipulate point attribute data
generate filled contours for vtkPolyData
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
dynamic, self-adjusting array of float
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
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.
double GetValue(int i)
Get the ith contour value.
void SetValue(int i, double value)
Methods to set / get contour values.
dynamic, self-adjusting array of double
static vtkPolyDataAlgorithm * New()
#define VTK_SCALAR_MODE_VALUE
double * GetValues()
Return a pointer to a list of contour values.
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.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkBandedPolyDataContourFilterInternals * Internal
#define VTK_SCALAR_MODE_INDEX
void SetScalarModeToValue()
Control whether the cell scalars are output as an integer index or a scalar value.
void SetScalarModeToIndex()
Control whether the cell scalars are output as an integer index or a scalar value.
vtkTypeBool GenerateContourEdges
object to represent cell connectivity
int GetNumberOfContours()
Return the number of contours in the.
void SetValue(int i, double value)
Set the ith contour value.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.