provides meta data about arrays. More...
#include <vtkPVArrayInformation.h>


Public Types | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| void | Initialize () |
| Resets to default state. More... | |
| virtual int | GetDataType () |
| Get the type for values in the array e.g. More... | |
| const char * | GetDataTypeAsString () const |
| Returns a printable string for the array value type. More... | |
| std::string | GetRangesAsString (int lowExponent=-6, int highExponent=20) const |
| Returns range as a string. More... | |
| const char * | GetName () const |
| Get array's name. More... | |
| int | GetNumberOfComponents () const |
| Get number of components. More... | |
| const char * | GetComponentName (int component) const |
| Returns the name for a component. More... | |
| virtual vtkTypeInt64 | GetNumberOfTuples () |
| Returns the number of tuples in this array. More... | |
| void | GetDataTypeRange (double range[2]) const |
| This method return the Min and Max possible range of the native data type. More... | |
| void | CopyFromCellAttribute (vtkCellGrid *grid, vtkCellAttribute *attribute) |
| void | CopyFromGenericAttribute (vtkGenericAttribute *array) |
| void | CopyToStream (vtkClientServerStream *) const |
| bool | CopyFromStream (const vtkClientServerStream *) |
| const double * | GetComponentRange (int comp) const VTK_SIZEHINT(2) |
| Returns component range. More... | |
| void | GetComponentRange (int comp, double range[2]) const |
| Returns component range. More... | |
| const double * | GetComponentFiniteRange (int component) const VTK_SIZEHINT(2) |
| Returns the finite range for each component. More... | |
| void | GetComponentFiniteRange (int comp, double range[2]) const |
| Returns the finite range for each component. More... | |
| virtual bool | GetIsPartial () |
| If IsPartial is true, this array is in only some of the parts of a multi-block dataset. More... | |
| int | GetNumberOfInformationKeys () const |
| Get information on the InformationKeys of this array. More... | |
| const char * | GetInformationKeyLocation (int) const |
| Get information on the InformationKeys of this array. More... | |
| const char * | GetInformationKeyName (int) const |
| Get information on the InformationKeys of this array. More... | |
| bool | HasInformationKey (const char *location, const char *name) const |
| Get information on the InformationKeys of this array. More... | |
| int | GetNumberOfStringValues () |
| For string arrays, this returns first few non-empty values. More... | |
| const char * | GetStringValue (int) |
| For string arrays, this returns first few non-empty values. More... | |
| void | CopyFromArray (vtkAbstractArray *array) |
| Copy info from an array. More... | |
| void | CopyFromArray (vtkFieldData *fieldData, int fdArrayIdx) |
| Copy info from an array. More... | |
| void | CopyFromArray (vtkAbstractArray *array, vtkFieldData *fieldData) |
| Copy info from an array. 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 vtkPVArrayInformation * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkPVArrayInformation * | 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 () |
Friends | |
| class | vtkPVDataSetAttributesInformation |
| class | vtkPVDataInformation |
Additional Inherited Members | |
Protected Attributes inherited from vtkObject | |
| bool | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| vtkAtomicInt32 | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
provides meta data about arrays.
vtkPVArrayInformation provides meta-data about individual arrays. It is accessed through vtkPVDataInformation and provides information like ranges, component names, etc. for array present in a dataset.
Definition at line 31 of file vtkPVArrayInformation.h.
Definition at line 35 of file vtkPVArrayInformation.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkObjectBase.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
| void vtkPVArrayInformation::Initialize | ( | ) |
Resets to default state.
|
virtual |
Get the type for values in the array e.g.
VTK_FLOAT, VTK_DOUBLE etc.
|
inline |
Returns a printable string for the array value type.
Definition at line 51 of file vtkPVArrayInformation.h.
| std::string vtkPVArrayInformation::GetRangesAsString | ( | int | lowExponent = -6, |
| int | highExponent = 20 |
||
| ) | const |
Returns range as a string.
For string arrays, this lists string values instead.
|
inline |
Get array's name.
Definition at line 62 of file vtkPVArrayInformation.h.
| int vtkPVArrayInformation::GetNumberOfComponents | ( | ) | const |
Get number of components.
Returns the name for a component.
If none present, a default component name may be returned.
|
virtual |
Returns the number of tuples in this array.
Returns component range.
If component is -1, then the range of the magnitude (L2 norm) over all components will be provided.
Returns invalid range for non-numeric arrays.
Returns component range.
If component is -1, then the range of the magnitude (L2 norm) over all components will be provided.
Returns invalid range for non-numeric arrays.
Returns the finite range for each component.
If component is -1, then the range of the magnitude (L2 norm) over all components will be provided.
Returns invalid range for non-numeric arrays.
Returns the finite range for each component.
If component is -1, then the range of the magnitude (L2 norm) over all components will be provided.
Returns invalid range for non-numeric arrays.
| void vtkPVArrayInformation::GetDataTypeRange | ( | double | range[2] | ) | const |
This method return the Min and Max possible range of the native data type.
For example if a vtkScalars consists of unsigned char data these will return (0,255). Nothing particular for 12bits data is done
|
virtual |
If IsPartial is true, this array is in only some of the parts of a multi-block dataset.
By default, IsPartial is set to 0.
| int vtkPVArrayInformation::GetNumberOfInformationKeys | ( | ) | const |
Get information on the InformationKeys of this array.
Get information on the InformationKeys of this array.
Get information on the InformationKeys of this array.
Get information on the InformationKeys of this array.
| int vtkPVArrayInformation::GetNumberOfStringValues | ( | ) |
For string arrays, this returns first few non-empty values.
For string arrays, this returns first few non-empty values.
| void vtkPVArrayInformation::CopyFromArray | ( | vtkAbstractArray * | array | ) |
Copy info from an array.
Prefer the field data overload when copying from a field data array.
| void vtkPVArrayInformation::CopyFromArray | ( | vtkFieldData * | fieldData, |
| int | fdArrayIdx | ||
| ) |
Copy info from an array.
Prefer the field data overload when copying from a field data array.
| void vtkPVArrayInformation::CopyFromArray | ( | vtkAbstractArray * | array, |
| vtkFieldData * | fieldData | ||
| ) |
Copy info from an array.
Prefer the field data overload when copying from a field data array.
| void vtkPVArrayInformation::CopyFromCellAttribute | ( | vtkCellGrid * | grid, |
| vtkCellAttribute * | attribute | ||
| ) |
| void vtkPVArrayInformation::CopyFromGenericAttribute | ( | vtkGenericAttribute * | array | ) |
| void vtkPVArrayInformation::CopyToStream | ( | vtkClientServerStream * | ) | const |
| bool vtkPVArrayInformation::CopyFromStream | ( | const vtkClientServerStream * | ) |
|
protected |
API for vtkPVDataSetAttributesInformation.
|
protected |
API for vtkPVDataSetAttributesInformation.
|
protectedvirtual |
API for vtkPVDataSetAttributesInformation.
|
protectedvirtual |
|
friend |
Definition at line 159 of file vtkPVArrayInformation.h.
|
friend |
Definition at line 160 of file vtkPVArrayInformation.h.
1.8.13 on Sat Dec 6 2025