Prominent values a data array takes on. More...
#include <vtkPVProminentValuesInformation.h>
Public Types | |
typedef vtkPVInformation | Superclass |
Public Types inherited from vtkPVInformation | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
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 nullptr (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 | SetSubsetAssemblyName (const char *) |
Set/get subset assembly's name. More... | |
virtual char * | GetSubsetAssemblyName () |
Set/get subset assembly's name. More... | |
virtual void | SetSubsetSelector (const char *) |
Set/get subset selector's name. More... | |
virtual char * | GetSubsetSelector () |
Set/get subset selector's name. 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 | SetForce (bool) |
Set/get the force flag that will be used when recovering the prominents values. More... | |
virtual bool | GetForce () |
Set/get the force flag that will be used when recovering the prominents values. More... | |
virtual bool | GetValid () |
Get the validity of the information. More... | |
int | Compare (vtkPVProminentValuesInformation *info) |
Returns 1 if the array can be combined. More... | |
void | DeepCopy (vtkPVProminentValuesInformation *other) |
Copy information from an other object. More... | |
void | CopyFromObject (vtkObject *) override |
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... | |
void | AddInformation (vtkPVInformation *other) override |
Merge another information object. More... | |
void | CopyToStream (vtkClientServerStream *) override |
Manage a serialized version of the information. More... | |
void | CopyFromStream (const vtkClientServerStream *) override |
Set/get the force flag that will be used when recovering the prominents values. More... | |
void | CopyParametersToStream (vtkMultiProcessStream &) override |
Push/pop parameters controlling which array to sample onto/off of the stream. More... | |
void | CopyParametersFromStream (vtkMultiProcessStream &) override |
Push/pop parameters controlling which array to sample onto/off of the stream. More... | |
Public Member Functions inherited from vtkPVInformation | |
virtual int | GetRootOnly () |
Set/get whether to gather information only from the root. More... | |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual vtkMTimeType | GetMTime () |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
Static Public Member Functions | |
static vtkPVProminentValuesInformation * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVProminentValuesInformation * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkPVInformation | |
static int | IsTypeOf (const char *type) |
static vtkPVInformation * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
static vtkObjectBase * | New () |
Protected Attributes | |
int | PortNumber |
Information parameters. More... | |
char * | SubsetAssemblyName |
Information parameters. More... | |
char * | SubsetSelector |
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... | |
bool | Force |
Information parameters. More... | |
bool | Valid |
Information parameters. More... | |
vtkInternalDistinctValues * | DistinctValues |
Protected Attributes inherited from vtkPVInformation | |
int | RootOnly |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
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 32 of file vtkPVProminentValuesInformation.h.
Definition at line 36 of file vtkPVProminentValuesInformation.h.
|
protected |
|
overrideprotected |
|
protecteddelete |
|
static |
|
virtual |
Reimplemented from vtkPVInformation.
Reimplemented from vtkPVInformation.
|
static |
|
overridevirtual |
Reimplemented from vtkPVInformation.
|
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 subset assembly's name.
|
virtual |
Set/get subset assembly's name.
|
virtual |
Set/get subset selector's name.
|
virtual |
Set/get subset selector's name.
|
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.
|
virtual |
Set/get the force flag that will be used when recovering the prominents values.
If not set, a maximum of vtkAbstractArray::MAX_DISCRETE_VALUES (32) values will be recovered, if there is more, none will be recovered and the information will be considered invalid. If the force flag is set, there is no maximum number of prominent values recovered and the information should be valid even with a high number of prominent values.
|
virtual |
Set/get the force flag that will be used when recovering the prominents values.
If not set, a maximum of vtkAbstractArray::MAX_DISCRETE_VALUES (32) values will be recovered, if there is more, none will be recovered and the information will be considered invalid. If the force flag is set, there is no maximum number of prominent values recovered and the information should be valid even with a high number of prominent values.
|
virtual |
Get the validity of the information.
The flag has a meaning after trying to recover prominent values, if true, the data can be used, if false, this information should be considered invalid.
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.
|
overridevirtual |
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.
|
overridevirtual |
Merge another information object.
Reimplemented from vtkPVInformation.
|
overridevirtual |
Manage a serialized version of the information.
Implements vtkPVInformation.
|
overridevirtual |
Set/get the force flag that will be used when recovering the prominents values.
If not set, a maximum of vtkAbstractArray::MAX_DISCRETE_VALUES (32) values will be recovered, if there is more, none will be recovered and the information will be considered invalid. If the force flag is set, there is no maximum number of prominent values recovered and the information should be valid even with a high number of prominent values.
Reimplemented from vtkPVInformation.
|
overridevirtual |
Push/pop parameters controlling which array to sample onto/off of the stream.
Reimplemented from vtkPVInformation.
|
overridevirtual |
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 nullptr (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 |
|
protecteddelete |
|
protected |
Information parameters.
Definition at line 212 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 213 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 214 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 215 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 216 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 217 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 218 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 219 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 220 of file vtkPVProminentValuesInformation.h.
|
protected |
Information parameters.
Definition at line 221 of file vtkPVProminentValuesInformation.h.
|
protected |
Definition at line 227 of file vtkPVProminentValuesInformation.h.