Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPVArrayInformation Class Reference

Data array information like type. More...

#include <vtkPVArrayInformation.h>

Inheritance diagram for vtkPVArrayInformation:

Inheritance graph
[legend]
Collaboration diagram for vtkPVArrayInformation:

Collaboration graph
[legend]
List of all members.

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

vtkPVArrayInformationNew ()

Protected Member Functions

 vtkPVArrayInformation ()
 ~vtkPVArrayInformation ()
 vtkPVArrayInformation (const vtkPVArrayInformation &)
void operator= (const vtkPVArrayInformation &)

Protected Attributes

int IsPartial
int DataType
int NumberOfComponents
char * Name
double * Ranges

Detailed Description

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 33 of file vtkPVArrayInformation.h.


Constructor & Destructor Documentation

vtkPVArrayInformation::vtkPVArrayInformation  )  [protected]
 

vtkPVArrayInformation::~vtkPVArrayInformation  )  [protected]
 

vtkPVArrayInformation::vtkPVArrayInformation const vtkPVArrayInformation  )  [protected]
 


Member Function Documentation

vtkPVArrayInformation* vtkPVArrayInformation::New  )  [static]
 

Reimplemented in vtkPVGenericAttributeInformation.

vtkPVArrayInformation::vtkTypeRevisionMacro vtkPVArrayInformation  ,
vtkPVInformation 
 

void vtkPVArrayInformation::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPVInformation.

Reimplemented in vtkPVGenericAttributeInformation.

virtual void vtkPVArrayInformation::SetDataType int   )  [virtual]
 

DataType is the string name of the data type: VTK_FLOAT ... the value "VTK_VOID" means that different processes have different types.

virtual int vtkPVArrayInformation::GetDataType  )  [virtual]
 

DataType is the string name of the data type: VTK_FLOAT ... the value "VTK_VOID" means that different processes have different types.

virtual void vtkPVArrayInformation::SetName const char *   )  [virtual]
 

Set/get array's name

virtual char* vtkPVArrayInformation::GetName  )  [virtual]
 

Set/get array's name

void vtkPVArrayInformation::SetNumberOfComponents int  numComps  ) 
 

Changing the number of components clears the ranges back to the default.

virtual int vtkPVArrayInformation::GetNumberOfComponents  )  [virtual]
 

Changing the number of components clears the ranges back to the default.

void vtkPVArrayInformation::SetComponentRange int  comp,
double  min,
double  max
 

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::SetComponentRange int  comp,
double *  range
[inline]
 

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.

double* vtkPVArrayInformation::GetComponentRange int  component  ) 
 

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::GetComponentRange int  comp,
double *  range
 

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::AddRanges vtkPVArrayInformation info  ) 
 

Merge (union) ranges into this object.

void vtkPVArrayInformation::DeepCopy vtkPVArrayInformation info  ) 
 

virtual void vtkPVArrayInformation::CopyFromObject vtkObject *   )  [virtual]
 

Transfer information about a single object into this object.

Reimplemented from vtkPVInformation.

Reimplemented in vtkPVGenericAttributeInformation.

virtual void vtkPVArrayInformation::AddInformation vtkPVInformation  )  [virtual]
 

Merge another information object.

Reimplemented from vtkPVInformation.

virtual void vtkPVArrayInformation::CopyToStream vtkClientServerStream *   )  const [virtual]
 

Manage a serialized version of the information.

Implements vtkPVInformation.

virtual void vtkPVArrayInformation::CopyFromStream const vtkClientServerStream *   )  [virtual]
 

Manage a serialized version of the information.

Reimplemented from vtkPVInformation.

virtual void vtkPVArrayInformation::SetIsPartial int   )  [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 int vtkPVArrayInformation::GetIsPartial  )  [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::operator= const vtkPVArrayInformation  )  [protected]
 


Member Data Documentation

int vtkPVArrayInformation::IsPartial [protected]
 

Definition at line 111 of file vtkPVArrayInformation.h.

int vtkPVArrayInformation::DataType [protected]
 

Definition at line 112 of file vtkPVArrayInformation.h.

int vtkPVArrayInformation::NumberOfComponents [protected]
 

Definition at line 113 of file vtkPVArrayInformation.h.

char* vtkPVArrayInformation::Name [protected]
 

Definition at line 114 of file vtkPVArrayInformation.h.

double* vtkPVArrayInformation::Ranges [protected]
 

Definition at line 115 of file vtkPVArrayInformation.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:35:12 2006 for ParaView by doxygen 1.3.5