vtkExtractSelectedSlices Class Reference

#include <vtkExtractSelectedSlices.h>

Inheritance diagram for vtkExtractSelectedSlices:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractSelectedSlices:

Collaboration graph
[legend]

List of all members.


Detailed Description

Extract selected slices from a vtkArray.

Inputs: Input port 0: (required) A vtkSparseArray<double> of any dimension. Input port 1: (required) A vtkSelection containing indices.

Outputs: Output port 0: A vtkSparseArray<double> containing only the selected slices.

Note that the indices in the input selection must be less-than the maximum extent of the input array along the slice dimension.

Warning:
Only works with vtkSparseArray<double>, this needs to be generalized.
Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
Tests:
vtkExtractSelectedSlices (Tests)

Definition at line 50 of file vtkExtractSelectedSlices.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 int GetSliceDimension ()
virtual void SetSliceDimension (int)

Static Public Member Functions

static vtkExtractSelectedSlicesNew ()
static int IsTypeOf (const char *type)
static vtkExtractSelectedSlicesSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkExtractSelectedSlices ()
 ~vtkExtractSelectedSlices ()
int FillInputPortInformation (int, vtkInformation *)
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Member Typedef Documentation

Reimplemented from vtkArrayDataAlgorithm.

Definition at line 55 of file vtkExtractSelectedSlices.h.


Constructor & Destructor Documentation

vtkExtractSelectedSlices::vtkExtractSelectedSlices (  )  [protected]

vtkExtractSelectedSlices::~vtkExtractSelectedSlices (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkArrayDataAlgorithm.

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

Reimplemented from vtkArrayDataAlgorithm.

static int vtkExtractSelectedSlices::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 vtkExtractSelectedSlices::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 vtkExtractSelectedSlices* vtkExtractSelectedSlices::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkArrayDataAlgorithm.

void vtkExtractSelectedSlices::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 int vtkExtractSelectedSlices::GetSliceDimension (  )  [virtual]

Controls the dimension along which slices will be extracted. Default: 0

virtual void vtkExtractSelectedSlices::SetSliceDimension ( int   )  [virtual]

Controls the dimension along which slices will be extracted. Default: 0

int vtkExtractSelectedSlices::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 vtkExtractSelectedSlices::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:35:55 2011 for VTK by  doxygen 1.5.6