21 #ifndef vtkBinCellDataFilter_h
22 #define vtkBinCellDataFilter_h
26 #include "vtkFiltersCoreModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
56 void SetValue(
int i,
double value);
57 double GetValue(
int i);
59 void GetValues(
double* binValues);
60 void SetNumberOfBins(
int numBins);
62 void GenerateValues(
int numBins,
double range[2]);
63 void GenerateValues(
int numBins,
double rangeStart,
double rangeEnd);
106 vtkSetMacro(StoreNumberOfNonzeroBins,
bool);
107 vtkBooleanMacro(StoreNumberOfNonzeroBins,
bool);
108 vtkGetMacro(StoreNumberOfNonzeroBins,
bool);
117 vtkSetStringMacro(NumberOfNonzeroBinsArrayName);
118 vtkGetStringMacro(NumberOfNonzeroBinsArrayName);
127 vtkSetMacro(Tolerance,
double);
128 vtkGetMacro(Tolerance,
double);
137 vtkSetMacro(ComputeTolerance,
bool);
138 vtkBooleanMacro(ComputeTolerance,
bool);
139 vtkGetMacro(ComputeTolerance,
bool);
146 vtkSetMacro(ArrayComponent,
int);
147 vtkGetMacro(ArrayComponent,
int);
162 vtkSetClampMacro(CellOverlapMethod,
int, CELL_CENTROID, CELL_POINTS);
163 vtkGetMacro(CellOverlapMethod,
int);
189 virtual void CreateDefaultLocator();
275 VTK_ABI_NAMESPACE_END
helper object to manage setting and generating contour values
vtkAbstractCellLocator * CellLocator
an abstract base class for locators which find cells
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.
Proxy object to connect input/output ports.
bool StoreNumberOfNonzeroBins
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double * GetValues()
Return a pointer to a list of contour values.
bin source cell data into input cells.
double * GetValues()
Get a pointer to an array of bin values.
a simple class to control print indentation
vtkContourValues vtkBinValues
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
char * NumberOfNonzeroBinsArrayName
double GetValue(int i)
Get the ith bin value.
vtkIdType GetNumberOfBins()
Get the number of bins in the list of bin values, not counting the overflow bin.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
void GenerateValues(int numBins, double range[2])
Generate numBins equally spaced bin values between specified range.
void SetValue(int i, double value)
Methods to set / get bin values.
int GetNumberOfContours()
Return the number of contours in the.
Superclass for algorithms that produce output of the same type as input.
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.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.