vtkTokenLengthFilter Class Reference

#include <vtkTokenLengthFilter.h>

Inheritance diagram for vtkTokenLengthFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkTokenLengthFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

Filters tokens based on their length (number of characters).

Parameters: Begin, End: Defines a half-open range of token lengths [Begin, End) that will be removed from the output. Tokens for which Begin <= token-length < End is true will be removed.

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.

Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
Events:
vtkCommand::ProgressEvent
Tests:
vtkTokenLengthFilter (Tests)

Definition at line 53 of file vtkTokenLengthFilter.h.


Public Types

typedef vtkTableAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetBegin (int)
virtual int GetBegin ()
virtual void SetEnd (int)
virtual int GetEnd ()

Static Public Member Functions

static vtkTokenLengthFilterNew ()
static int IsTypeOf (const char *type)
static vtkTokenLengthFilterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkTokenLengthFilter ()
 ~vtkTokenLengthFilter ()
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

int Begin
int End

Member Typedef Documentation

Reimplemented from vtkTableAlgorithm.

Definition at line 58 of file vtkTokenLengthFilter.h.


Constructor & Destructor Documentation

vtkTokenLengthFilter::vtkTokenLengthFilter (  )  [protected]

vtkTokenLengthFilter::~vtkTokenLengthFilter (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkTableAlgorithm.

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

Reimplemented from vtkTableAlgorithm.

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

virtual int vtkTokenLengthFilter::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 vtkTableAlgorithm.

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

Reimplemented from vtkTableAlgorithm.

void vtkTokenLengthFilter::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 vtkTableAlgorithm.

virtual void vtkTokenLengthFilter::SetBegin ( int   )  [virtual]

Controls the half-open range of token lengths that will be removed. The default of [0, 0) will not remove any tokens, so you must change Begin and End to see any results from the filter!

virtual int vtkTokenLengthFilter::GetBegin (  )  [virtual]

Controls the half-open range of token lengths that will be removed. The default of [0, 0) will not remove any tokens, so you must change Begin and End to see any results from the filter!

virtual void vtkTokenLengthFilter::SetEnd ( int   )  [virtual]

Controls the half-open range of token lengths that will be removed. The default of [0, 0) will not remove any tokens, so you must change Begin and End to see any results from the filter!

virtual int vtkTokenLengthFilter::GetEnd (  )  [virtual]

Controls the half-open range of token lengths that will be removed. The default of [0, 0) will not remove any tokens, so you must change Begin and End to see any results from the filter!

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

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

Reimplemented from vtkTableAlgorithm.


Member Data Documentation

int vtkTokenLengthFilter::Begin [protected]

Definition at line 81 of file vtkTokenLengthFilter.h.

int vtkTokenLengthFilter::End [protected]

Definition at line 82 of file vtkTokenLengthFilter.h.


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

Generated on Wed Aug 24 12:13:52 2011 for VTK by  doxygen 1.5.6