#include <vtkPVArrayInformation.h>
Inheritance diagram for vtkPVArrayInformation:
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVArrayInformation, vtkPVInformation) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | GetDataTypeRange (double range[2]) |
int | Compare (vtkPVArrayInformation *info) |
void | AddRanges (vtkPVArrayInformation *info) |
void | DeepCopy (vtkPVArrayInformation *info) |
virtual void | CopyFromObject (vtkObject *) |
virtual void | AddInformation (vtkPVInformation *) |
void | Initialize () |
virtual void | SetDataType (int) |
virtual int | GetDataType () |
virtual void | SetName (const char *) |
virtual char * | GetName () |
void | SetNumberOfComponents (int numComps) |
virtual int | GetNumberOfComponents () |
void | SetComponentRange (int comp, double min, double max) |
void | SetComponentRange (int comp, double *range) |
double * | GetComponentRange (int component) |
void | GetComponentRange (int comp, double *range) |
virtual void | CopyToStream (vtkClientServerStream *) const |
virtual void | CopyFromStream (const vtkClientServerStream *) |
virtual void | SetIsPartial (int) |
virtual int | GetIsPartial () |
Static Public Member Functions | |
vtkPVArrayInformation * | New () |
Protected Member Functions | |
vtkPVArrayInformation () | |
~vtkPVArrayInformation () | |
vtkPVArrayInformation (const vtkPVArrayInformation &) | |
void | operator= (const vtkPVArrayInformation &) |
Protected Attributes | |
int | IsPartial |
int | DataType |
int | NumberOfComponents |
char * | Name |
double * | Ranges |
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 33 of file vtkPVArrayInformation.h.
|
|
|
|
|
|
|
Reimplemented in vtkPVGenericAttributeInformation. |
|
|
|
Reimplemented from vtkPVInformation. Reimplemented in vtkPVGenericAttributeInformation. |
|
DataType is the string name of the data type: VTK_FLOAT ... the value "VTK_VOID" means that different processes have different types. |
|
DataType is the string name of the data type: VTK_FLOAT ... the value "VTK_VOID" means that different processes have different types. |
|
Set/get array's name |
|
Set/get array's name |
|
Changing the number of components clears the ranges back to the default. |
|
Changing the number of components clears the ranges back to the default. |
|
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 65 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. |
|
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 |
|
Returns 1 if the array can be combined. It must have the same name and number of components. |
|
Merge (union) ranges into this object. |
|
|
|
Transfer information about a single object into this object. Reimplemented from vtkPVInformation. Reimplemented in vtkPVGenericAttributeInformation. |
|
Merge another information object. Reimplemented from vtkPVInformation. |
|
Manage a serialized version of the information. Implements vtkPVInformation. |
|
Manage a serialized version of the information. Reimplemented from vtkPVInformation. |
|
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. |
|
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. |
|
Remove all infommation. Next add will be like a copy. |
|
|
|
Definition at line 111 of file vtkPVArrayInformation.h. |
|
Definition at line 112 of file vtkPVArrayInformation.h. |
|
Definition at line 113 of file vtkPVArrayInformation.h. |
|
Definition at line 114 of file vtkPVArrayInformation.h. |
|
Definition at line 115 of file vtkPVArrayInformation.h. |