27 #ifndef vtkExtractHistogram_h 28 #define vtkExtractHistogram_h 30 #include "vtkPVVTKExtensionsDefaultModule.h" 31 #include "vtkTableAlgorithm.h" 36 struct vtkEHInternals;
43 void PrintSelf(ostream& os, vtkIndent indent);
50 vtkSetClampMacro(Component,
int, 0, VTK_INT_MAX);
51 vtkGetMacro(Component,
int);
58 vtkSetClampMacro(BinCount,
int, 1, VTK_INT_MAX);
59 vtkGetMacro(BinCount,
int);
67 vtkSetVector2Macro(CustomBinRanges,
double);
68 vtkGetVector2Macro(CustomBinRanges,
double);
76 vtkSetMacro(UseCustomBinRanges,
bool);
77 vtkGetMacro(UseCustomBinRanges,
bool);
78 vtkBooleanMacro(UseCustomBinRanges,
bool);
87 vtkSetMacro(CalculateAverages,
int);
88 vtkGetMacro(CalculateAverages,
int);
89 vtkBooleanMacro(CalculateAverages,
int);
103 virtual bool GetInputArrayRange(vtkInformationVector** inputVector,
double range[2]);
105 virtual int FillInputPortInformation(
int port, vtkInformation* info);
107 virtual int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
108 vtkInformationVector* outputVector);
112 virtual bool InitializeBinExtents(
113 vtkInformationVector** inputVector, vtkDoubleArray* bin_extents,
double& min,
double& max);
116 vtkDataArray* src, vtkIntArray* vals,
double min,
double max, vtkFieldData* field);
118 void FillBinExtents(vtkDoubleArray* bin_extents,
double min,
double max);
120 double CustomBinRanges[2];
132 int GetInputFieldAssociation();
133 vtkFieldData* GetInputFieldData(vtkDataObject* input);