ParaView
|
Prominent values a data array takes on. More...
#include <vtkPVProminentValuesInformation.h>
Public Types | |
typedef vtkPVInformation | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | Compare (vtkPVProminentValuesInformation *info) |
Returns 1 if the array can be combined. More... | |
void | DeepCopy (vtkPVProminentValuesInformation *other) |
Copy information from an other object. More... | |
virtual void | CopyFromObject (vtkObject *) |
Transfer information about a single object into this object. More... | |
virtual void | CopyDistinctValuesFromObject (vtkAbstractArray *) |
Transfer information about a single vtkAbstractArray's prominent values into this object. More... | |
virtual void | AddInformation (vtkPVInformation *other) |
Merge another information object. More... | |
void | InitializeParameters () |
Remove all parameter information. More... | |
void | Initialize () |
Remove all gathered information (but not parameters). More... | |
void | AddDistinctValues (vtkPVProminentValuesInformation *) |
Merge another list of prominent values. More... | |
vtkAbstractArray * | GetProminentComponentValues (int component) |
Returns either NULL (array component appears to be continuous) or a pointer to a vtkAbstractArray (array component appears to be discrete) containing a sorted list of all distinct prominent values encountered in the array component. More... | |
virtual void | SetPortNumber (int) |
Set/get the output port whose dataset should be queried. More... | |
virtual int | GetPortNumber () |
Set/get the output port whose dataset should be queried. More... | |
virtual void | SetFieldAssociation (const char *) |
Set/get array's association. More... | |
virtual char * | GetFieldAssociation () |
Set/get array's association. More... | |
virtual void | SetFieldName (const char *) |
Set/get array's name. More... | |
virtual char * | GetFieldName () |
Set/get array's name. More... | |
void | SetNumberOfComponents (int numComps) |
Changing the number of components clears the ranges back to the default. More... | |
virtual int | GetNumberOfComponents () |
Changing the number of components clears the ranges back to the default. More... | |
virtual void | SetFraction (double) |
Set/get the minimum fraction of the array that should be composed of a value (between 0 and 1) in order for it to be considered prominent. More... | |
virtual double | GetFraction () |
Set/get the minimum fraction of the array that should be composed of a value (between 0 and 1) in order for it to be considered prominent. More... | |
virtual void | SetUncertainty (double) |
Set/get the maximum uncertainty allowed in the detection of prominent values. More... | |
virtual double | GetUncertainty () |
Set/get the maximum uncertainty allowed in the detection of prominent values. More... | |
virtual void | CopyToStream (vtkClientServerStream *) |
Manage a serialized version of the information. More... | |
virtual void | CopyFromStream (const vtkClientServerStream *) |
Manage a serialized version of the information. More... | |
virtual void | CopyParametersToStream (vtkMultiProcessStream &) |
Push/pop parameters controlling which array to sample onto/off of the stream. More... | |
virtual void | CopyParametersFromStream (vtkMultiProcessStream &) |
Push/pop parameters controlling which array to sample onto/off of the stream. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | GetRootOnly () |
Set/get whether to gather information only from the root. More... | |
Static Public Member Functions | |
static vtkPVProminentValuesInformation * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVProminentValuesInformation * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPVInformation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPVProminentValuesInformation () | |
~vtkPVProminentValuesInformation () | |
void | DeepCopyParameters (vtkPVProminentValuesInformation *other) |
void | CopyFromCompositeDataSet (vtkCompositeDataSet *) |
void | CopyFromLeafDataObject (vtkDataObject *) |
vtkPVProminentValuesInformation (const vtkPVProminentValuesInformation &) VTK_DELETE_FUNCTION | |
void | operator= (const vtkPVProminentValuesInformation &) VTK_DELETE_FUNCTION |
![]() | |
vtkPVInformation () | |
~vtkPVInformation () | |
virtual void | SetRootOnly (int) |
vtkPVInformation (const vtkPVInformation &) VTK_DELETE_FUNCTION | |
void | operator= (const vtkPVInformation &) VTK_DELETE_FUNCTION |
Protected Attributes | |
int | PortNumber |
Information parameters. More... | |
int | NumberOfComponents |
Information parameters. More... | |
char * | FieldName |
Information parameters. More... | |
char * | FieldAssociation |
Information parameters. More... | |
double | Fraction |
Information parameters. More... | |
double | Uncertainty |
Information parameters. More... | |
vtkInternalDistinctValues * | DistinctValues |
![]() | |
int | RootOnly |
Prominent values a data array takes on.
This vtkPVInformation subclass provides a way for clients to discover whether a specific remote vtkAbstractArray instance behaves like a discrete set or a continuum (for each component of its tuples as well as for its tuples as a whole).
If the array behaves discretely (which we define to be: takes on fewer than 33 distinct values over more than 99.9% of its entries to within a given confidence that dictates the number of samples required), then the prominent values are also made available.
This class uses vtkAbstractArray::GetProminentComponentValues().
Definition at line 45 of file vtkPVProminentValuesInformation.h.
Definition at line 50 of file vtkPVProminentValuesInformation.h.
|
protected |
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPVInformation.
|
static |
|
virtual |
Reimplemented from vtkPVInformation.
|
static |
void vtkPVProminentValuesInformation::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set/get the output port whose dataset should be queried.
|
virtual |
Set/get the output port whose dataset should be queried.
|
virtual |
Set/get array's association.
|
virtual |
Set/get array's association.
|
virtual |
Set/get array's name.
|
virtual |
Set/get array's name.
void vtkPVProminentValuesInformation::SetNumberOfComponents | ( | int | numComps | ) |
Changing the number of components clears the ranges back to the default.
|
virtual |
Changing the number of components clears the ranges back to the default.
|
virtual |
Set/get the minimum fraction of the array that should be composed of a value (between 0 and 1) in order for it to be considered prominent.
Setting this to one indicates that an array must have every value be identical in order to have any considered prominent.
|
virtual |
Set/get the minimum fraction of the array that should be composed of a value (between 0 and 1) in order for it to be considered prominent.
Setting this to one indicates that an array must have every value be identical in order to have any considered prominent.
|
virtual |
Set/get the maximum uncertainty allowed in the detection of prominent values.
The uncertainty is the probability of prominent values going undetected. Setting this to zero forces the entire array to be inspected.
|
virtual |
Set/get the maximum uncertainty allowed in the detection of prominent values.
The uncertainty is the probability of prominent values going undetected. Setting this to zero forces the entire array to be inspected.
int vtkPVProminentValuesInformation::Compare | ( | vtkPVProminentValuesInformation * | info | ) |
Returns 1 if the array can be combined.
It must have the same name and number of components.
void vtkPVProminentValuesInformation::DeepCopy | ( | vtkPVProminentValuesInformation * | other | ) |
Copy information from an other object.
|
virtual |
Transfer information about a single object into this object.
Reimplemented from vtkPVInformation.
|
virtual |
Transfer information about a single vtkAbstractArray's prominent values into this object.
This is called after CopyFromObject has determined the number of components available; this method relies on this->NumberOfComponents being valid.
|
virtual |
Merge another information object.
Reimplemented from vtkPVInformation.
|
virtual |
Manage a serialized version of the information.
Implements vtkPVInformation.
|
virtual |
Manage a serialized version of the information.
Reimplemented from vtkPVInformation.
|
virtual |
Push/pop parameters controlling which array to sample onto/off of the stream.
Reimplemented from vtkPVInformation.
|
virtual |
Push/pop parameters controlling which array to sample onto/off of the stream.
Reimplemented from vtkPVInformation.
void vtkPVProminentValuesInformation::InitializeParameters | ( | ) |
Remove all parameter information.
You must copy/set parameter values before adding data or copying data from an object.
void vtkPVProminentValuesInformation::Initialize | ( | ) |
Remove all gathered information (but not parameters).
Next add will behave like a copy.
void vtkPVProminentValuesInformation::AddDistinctValues | ( | vtkPVProminentValuesInformation * | ) |
Merge another list of prominent values.
vtkAbstractArray* vtkPVProminentValuesInformation::GetProminentComponentValues | ( | int | component | ) |
Returns either NULL (array component appears to be continuous) or a pointer to a vtkAbstractArray (array component appears to be discrete) containing a sorted list of all distinct prominent values encountered in the array component.
Passing -1 as the component will return information about distinct tuple values as opposed to distinct component values.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Information parameters.
Definition at line 190 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 191 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 192 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 193 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 194 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 195 of file vtkPVProminentValuesInformation.h.
|
protected |
Definition at line 201 of file vtkPVProminentValuesInformation.h.