Data array information like type. More...
#include <vtkPVArrayInformation.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 | SetComponentName (vtkIdType component, const char *name) |
Set the name for a component. More... | |
const char * | GetComponentName (vtkIdType component) |
Get the component name for a given component. More... | |
void | GetDataTypeRange (double range[2]) |
This method return the Min and Max possible range of the native data type. More... | |
int | Compare (vtkPVArrayInformation *info) |
Returns 1 if the array can be combined. More... | |
void | DeepCopy (vtkPVArrayInformation *info) |
void | CopyFromObject (vtkObject *) override |
Transfer information about a single object into this object. More... | |
void | AddInformation (vtkPVInformation *) override |
Merge another information object. More... | |
void | Initialize () |
Remove all infommation. More... | |
virtual void | SetDataType (int) |
DataType is the string name of the data type: VTK_FLOAT ... More... | |
virtual int | GetDataType () |
DataType is the string name of the data type: VTK_FLOAT ... More... | |
virtual void | SetName (const char *) |
Set/get array's name. More... | |
virtual char * | GetName () |
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 | SetNumberOfTuples (vtkTypeInt64) |
Set/get the array's length. More... | |
virtual vtkTypeInt64 | GetNumberOfTuples () |
Set/get the array's length. More... | |
void | SetComponentRange (int comp, double min, double max) |
There is a range for each component. More... | |
void | SetComponentRange (int comp, double *range) |
There is a range for each component. More... | |
double * | GetComponentRange (int component) VTK_SIZEHINT(2) |
There is a range for each component. More... | |
void | GetComponentRange (int comp, double range[2]) |
There is a range for each component. More... | |
void | SetComponentFiniteRange (int comp, double min, double max) |
There is a range for each component. More... | |
void | SetComponentFiniteRange (int comp, double *range) |
There is a range for each component. More... | |
double * | GetComponentFiniteRange (int component) |
There is a range for each component. More... | |
void | GetComponentFiniteRange (int comp, double range[2]) |
There is a range for each component. More... | |
void | CopyToStream (vtkClientServerStream *) override |
Manage a serialized version of the information. More... | |
void | CopyFromStream (const vtkClientServerStream *) override |
Manage a serialized version of the information. More... | |
virtual void | SetIsPartial (int) |
If IsPartial is true, this array is in only some of the parts of a multi-block dataset. More... | |
virtual int | GetIsPartial () |
If IsPartial is true, this array is in only some of the parts of a multi-block dataset. More... | |
void | AddInformationKeys (vtkPVArrayInformation *info) |
Merge (union) keys into this object. More... | |
void | AddInformationKey (const char *location, const char *name) |
Merge (union) keys into this object. More... | |
void | AddUniqueInformationKey (const char *location, const char *name) |
Merge (union) keys into this object. More... | |
int | GetNumberOfInformationKeys () |
Get information on the InformationKeys of this array. More... | |
const char * | GetInformationKeyLocation (int) |
Get information on the InformationKeys of this array. More... | |
const char * | GetInformationKeyName (int) |
Get information on the InformationKeys of this array. More... | |
int | HasInformationKey (const char *location, const char *name) |
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... | |
Public Member Functions inherited from vtkPVInformation | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | CopyParametersToStream (vtkMultiProcessStream &) |
Serialize/Deserialize the parameters that control how/what information is gathered. More... | |
virtual void | CopyParametersFromStream (vtkMultiProcessStream &) |
Serialize/Deserialize the parameters that control how/what information is gathered. More... | |
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 vtkPVArrayInformation * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVArrayInformation * | 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 | IsPartial |
int | DataType |
int | NumberOfComponents |
vtkTypeInt64 | NumberOfTuples |
char * | Name |
double * | Ranges |
double * | FiniteRanges |
std::vector< std::string > | StringValues |
vtkInternalInformationKeys * | InformationKeys |
std::string * | DefaultComponentName |
vtkInternalComponentNames * | ComponentNames |
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 |
Data array information like type.
This objects is for eliminating direct access to vtkDataObjects by the "client". Only vtkPVPart and vtkPVProcessModule should access the data directly. At the moment, this object is only a container and has no useful methods for operating on data. Note: I could just use vtkDataArray objects and store the range as values in the array. This would eliminate this object.
Definition at line 40 of file vtkPVArrayInformation.h.
Definition at line 44 of file vtkPVArrayInformation.h.
|
protected |
|
overrideprotected |
|
protecteddelete |
|
static |
|
virtual |
Reimplemented from vtkPVInformation.
Reimplemented in vtkPVGenericAttributeInformation.
Reimplemented from vtkPVInformation.
Reimplemented in vtkPVGenericAttributeInformation.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
Reimplemented in vtkPVGenericAttributeInformation.
|
virtual |
DataType is the string name of the data type: VTK_FLOAT ...
the value "VTK_VOID" means that different processes have different types.
|
virtual |
DataType is the string name of the data type: VTK_FLOAT ...
the value "VTK_VOID" means that different processes have different types.
|
virtual |
Set/get array's name.
|
virtual |
Set/get array's name.
void vtkPVArrayInformation::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.
Set the name for a component.
Must be >= 1.
Get the component name for a given component.
Note: the const char* that is returned is only valid intill the next call to this method!
|
virtual |
Set/get the array's length.
|
virtual |
Set/get the array's length.
There is a range for each component.
Range for component -1 is the range of the vector magnitude. The number of components should be set before these ranges.
There is a range for each component.
Range for component -1 is the range of the vector magnitude. The number of components should be set before these ranges.
Definition at line 99 of file vtkPVArrayInformation.h.
There is a range for each component.
Range for component -1 is the range of the vector magnitude. The number of components should be set before these ranges.
There is a range for each component.
Range for component -1 is the range of the vector magnitude. The number of components should be set before these ranges.
There is a range for each component.
Range for component -1 is the range of the vector magnitude. The number of components should be set before these ranges.
There is a range for each component.
Range for component -1 is the range of the vector magnitude. The number of components should be set before these ranges.
Definition at line 114 of file vtkPVArrayInformation.h.
There is a range for each component.
Range for component -1 is the range of the vector magnitude. The number of components should be set before these ranges.
There is a range for each component.
Range for component -1 is the range of the vector magnitude. The number of components should be set before these ranges.
void vtkPVArrayInformation::GetDataTypeRange | ( | double | range[2] | ) |
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
int vtkPVArrayInformation::Compare | ( | vtkPVArrayInformation * | info | ) |
Returns 1 if the array can be combined.
It must have the same name and number of components.
void vtkPVArrayInformation::DeepCopy | ( | vtkPVArrayInformation * | info | ) |
|
overridevirtual |
Transfer information about a single object into this object.
Reimplemented from vtkPVInformation.
Reimplemented in vtkPVGenericAttributeInformation.
|
overridevirtual |
Merge another information object.
Reimplemented from vtkPVInformation.
|
overridevirtual |
Manage a serialized version of the information.
Implements vtkPVInformation.
|
overridevirtual |
Manage a serialized version of the information.
Reimplemented from vtkPVInformation.
|
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.
|
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.
void vtkPVArrayInformation::Initialize | ( | ) |
Remove all infommation.
Next add will be like a copy.
void vtkPVArrayInformation::AddInformationKeys | ( | vtkPVArrayInformation * | info | ) |
Merge (union) keys into this object.
Merge (union) keys into this object.
Merge (union) keys into this object.
int vtkPVArrayInformation::GetNumberOfInformationKeys | ( | ) |
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.
|
protected |
Merge (union) ranges/values into this object.
|
protected |
|
protected |
|
protected |
assigns to a string to DefaultComponentName for this component
|
protecteddelete |
|
protected |
Definition at line 209 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 210 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 211 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 212 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 213 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 214 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 215 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 216 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 220 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 225 of file vtkPVArrayInformation.h.
|
protected |
Definition at line 230 of file vtkPVArrayInformation.h.