 |
VTK
9.1.0
|
Go to the documentation of this file.
110 #ifndef vtkBandedPolyDataContourFilter_h
111 #define vtkBandedPolyDataContourFilter_h
113 #include "vtkFiltersModelingModule.h"
124 struct vtkBandedPolyDataContourFilterInternals;
126 #define VTK_SCALAR_MODE_INDEX 0
127 #define VTK_SCALAR_MODE_VALUE 1
147 void SetValue(
int i,
double value);
148 double GetValue(
int i);
150 void GetValues(
double* contourValues);
151 void SetNumberOfContours(
int number);
153 void GenerateValues(
int numContours,
double range[2]);
154 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
177 vtkGetMacro(ScalarMode,
int);
201 vtkSetMacro(ClipTolerance,
double);
202 vtkGetMacro(ClipTolerance,
double);
210 vtkSetMacro(Component,
int);
211 vtkGetMacro(Component,
int);
325 int numContours,
double rangeStart,
double rangeEnd)
represent and manipulate 3D points
double * GetValues()
Get a pointer to an array of contour values.
double * GetValues()
Return a pointer to a list of contour values.
int GetNumberOfContours()
Return the number of contours in the.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
int ClipEdge(int v1, int v2, vtkPoints *pts, vtkDataArray *inScalars, vtkDoubleArray *outScalars, vtkPointData *inPD, vtkPointData *outPD, vtkIdType edgePts[])
represent and manipulate point attribute data
void SetScalarModeToIndex()
Control whether the cell scalars are output as an integer index or a scalar value.
#define VTK_SCALAR_MODE_INDEX
dynamic, self-adjusting array of float
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
int InsertNextScalar(vtkFloatArray *scalars, int cellId, int idx)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
abstract superclass for arrays of numeric data
vtkTypeBool GenerateContourEdges
int InsertCell(vtkCellArray *cells, int npts, const vtkIdType *pts, int cellId, double s, vtkFloatArray *newS)
void SetScalarModeToValue()
Control whether the cell scalars are output as an integer index or a scalar value.
double GetValue(int i)
Get the ith contour value.
helper object to manage setting and generating contour values
a simple class to control print indentation
object to represent cell connectivity
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
double GetValue(int i)
Get the ith contour value.
int ComputeClippedIndex(double s)
void SetValue(int i, double value)
Set the ith contour value.
vtkBandedPolyDataContourFilter()
int InsertLine(vtkCellArray *cells, vtkIdType pt1, vtkIdType pt2, int cellId, double s, vtkFloatArray *newS)
vtkBandedPolyDataContourFilterInternals * Internal
static vtkBandedPolyDataContourFilter * New()
Construct object with no contours defined.
vtkContourValues * ContourValues
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetValue(int i, double value)
Methods to set / get contour values.
dynamic, self-adjusting array of double
vtkMTimeType GetMTime() override
Overload GetMTime because we delegate to vtkContourValues so its modified time must be taken into acc...
generate filled contours for vtkPolyData
vtkPolyData * GetContourEdgesOutput()
Get the second output which contains the edges dividing the contour bands.
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
#define VTK_SCALAR_MODE_VALUE
~vtkBandedPolyDataContourFilter() override
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.