VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkAddMembershipArray Class Reference

Add an array to the output indicating membership within an input selection. More...

#include <vtkAddMembershipArray.h>

Inheritance diagram for vtkAddMembershipArray:
Inheritance graph
[legend]
Collaboration diagram for vtkAddMembershipArray:
Collaboration graph
[legend]

List of all members.

Public Types

enum  {
  FIELD_DATA = 0, POINT_DATA = 1, CELL_DATA = 2, VERTEX_DATA = 3,
  EDGE_DATA = 4, ROW_DATA = 5
}
typedef vtkPassInputTypeAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkAddMembershipArrayNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetInputArrayName (const char *)
virtual char * GetInputArrayName ()
void SetInputValues (vtkAbstractArray *)
virtual vtkAbstractArrayGetInputValues ()
virtual int GetFieldType ()
virtual void SetFieldType (int)
virtual void SetOutputArrayName (const char *)
virtual char * GetOutputArrayName ()

Static Public Member Functions

static vtkAddMembershipArrayNew ()
static int IsTypeOf (const char *type)
static vtkAddMembershipArraySafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkAddMembershipArray ()
 ~vtkAddMembershipArray ()
int FillInputPortInformation (int port, vtkInformation *info)
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int FieldType
char * OutputArrayName
char * InputArrayName
vtkAbstractArrayInputValues

Detailed Description

Add an array to the output indicating membership within an input selection.

This filter takes an input selection, vtkDataSetAttribute information, and data object and adds a bit array to the output vtkDataSetAttributes indicating whether each index was selected or not.

Definition at line 38 of file vtkAddMembershipArray.h.


Member Typedef Documentation

Reimplemented from vtkPassInputTypeAlgorithm.

Definition at line 42 of file vtkAddMembershipArray.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
FIELD_DATA 
POINT_DATA 
CELL_DATA 
VERTEX_DATA 
EDGE_DATA 
ROW_DATA 

Definition at line 46 of file vtkAddMembershipArray.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkPassInputTypeAlgorithm.

static int vtkAddMembershipArray::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 vtkPassInputTypeAlgorithm.

virtual int vtkAddMembershipArray::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 vtkPassInputTypeAlgorithm.

Reimplemented from vtkPassInputTypeAlgorithm.

virtual vtkObjectBase* vtkAddMembershipArray::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPassInputTypeAlgorithm.

Reimplemented from vtkPassInputTypeAlgorithm.

void vtkAddMembershipArray::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 vtkPassInputTypeAlgorithm.

The field type to add the membership array to.

virtual void vtkAddMembershipArray::SetFieldType ( int  ) [virtual]

The field type to add the membership array to.

virtual void vtkAddMembershipArray::SetOutputArrayName ( const char *  ) [virtual]

The name of the array added to the output vtkDataSetAttributes indicating membership. Defaults to "membership".

virtual char* vtkAddMembershipArray::GetOutputArrayName ( ) [virtual]

The name of the array added to the output vtkDataSetAttributes indicating membership. Defaults to "membership".

virtual void vtkAddMembershipArray::SetInputArrayName ( const char *  ) [virtual]
virtual char* vtkAddMembershipArray::GetInputArrayName ( ) [virtual]
int vtkAddMembershipArray::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 vtkPassInputTypeAlgorithm.

This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.

Reimplemented from vtkPassInputTypeAlgorithm.


Member Data Documentation

Definition at line 87 of file vtkAddMembershipArray.h.

Definition at line 88 of file vtkAddMembershipArray.h.

Definition at line 89 of file vtkAddMembershipArray.h.

Definition at line 91 of file vtkAddMembershipArray.h.


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