Go to the documentation of this file.
33 #ifndef vtkBinCellDataFilter_h
34 #define vtkBinCellDataFilter_h
36 #include "vtkFiltersCoreModule.h"
67 void SetValue(
int i,
double value);
68 double GetValue(
int i);
70 void GetValues(
double *binValues);
71 void SetNumberOfBins(
int numBins);
72 int GetNumberOfBins();
73 void GenerateValues(
int numBins,
double range[2]);
74 void GenerateValues(
int numBins,
double rangeStart,
double rangeEnd);
117 vtkSetMacro(StoreNumberOfNonzeroBins,
bool);
118 vtkBooleanMacro(StoreNumberOfNonzeroBins,
bool);
119 vtkGetMacro(StoreNumberOfNonzeroBins,
bool);
128 vtkSetStringMacro(NumberOfNonzeroBinsArrayName)
129 vtkGetStringMacro(NumberOfNonzeroBinsArrayName)
138 vtkSetMacro(Tolerance,
double);
139 vtkGetMacro(Tolerance,
double);
148 vtkSetMacro(ComputeTolerance,
bool);
149 vtkBooleanMacro(ComputeTolerance,
bool);
150 vtkGetMacro(ComputeTolerance,
bool);
157 vtkSetMacro(ArrayComponent,
int);
158 vtkGetMacro(ArrayComponent,
int);
173 vtkSetClampMacro(CellOverlapMethod,
int,CELL_CENTROID,CELL_POINTS);
174 vtkGetMacro(CellOverlapMethod,
int);
271 rangeStart,
double rangeEnd)
~vtkBinCellDataFilter() override
vtkAbstractCellLocator * CellLocator
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the data set whose cells will be counted.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkContourValues vtkBinValues
double * GetValues()
Return a pointer to a list of contour values.
int GetNumberOfContours()
Return the number of contours in the.
virtual void SetCellLocator(vtkAbstractCellLocator *cellLocator)
Set/Get a spatial locator for speeding the search process.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
void SetValue(int i, double value)
Methods to set / get bin values.
int GetNumberOfBins()
Get the number of bins in the list of bin values, not counting the overflow bin.
void GenerateValues(int numBins, double range[2])
Generate numBins equally spaced bin values between specified range.
bool StoreNumberOfNonzeroBins
void SetSourceData(vtkDataObject *source)
Specify the data set whose cells will be counted.
static vtkBinCellDataFilter * New()
Construct object with initial range (VTK_DOUBLE_MIN, VTK_DOUBLE_MAX) and a single bin.
vtkDataObject * GetSource()
virtual void CreateDefaultLocator()
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Superclass for algorithms that produce output of the same type as input.
double * GetValues()
Get a pointer to an array of bin values.
double GetValue(int i)
Get the ith bin value.
helper object to manage setting and generating contour values
a simple class to control print indentation
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.
void SetValue(int i, double value)
Set the ith contour value.
char * NumberOfNonzeroBinsArrayName
an abstract base class for locators which find cells
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
Proxy object to connect input/output ports.
general representation of visualization data
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
void SetNumberOfBins(int numBins)
Set the number of bins to place into the list.
bin source cell data into input cells.