12 #ifndef vtkPVExtractHistogram2D_h 13 #define vtkPVExtractHistogram2D_h 55 vtkSetMacro(Component0,
int);
56 vtkGetMacro(Component0,
int);
57 vtkSetMacro(Component1,
int);
58 vtkGetMacro(Component1,
int);
59 void SetComponent(
int id,
int val) { (
id == 0) ? SetComponent0(val) : SetComponent1(val); }
60 int GetComponent(
int id) {
return ((
id == 0) ? GetComponent0() : GetComponent1()); }
67 vtkSetVector2Macro(NumberOfBins,
int);
68 vtkGetVector2Macro(NumberOfBins,
int);
75 vtkSetVector2Macro(CustomBinRanges0,
double);
76 vtkGetVector2Macro(CustomBinRanges0,
double);
77 vtkSetVector2Macro(CustomBinRanges1,
double);
78 vtkGetVector2Macro(CustomBinRanges1,
double);
79 vtkSetMacro(UseCustomBinRanges0,
bool);
80 vtkGetMacro(UseCustomBinRanges0,
bool);
81 vtkBooleanMacro(UseCustomBinRanges0,
bool);
82 vtkSetMacro(UseCustomBinRanges1,
bool);
83 vtkGetMacro(UseCustomBinRanges1,
bool);
84 vtkBooleanMacro(UseCustomBinRanges1,
bool);
91 vtkSetMacro(UseGradientForYAxis,
bool);
92 vtkGetMacro(UseGradientForYAxis,
bool);
93 vtkBooleanMacro(UseGradientForYAxis,
bool);
104 vtkSetMacro(UseInputRangesForOutputBounds,
bool);
105 vtkGetMacro(UseInputRangesForOutputBounds,
bool);
106 vtkBooleanMacro(UseInputRangesForOutputBounds,
bool);
115 vtkSetVector2Macro(OutputOrigin,
double);
116 vtkGetVector2Macro(OutputOrigin,
double);
117 vtkSetVector2Macro(OutputSpacing,
double);
118 vtkGetVector2Macro(OutputSpacing,
double);
140 int NumberOfBins[2] = { 256, 256 };
141 bool UseGradientForYAxis =
false;
143 double CustomBinRanges0[2];
144 double CustomBinRanges1[2];
145 bool UseCustomBinRanges0 =
false;
146 bool UseCustomBinRanges1 =
false;
148 bool UseInputRangesForOutputBounds =
true;
149 double OutputOrigin[2] = { 0.0, 0.0 };
150 double OutputSpacing[2] = { 1.0, 1.0 };
153 int ComponentIndexCache[2];
157 double ComponentRangeCache[2][2];
159 void InitializeCache();
162 void ComputeComponentRange();
169 #endif // vtkPVExtractHistogram2D_h
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKPVVTKEXTENSIONSMISC_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)