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);
200 virtual void CreateDefaultLocator();
221 {this->BinValues->SetValue(i,value);}
227 {
return this->BinValues->GetValue(i);}
234 {
return this->BinValues->GetValues();}
242 {this->BinValues->GetValues(binValues);}
250 {this->BinValues->SetNumberOfContours(number);}
257 {
return this->BinValues->GetNumberOfContours();}
264 {this->BinValues->GenerateValues(numBins, range);}
271 rangeStart,
double rangeEnd)
272 {this->BinValues->GenerateValues(numBins, rangeStart, rangeEnd);}
helper object to manage setting and generating contour values
vtkAbstractCellLocator * CellLocator
an abstract base class for locators which find cells
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.
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.
char * NumberOfNonzeroBinsArrayName
double GetValue(int i)
Get the ith bin value.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
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 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.
general representation of visualization data
static vtkDataSetAlgorithm * New()
void SetNumberOfBins(int numBins)
Set the number of bins to place into the list.