vtkConvertSelection Class Reference

#include <vtkConvertSelection.h>

Inheritance diagram for vtkConvertSelection:

Inheritance graph
[legend]
Collaboration diagram for vtkConvertSelection:

Collaboration graph
[legend]

List of all members.


Detailed Description

vtkConvertSelection

Events:
vtkCommand::ProgressEvent
Examples:
vtkConvertSelection (Examples)
Tests:
vtkConvertSelection (Tests)

Definition at line 46 of file vtkConvertSelection.h.


Public Types

typedef vtkSelectionAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetDataObjectConnection (vtkAlgorithmOutput *in)
virtual void SetOutputType (int)
virtual int GetOutputType ()
virtual void SetArrayName (const char *)
virtual const char * GetArrayName ()
virtual void SetArrayNames (vtkStringArray *)
virtual vtkStringArray * GetArrayNames ()

Static Public Member Functions

static vtkConvertSelection * New ()
static int IsTypeOf (const char *type)
static vtkConvertSelection * SafeDownCast (vtkObject *o)
static vtkSelection * ToIndexSelection (vtkSelection *input, vtkDataObject *data)
static vtkSelection * ToGlobalIdSelection (vtkSelection *input, vtkDataObject *data)
static vtkSelection * ToPedigreeIdSelection (vtkSelection *input, vtkDataObject *data)
static vtkSelection * ToValueSelection (vtkSelection *input, vtkDataObject *data, const char *arrayName)
static vtkSelection * ToValueSelection (vtkSelection *input, vtkDataObject *data, vtkStringArray *arrayNames)
static vtkSelection * ToSelectionType (vtkSelection *input, vtkDataObject *data, int type, vtkStringArray *arrayNames=0)

Protected Member Functions

 vtkConvertSelection ()
 ~vtkConvertSelection ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int Convert (vtkSelection *input, vtkDataObject *data, vtkSelection *output)
int ConvertCompositeDataSet (vtkSelection *input, vtkCompositeDataSet *data, vtkSelection *output)
int ConvertToIndexSelection (vtkSelection *input, vtkDataSet *data, vtkSelection *output)
int SelectTableFromTable (vtkTable *selTable, vtkTable *dataTable, vtkIdTypeArray *indices)
int ConvertToBlockSelection (vtkSelection *input, vtkCompositeDataSet *data, vtkSelection *output)
virtual int FillInputPortInformation (int port, vtkInformation *info)

Protected Attributes

int OutputType
vtkStringArray * ArrayNames

Member Typedef Documentation

Reimplemented from vtkSelectionAlgorithm.

Definition at line 50 of file vtkConvertSelection.h.


Constructor & Destructor Documentation

vtkConvertSelection::vtkConvertSelection (  )  [protected]

vtkConvertSelection::~vtkConvertSelection (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkSelectionAlgorithm.

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

Reimplemented from vtkSelectionAlgorithm.

static int vtkConvertSelection::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkSelectionAlgorithm.

virtual int vtkConvertSelection::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkSelectionAlgorithm.

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

Reimplemented from vtkSelectionAlgorithm.

void vtkConvertSelection::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 vtkSelectionAlgorithm.

void vtkConvertSelection::SetDataObjectConnection ( vtkAlgorithmOutput *  in  ) 

A convenience method for setting the second input (i.e. the data object).

virtual void vtkConvertSelection::SetOutputType ( int   )  [virtual]

The output selection type. This should be one of the constants defined in vtkSelection.h.

virtual int vtkConvertSelection::GetOutputType (  )  [virtual]

The output selection type. This should be one of the constants defined in vtkSelection.h.

virtual void vtkConvertSelection::SetArrayName ( const char *   )  [virtual]

The output array name for value or threshold selections.

virtual const char* vtkConvertSelection::GetArrayName (  )  [virtual]

The output array name for value or threshold selections.

virtual void vtkConvertSelection::SetArrayNames ( vtkStringArray *   )  [virtual]

The output array names for value selection.

virtual vtkStringArray* vtkConvertSelection::GetArrayNames (  )  [virtual]

The output array names for value selection.

static vtkSelection* vtkConvertSelection::ToIndexSelection ( vtkSelection *  input,
vtkDataObject *  data 
) [static]

Static methods for easily converting between selection types. NOTE: The returned selection pointer IS reference counted, so be sure to Delete() it when you are done with it.

static vtkSelection* vtkConvertSelection::ToGlobalIdSelection ( vtkSelection *  input,
vtkDataObject *  data 
) [static]

Static methods for easily converting between selection types. NOTE: The returned selection pointer IS reference counted, so be sure to Delete() it when you are done with it.

static vtkSelection* vtkConvertSelection::ToPedigreeIdSelection ( vtkSelection *  input,
vtkDataObject *  data 
) [static]

Static methods for easily converting between selection types. NOTE: The returned selection pointer IS reference counted, so be sure to Delete() it when you are done with it.

static vtkSelection* vtkConvertSelection::ToValueSelection ( vtkSelection *  input,
vtkDataObject *  data,
const char *  arrayName 
) [static]

Static methods for easily converting between selection types. NOTE: The returned selection pointer IS reference counted, so be sure to Delete() it when you are done with it.

static vtkSelection* vtkConvertSelection::ToValueSelection ( vtkSelection *  input,
vtkDataObject *  data,
vtkStringArray *  arrayNames 
) [static]

Static methods for easily converting between selection types. NOTE: The returned selection pointer IS reference counted, so be sure to Delete() it when you are done with it.

static vtkSelection* vtkConvertSelection::ToSelectionType ( vtkSelection *  input,
vtkDataObject *  data,
int  type,
vtkStringArray *  arrayNames = 0 
) [static]

A generic static method for converting selection types. The type should be an integer constant defined in vtkSelection.h.

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

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

Reimplemented from vtkSelectionAlgorithm.

int vtkConvertSelection::Convert ( vtkSelection *  input,
vtkDataObject *  data,
vtkSelection *  output 
) [protected]

int vtkConvertSelection::ConvertCompositeDataSet ( vtkSelection *  input,
vtkCompositeDataSet *  data,
vtkSelection *  output 
) [protected]

int vtkConvertSelection::ConvertToIndexSelection ( vtkSelection *  input,
vtkDataSet *  data,
vtkSelection *  output 
) [protected]

int vtkConvertSelection::SelectTableFromTable ( vtkTable *  selTable,
vtkTable *  dataTable,
vtkIdTypeArray *  indices 
) [protected]

int vtkConvertSelection::ConvertToBlockSelection ( vtkSelection *  input,
vtkCompositeDataSet *  data,
vtkSelection *  output 
) [protected]

virtual int vtkConvertSelection::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 vtkSelectionAlgorithm.


Member Data Documentation

Definition at line 143 of file vtkConvertSelection.h.

Definition at line 144 of file vtkConvertSelection.h.


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

Generated on Sat Dec 27 13:21:12 2008 for VTK by  doxygen 1.5.6