VTK
|
Add an array to the output indicating membership within an input selection. More...
#include <vtkAddMembershipArray.h>
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.
Reimplemented from vtkPassInputTypeAlgorithm.
Definition at line 42 of file vtkAddMembershipArray.h.
anonymous enum |
Definition at line 46 of file vtkAddMembershipArray.h.
vtkAddMembershipArray::vtkAddMembershipArray | ( | ) | [protected] |
vtkAddMembershipArray::~vtkAddMembershipArray | ( | ) | [protected] |
static vtkAddMembershipArray* vtkAddMembershipArray::New | ( | ) | [static] |
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.
static vtkAddMembershipArray* vtkAddMembershipArray::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
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] |
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.
int vtkAddMembershipArray::FieldType [protected] |
Definition at line 87 of file vtkAddMembershipArray.h.
char* vtkAddMembershipArray::OutputArrayName [protected] |
Definition at line 88 of file vtkAddMembershipArray.h.
char* vtkAddMembershipArray::InputArrayName [protected] |
Definition at line 89 of file vtkAddMembershipArray.h.
vtkAbstractArray* vtkAddMembershipArray::InputValues [protected] |
Definition at line 91 of file vtkAddMembershipArray.h.