30 #ifndef vtkBinCellDataFilter_h 31 #define vtkBinCellDataFilter_h 33 #include "vtkFiltersCoreModule.h" 59 void SetValue(
int i,
double value);
60 double GetValue(
int i);
62 void GetValues(
double *binValues);
63 void SetNumberOfBins(
int numBins);
64 int GetNumberOfBins();
65 void GenerateValues(
int numBins,
double range[2]);
66 void GenerateValues(
int numBins,
double rangeStart,
double rangeEnd);
100 vtkGetMacro(SpatialMatch,
int);
111 vtkGetMacro(StoreNumberOfNonzeroBins,
bool);
120 vtkSetStringMacro(NumberOfNonzeroBinsArrayName)
131 vtkGetMacro(Tolerance,
double);
142 vtkGetMacro(ComputeTolerance,
bool);
150 vtkGetMacro(ArrayComponent,
int);
165 vtkSetClampMacro(CellOverlapMethod,
int,CELL_CENTROID,CELL_POINTS);
166 vtkGetMacro(CellOverlapMethod,
int);
184 bool StoreNumberOfNonzeroBins;
186 bool ComputeTolerance;
188 int CellOverlapMethod;
190 vtkBinValues *BinValues;
194 vtkInformationVector *) VTK_OVERRIDE;
195 int RequestInformation(vtkInformation *, vtkInformationVector **,
196 vtkInformationVector *) VTK_OVERRIDE;
197 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
198 vtkInformationVector *) VTK_OVERRIDE;
200 virtual
void CreateDefaultLocator();
202 char* NumberOfNonzeroBinsArrayName;
214 {this->BinValues->
SetValue(i,value);}
220 {
return this->BinValues->GetValue(i);}
227 {
return this->BinValues->GetValues();}
235 {this->BinValues->GetValues(binValues);}
243 {this->BinValues->SetNumberOfContours(number);}
250 {
return this->BinValues->GetNumberOfContours();}
257 {this->BinValues->GenerateValues(numBins, range);}
264 rangeStart,
double rangeEnd)
265 {this->BinValues->GenerateValues(numBins, rangeStart, rangeEnd);}
helper object to manage setting and generating contour values
Proxy object to connect input/output ports.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bin source cell data into input cells.
octree-based spatial search object to quickly locate cells
double * GetValues()
Get a pointer to an array of bin values.
a simple class to control print indentation
vtkContourValues vtkBinValues
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double GetValue(int i)
Get the ith bin value.
boost::graph_traits< vtkGraph *>::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void GenerateValues(int numBins, double range[2])
Generate numBins equally spaced bin values between specified range.
int GetNumberOfBins()
Get the number of bins in the list of bin values, not counting the overflow bin.
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data
static vtkDataSetAlgorithm * New()
void SetNumberOfBins(int numBins)
Set the number of bins to place into the list.
void SetValue(int i, double value)
Set the ith contour value.