VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkArrayData Class Reference

Pipeline data object that contains multiple vtkArray objects. More...

#include <vtkArrayData.h>

Inheritance diagram for vtkArrayData:
Inheritance graph
[legend]
Collaboration diagram for vtkArrayData:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkArrayDataNewInstance () const
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 (vtkObjectBase *o)
static vtkArrayDataGetData (vtkInformation *info)
static vtkArrayDataGetData (vtkInformationVector *v, int i=0)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkArrayData ()
 ~vtkArrayData ()

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 (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.
Tests:
vtkArrayData (Tests)

Definition at line 51 of file vtkArrayData.h.


Member Typedef Documentation

Reimplemented from vtkDataObject.

Definition at line 55 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.

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.

Reimplemented from vtkDataObject.

virtual vtkObjectBase* vtkArrayData::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataObject.

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.

Adds a vtkArray to the collection

Clears the contents of the collection

Returns the number of vtkArray instances in the collection

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 77 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: