#include <vtkExtractSelectedSlices.h>
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.
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 vtkExtractSelectedSlices * | New () |
static int | IsTypeOf (const char *type) |
static vtkExtractSelectedSlices * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkExtractSelectedSlices () | |
~vtkExtractSelectedSlices () | |
int | FillInputPortInformation (int, vtkInformation *) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
vtkExtractSelectedSlices::vtkExtractSelectedSlices | ( | ) | [protected] |
vtkExtractSelectedSlices::~vtkExtractSelectedSlices | ( | ) | [protected] |
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.