vtkArrayData Class Reference

#include <vtkArrayData.h>

Inheritance diagram for vtkArrayData:

Inheritance graph
[legend]
Collaboration diagram for vtkArrayData:

Collaboration graph
[legend]

List of all members.


Detailed Description

Pipeline data object that contains multiple vtkArray objects.

Because vtkArray cannot be stored as attributes of data objects (yet), a "carrier" object is needed to pass vtkArray through the pipeline. vtkArrayData acts as a container of zero-to-many vtkArray instances, which can be retrieved via a zero-based index. Note that a collection of arrays stored in vtkArrayData may-or-may-not have related types, dimensions, or extents.

See also:
vtkArrayDataAlgorithm, vtkArray
Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
Tests:
vtkArrayData (Tests)

Definition at line 50 of file vtkArrayData.h.


Public Types

typedef vtkDataObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void AddArray (vtkArray *)
void ClearArrays ()
vtkIdType GetNumberOfArrays ()
vtkArrayGetArray (vtkIdType index)
vtkArrayGetArrayByName (const char *name)
virtual int GetDataObjectType ()
virtual void ShallowCopy (vtkDataObject *other)
virtual void DeepCopy (vtkDataObject *other)

Static Public Member Functions

static vtkArrayDataNew ()
static int IsTypeOf (const char *type)
static vtkArrayDataSafeDownCast (vtkObject *o)
static vtkArrayDataGetData (vtkInformation *info)
static vtkArrayDataGetData (vtkInformationVector *v, int i=0)

Protected Member Functions

 vtkArrayData ()
 ~vtkArrayData ()

Member Typedef Documentation

Reimplemented from vtkDataObject.

Definition at line 54 of file vtkArrayData.h.


Constructor & Destructor Documentation

vtkArrayData::vtkArrayData (  )  [protected]

vtkArrayData::~vtkArrayData (  )  [protected]


Member Function Documentation

static vtkArrayData* vtkArrayData::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataObject.

virtual const char* vtkArrayData::GetClassName (  )  [virtual]

Reimplemented from vtkDataObject.

static int vtkArrayData::IsTypeOf ( const char *  name  )  [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataObject.

virtual int vtkArrayData::IsA ( const char *  name  )  [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataObject.

static vtkArrayData* vtkArrayData::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkDataObject.

void vtkArrayData::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkDataObject.

static vtkArrayData* vtkArrayData::GetData ( vtkInformation info  )  [static]

Retrieve an instance of this class from an information object.

Reimplemented from vtkDataObject.

static vtkArrayData* vtkArrayData::GetData ( vtkInformationVector v,
int  i = 0 
) [static]

Retrieve an instance of this class from an information object.

Reimplemented from vtkDataObject.

void vtkArrayData::AddArray ( vtkArray  ) 

Adds a vtkArray to the collection

void vtkArrayData::ClearArrays (  ) 

Clears the contents of the collection

vtkIdType vtkArrayData::GetNumberOfArrays (  ) 

Returns the number of vtkArray instances in the collection

vtkArray* vtkArrayData::GetArray ( vtkIdType  index  ) 

Returns the n-th vtkArray in the collection

vtkArray* vtkArrayData::GetArrayByName ( const char *  name  ) 

Returns the array having called name from the collection

virtual int vtkArrayData::GetDataObjectType (  )  [inline, virtual]

Return class name of data type (VTK_ARRAY_DATA).

Reimplemented from vtkDataObject.

Definition at line 76 of file vtkArrayData.h.

virtual void vtkArrayData::ShallowCopy ( vtkDataObject src  )  [virtual]

Shallow and Deep copy. These copy the data, but not any of the pipeline connections.

Reimplemented from vtkDataObject.

virtual void vtkArrayData::DeepCopy ( vtkDataObject src  )  [virtual]

Shallow and Deep copy. These copy the data, but not any of the pipeline connections.

Reimplemented from vtkDataObject.


The documentation for this class was generated from the following file:

Generated on Wed Aug 24 11:28:52 2011 for VTK by  doxygen 1.5.6