vtkAddMembershipArray Class Reference

#include <vtkAddMembershipArray.h>

Inheritance diagram for vtkAddMembershipArray:

Inheritance graph
[legend]
Collaboration diagram for vtkAddMembershipArray:

Collaboration graph
[legend]

List of all members.


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 37 of file vtkAddMembershipArray.h.


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 const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

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

Protected Attributes

int FieldType
char * OutputArrayName
char * InputArrayName
vtkAbstractArrayInputValues

Member Typedef Documentation

Reimplemented from vtkPassInputTypeAlgorithm.

Definition at line 41 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 45 of file vtkAddMembershipArray.h.


Constructor & Destructor Documentation

vtkAddMembershipArray::vtkAddMembershipArray (  )  [protected]

vtkAddMembershipArray::~vtkAddMembershipArray (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkPassInputTypeAlgorithm.

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

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.

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

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.

virtual int vtkAddMembershipArray::GetFieldType (  )  [virtual]

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]

void vtkAddMembershipArray::SetInputValues ( vtkAbstractArray  ) 

virtual vtkAbstractArray* vtkAddMembershipArray::GetInputValues (  )  [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.

int vtkAddMembershipArray::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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 86 of file vtkAddMembershipArray.h.

Definition at line 87 of file vtkAddMembershipArray.h.

Definition at line 88 of file vtkAddMembershipArray.h.

Definition at line 90 of file vtkAddMembershipArray.h.


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

Generated on Mon Sep 27 18:17:36 2010 for VTK by  doxygen 1.5.6