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

Given a vtkArrayData object containing one-or-more vtkArray instances, produces a vtkArrayData containing just one vtkArray, indentified by index. More...

#include <vtkExtractArray.h>

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

List of all members.

Public Types

typedef vtkArrayDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkExtractArrayNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkIdType GetIndex ()
virtual void SetIndex (vtkIdType)

Static Public Member Functions

static vtkExtractArrayNew ()
static int IsTypeOf (const char *type)
static vtkExtractArraySafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkExtractArray ()
 ~vtkExtractArray ()
int FillInputPortInformation (int port, vtkInformation *info)
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Detailed Description

Given a vtkArrayData object containing one-or-more vtkArray instances, produces a vtkArrayData containing just one vtkArray, indentified by index.

Thanks:
Developed by Timothy M. Shead (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.
Tests:
vtkExtractArray (Tests)

Definition at line 40 of file vtkExtractArray.h.


Member Typedef Documentation

Reimplemented from vtkArrayDataAlgorithm.

Definition at line 44 of file vtkExtractArray.h.


Constructor & Destructor Documentation


Member Function Documentation

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

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

Reimplemented from vtkArrayDataAlgorithm.

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

Reimplemented from vtkArrayDataAlgorithm.

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

Reimplemented from vtkArrayDataAlgorithm.

Reimplemented from vtkArrayDataAlgorithm.

void vtkExtractArray::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 vtkExtractArray::GetIndex ( ) [virtual]

Controls which array will be extracted.

virtual void vtkExtractArray::SetIndex ( vtkIdType  ) [virtual]

Controls which array will be extracted.

int vtkExtractArray::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkArrayDataAlgorithm.

int vtkExtractArray::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: