vtkConcatenateArray Class Reference

#include <vtkConcatenateArray.h>

Inheritance diagram for vtkConcatenateArray:

Inheritance graph
[legend]
Collaboration diagram for vtkConcatenateArray:

Collaboration graph
[legend]

List of all members.


Detailed Description

Merge two arrays into one.

Given two input arrays of arbitrary dimension, creates a single, larger output array that contains both. The input arrays will be adjacent to each other within the combined output array.

The adjacent dimension can be specified so that e.g: you can control whether two matrices are combined row-wise or column-wise.

Both arrays must have the same number of dimensions. The array extents along the adjacent dimension may be different, but all other dimensions must have identical extents.

Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
Tests:
vtkConcatenateArray (Tests)

Definition at line 49 of file vtkConcatenateArray.h.


Public Types

typedef vtkArrayDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkIdType GetAdjacentDimension ()
virtual void SetAdjacentDimension (vtkIdType)

Static Public Member Functions

static vtkConcatenateArrayNew ()
static int IsTypeOf (const char *type)
static vtkConcatenateArraySafeDownCast (vtkObject *o)

Protected Member Functions

 vtkConcatenateArray ()
 ~vtkConcatenateArray ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Member Typedef Documentation

Reimplemented from vtkArrayDataAlgorithm.

Definition at line 53 of file vtkConcatenateArray.h.


Constructor & Destructor Documentation

vtkConcatenateArray::vtkConcatenateArray (  )  [protected]

vtkConcatenateArray::~vtkConcatenateArray (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkArrayDataAlgorithm.

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

Reimplemented from vtkArrayDataAlgorithm.

static int vtkConcatenateArray::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 vtkArrayDataAlgorithm.

virtual int vtkConcatenateArray::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 vtkArrayDataAlgorithm.

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

Reimplemented from vtkArrayDataAlgorithm.

void vtkConcatenateArray::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 vtkArrayDataAlgorithm.

virtual vtkIdType vtkConcatenateArray::GetAdjacentDimension (  )  [virtual]

Controls the 0-numbered dimension along-which the arrays will be concatenated. Default: 0

virtual void vtkConcatenateArray::SetAdjacentDimension ( vtkIdType   )  [virtual]

Controls the 0-numbered dimension along-which the arrays will be concatenated. Default: 0

int vtkConcatenateArray::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkArrayDataAlgorithm.


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

Generated on Wed Aug 24 11:31:58 2011 for VTK by  doxygen 1.5.6