#include <vtkKWHistogram.h>
Collaboration diagram for vtkKWHistogram:
[NOHEADER] | |
virtual int | IsImageUpToDate (const ImageDescriptor *desc=0) |
virtual vtkImageData * | GetImage (ImageDescriptor *desc) |
vtkKWHistogram::ImageDescriptor * | LastImageDescriptor |
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWHistogram, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkIdType | GetNumberOfBins () |
virtual double | GetOccurenceAtValue (double value) |
virtual void | BuildHistogram (vtkDataArray *scalars, int component) |
virtual void | AccumulateHistogram (vtkDataArray *scalars, int component) |
virtual void | EmptyHistogram () |
virtual double * | GetRange () |
virtual void | GetRange (double &, double &) |
virtual void | GetRange (double[2]) |
virtual vtkDoubleArray * | GetBins () |
virtual void | SetMaximumNumberOfBins (vtkIdType) |
virtual vtkIdType | GetMaximumNumberOfBins () |
virtual double | GetMinimumOccurence () |
virtual double | GetMaximumOccurence () |
virtual double | GetTotalOccurence () |
virtual double | GetValueAtAccumulatedOccurence (double acc, double *exclude_value=0) |
virtual void | SetRange (double, double) |
void | SetRange (double[2]) |
virtual void | EstimateHistogramRange (vtkDataArray *scalars, int component, double range[2]) |
virtual void | SetLogMode (int) |
virtual void | LogModeOn () |
virtual void | LogModeOff () |
virtual int | GetLogMode () |
Static Public Member Functions | |
vtkKWHistogram * | New () |
Protected Member Functions | |
vtkKWHistogram () | |
~vtkKWHistogram () | |
virtual void | ComputeStatistics () |
virtual void | UpdateHistogram (vtkDataArray *scalars, int component, int reset_range) |
virtual void | EstimateHistogramRangeAndNumberOfBins (vtkDataArray *scalars, int component, double range[2], vtkIdType *nb_of_bins) |
Protected Attributes | |
double | Range [2] |
vtkDoubleArray * | Bins |
vtkImageData * | Image |
unsigned long | LastImageBuildTime |
unsigned long | LastTransferFunctionTime |
int | LogMode |
vtkIdType | MaximumNumberOfBins |
unsigned long | LastStatisticsBuildTime |
double | MinimumOccurence |
double | MaximumOccurence |
double | TotalOccurence |
|
|
|
|
|
|
|
|
|
|
|
Get the histogram range. Note that Range[1] is exclusive. The Range is updated automatically by the BuildHistogram method to match the range of the vtkDataArray passed as parameter. |
|
Get the histogram range. Note that Range[1] is exclusive. The Range is updated automatically by the BuildHistogram method to match the range of the vtkDataArray passed as parameter. |
|
Get the histogram range. Note that Range[1] is exclusive. The Range is updated automatically by the BuildHistogram method to match the range of the vtkDataArray passed as parameter. |
|
Direct access to the bins |
|
Convenience method to get the number of bins |
|
Set/Get the maximum number of bins that should be used when creating the histogram |
|
Set/Get the maximum number of bins that should be used when creating the histogram |
|
Convenience method to get min, max, total occurence |
|
Convenience method to get min, max, total occurence |
|
Convenience method to get min, max, total occurence |
|
Get the occurence for the bin holding a given value. |
|
Get the value at a given accumulated occurence in the histogram. 'exclude_value' is not NULL, it is a pointer to a value which bin will be ignored from the computation. |
|
Build/update the histogram from scalars (given a component) The Range and number of bins are modified automatically |
|
Set the histogram range. Note that Range[1] is exclusive. The Range is updated automatically by the BuildHistogram method to match the range of the vtkDataArray passed as parameter. Nevertheless, you might want to set the Range manually, either after calling the BuildHistogram method to restrict the histogram to a subset, or before calling the AccumulateHistogram method, which accumulates values and update the histogram. Use the EstimateHistogramRange method to compute the range that is needed to store a set of scalars. |
|
Set the histogram range. Note that Range[1] is exclusive. The Range is updated automatically by the BuildHistogram method to match the range of the vtkDataArray passed as parameter. Nevertheless, you might want to set the Range manually, either after calling the BuildHistogram method to restrict the histogram to a subset, or before calling the AccumulateHistogram method, which accumulates values and update the histogram. Use the EstimateHistogramRange method to compute the range that is needed to store a set of scalars. |
|
Estimate the range that will be used by BuildHistogram from scalars (given a component) |
|
Accumulate the histogram from scalars (given a component) The Range is *not* modified automatically, you have to set it appropriately before calling this method using either: - a call to SetRange followed by a call to EmptyHistogram (use the EstimateHistogramRange method to compute the range that is needed to store a set of scalars)
|
|
Empty this histogram (0 bins). The next time the number of bins is changed (BuildHistogram or AccumulateHistogram), each bin is set to 0. |
|
Compute the image of the histogram in log space (default). |
|
Compute the image of the histogram in log space (default). |
|
Compute the image of the histogram in log space (default). |
|
Compute the image of the histogram in log space (default). |
|
|
|
Update the histogram from scalars (given a component) Either reset the range (BuildHistogram) or not (AccumulateHistogram) |
|
Estimate the range that will be used by BuildHistogram from scalars (given a component), and the number of bins |
|
|
|
|
|
Definition at line 130 of file vtkKWHistogram.h. |
|
Definition at line 132 of file vtkKWHistogram.h. |
|
Definition at line 134 of file vtkKWHistogram.h. |
|
Definition at line 135 of file vtkKWHistogram.h. |
|
Definition at line 136 of file vtkKWHistogram.h. |
|
Definition at line 137 of file vtkKWHistogram.h. |
|
Definition at line 138 of file vtkKWHistogram.h. |
|
Definition at line 141 of file vtkKWHistogram.h. |
|
Definition at line 143 of file vtkKWHistogram.h. |
|
Definition at line 144 of file vtkKWHistogram.h. |
|
Definition at line 145 of file vtkKWHistogram.h. |
|
Definition at line 235 of file vtkKWHistogram.h. |