vtkTokenValueFilter Class Reference

#include <vtkTokenValueFilter.h>


Detailed Description

Filters tokens based on their value.

vtkTokenValueFilter removes tokens from the pipeline based on whether they match a list of token values. Typically, this is useful for handling lists of "stop words" that should be removed from the token stream before further analysis.

Inputs: Input port 0: (required) A vtkTable containing a column of text.

Outputs: Output port 0: The same table, with (potentally) fewer rows.

Use SetInputArrayToProcess(0, ...) to specify the "text" array.

Use AddValue() to append a new token value to the list of values to be discarded. By default, the list of values to be discarded is empty, so you must call AddValue() before using vtkTokenValueFilter to see any changes in output!

Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories. Adds a new value to the list of token values that will be discarded. BTX void AddValue(const vtkUnicodeString& value); ETX
BTX Internals* const Implementation; ETX

Events:
vtkCommand::ProgressEvent
Tests:
vtkTokenValueFilter (Tests)

Definition at line 26 of file vtkTokenValueFilter.h.


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

Generated on Mon Sep 27 18:56:22 2010 for VTK by  doxygen 1.5.6