46 #ifndef __vtkBandedPolyDataContourFilter_h
47 #define __vtkBandedPolyDataContourFilter_h
49 #include "vtkFiltersModelingModule.h"
50 #include "vtkPolyDataAlgorithm.h"
52 #include "vtkContourValues.h"
61 #define VTK_SCALAR_MODE_INDEX 0
62 #define VTK_SCALAR_MODE_VALUE 1
68 void PrintSelf(ostream& os, vtkIndent indent);
78 void SetValue(
int i,
double value);
79 double GetValue(
int i);
81 void GetValues(
double *contourValues);
82 void SetNumberOfContours(
int number);
83 int GetNumberOfContours();
84 void GenerateValues(
int numContours,
double range[2]);
85 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
93 vtkSetMacro(Clipping,
int);
94 vtkGetMacro(Clipping,
int);
95 vtkBooleanMacro(Clipping,
int);
104 vtkGetMacro(ScalarMode,
int);
116 vtkSetMacro(GenerateContourEdges,
int);
117 vtkGetMacro(GenerateContourEdges,
int);
118 vtkBooleanMacro(GenerateContourEdges,
int);
123 vtkPolyData *GetContourEdgesOutput();
127 unsigned long GetMTime();
133 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
135 int ComputeScalarIndex(
double);
136 int IsContourValue(
double val);
137 int ClipEdge(
int v1,
int v2, vtkPoints *pts, vtkDataArray *inScalars,
138 vtkDoubleArray *outScalars,
139 vtkPointData *inPD, vtkPointData *outPD);
140 int InsertCell(vtkCellArray *cells,
int npts, vtkIdType *pts,
141 int cellId,
double s, vtkFloatArray *newS);
219 {this->
ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
vtkContourValues * ContourValues
generate filled contours for vtkPolyData
void SetNumberOfContours(int number)
void SetValue(int i, double value)
#define VTK_SCALAR_MODE_VALUE
void GenerateValues(int numContours, double range[2])
#define VTK_SCALAR_MODE_INDEX
void SetScalarModeToValue()
void SetScalarModeToIndex()
int GetNumberOfContours()