33 #ifndef vtkBinCellDataFilter_h 
   34 #define vtkBinCellDataFilter_h 
   36 #include "vtkFiltersCoreModule.h"  
   62   void SetValue(
int i, 
double value);
 
   63   double GetValue(
int i);
 
   65   void GetValues(
double *binValues);
 
   66   void SetNumberOfBins(
int numBins);
 
   67   int GetNumberOfBins();
 
   68   void GenerateValues(
int numBins, 
double range[2]);
 
   69   void GenerateValues(
int numBins, 
double rangeStart, 
double rangeEnd);
 
  103   vtkGetMacro(SpatialMatch, 
int);
 
  114   vtkGetMacro(StoreNumberOfNonzeroBins, 
bool);
 
  123   vtkSetStringMacro(NumberOfNonzeroBinsArrayName)
 
  134   vtkGetMacro(Tolerance, 
double);
 
  145   vtkGetMacro(ComputeTolerance, 
bool);
 
  153   vtkGetMacro(ArrayComponent,
int);
 
  168   vtkSetClampMacro(CellOverlapMethod,
int,CELL_CENTROID,CELL_POINTS);
 
  169   vtkGetMacro(CellOverlapMethod, 
int);
 
  187   bool StoreNumberOfNonzeroBins;
 
  189   bool ComputeTolerance;
 
  191   int CellOverlapMethod;
 
  193   vtkBinValues *BinValues;
 
  197                   vtkInformationVector *) VTK_OVERRIDE;
 
  198   int RequestInformation(vtkInformation *, vtkInformationVector **,
 
  199                          vtkInformationVector *) VTK_OVERRIDE;
 
  200   int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
 
  201                           vtkInformationVector *) VTK_OVERRIDE;
 
  203   virtual 
void CreateDefaultLocator();
 
  205   char* NumberOfNonzeroBinsArrayName;
 
  217 {this->BinValues->
SetValue(i,value);}
 
  223 {
return this->BinValues->GetValue(i);}
 
  230 {
return this->BinValues->GetValues();}
 
  238 {this->BinValues->GetValues(binValues);}
 
  246 {this->BinValues->SetNumberOfContours(number);}
 
  253 {
return this->BinValues->GetNumberOfContours();}
 
  260 {this->BinValues->GenerateValues(numBins, range);}
 
  267                                                  rangeStart, 
double rangeEnd)
 
  268 {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.