VTK
|
Pipeline data object that contains multiple vtkArray objects. More...
#include <vtkArrayData.h>
Public Types | |
typedef vtkDataObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkArrayData * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddArray (vtkArray *) |
void | ClearArrays () |
vtkIdType | GetNumberOfArrays () |
vtkArray * | GetArray (vtkIdType index) |
vtkArray * | GetArrayByName (const char *name) |
virtual int | GetDataObjectType () |
virtual void | ShallowCopy (vtkDataObject *other) |
virtual void | DeepCopy (vtkDataObject *other) |
Static Public Member Functions | |
static vtkArrayData * | New () |
static int | IsTypeOf (const char *type) |
static vtkArrayData * | SafeDownCast (vtkObjectBase *o) |
static vtkArrayData * | GetData (vtkInformation *info) |
static vtkArrayData * | GetData (vtkInformationVector *v, int i=0) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkArrayData () | |
~vtkArrayData () |
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.
Definition at line 51 of file vtkArrayData.h.
Reimplemented from vtkDataObject.
Definition at line 55 of file vtkArrayData.h.
vtkArrayData::vtkArrayData | ( | ) | [protected] |
vtkArrayData::~vtkArrayData | ( | ) | [protected] |
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.
static vtkArrayData* vtkArrayData::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataObject.
virtual vtkObjectBase* vtkArrayData::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataObject.
vtkArrayData* vtkArrayData::NewInstance | ( | ) | const |
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
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 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.