#include <vtkMaskFields.h>
Inheritance diagram for vtkMaskFields:
vtkMaskFields is used to mark which fields in the input dataset get copied to the output. The output will contain only those fields marked as on by the filter.
Definition at line 38 of file vtkMaskFields.h.
void | CopyFieldOn (int fieldLocation, const char *name) |
void | CopyFieldOff (int fieldLocation, const char *name) |
static vtkMaskFields * | New () |
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
enum | FieldLocation { OBJECT_DATA = 0, POINT_DATA = 1, CELL_DATA = 2 } |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | CopyFieldsOn () |
virtual void | CopyAllOn () |
virtual void | CopyAllOff () |
void | CopyAttributeOn (int attributeLocation, int attributeType) |
void | CopyAttributeOff (int attributeLocation, int attributeType) |
void | CopyFieldsOff () |
void | CopyAttributesOff () |
void | CopyAttributesOn () |
void | CopyAttributeOn (const char *attributeLoc, const char *attributeType) |
void | CopyAttributeOff (const char *attributeLoc, const char *attributeType) |
void | CopyFieldOn (const char *fieldLoc, const char *name) |
void | CopyFieldOff (const char *fieldLoc, const char *name) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMaskFields * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkMaskFields () | |
virtual | ~vtkMaskFields () |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | CopyFieldOnOff (int fieldLocation, const char *name, int onOff) |
void | CopyAttributeOnOff (int attributeLocation, int attributeType, int onOff) |
void | ClearFieldFlags () |
int | FindFlag (const char *field, int location) |
int | FindFlag (int arrayType, int location) |
int | GetFlag (const char *field, int location) |
int | GetFlag (int arrayType, int location) |
int | GetAttributeLocation (const char *loc) |
int | GetAttributeType (const char *type) |
Protected Attributes | |
CopyFieldFlag * | CopyFieldFlags |
int | NumberOfFieldFlags |
int | CopyFields |
int | CopyAttributes |
Static Protected Attributes | |
static char | FieldLocationNames [3][12] |
static char | AttributeNames [vtkDataSetAttributes::NUM_ATTRIBUTES][10] |
Classes | |
struct | CopyFieldFlag |
|
Reimplemented from vtkDataSetAlgorithm. Definition at line 41 of file vtkMaskFields.h. |
|
Definition at line 115 of file vtkMaskFields.h. |
|
|
|
|
|
Reimplemented from vtkDataSetAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetAlgorithm. |
|
Reimplemented from vtkDataSetAlgorithm. |
|
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 vtkDataSetAlgorithm. |
|
Create a new vtkMaskFields. Reimplemented from vtkDataSetAlgorithm. |
|
Turn on/off the copying of the field or specified by name. During the copying/passing, the following rules are followed for each array: 1. If the copy flag for an array is set (on or off), it is applied This overrides rule 2. 2. If CopyAllOn is set, copy the array. If CopyAllOff is set, do not copy the array A field name and a location must be specified. For example: maskFields->CopyFieldOff(vtkMaskFields::CELL_DATA, "foo"); Definition at line 57 of file vtkMaskFields.h. |
|
Turn on/off the copying of the field or specified by name. During the copying/passing, the following rules are followed for each array: 1. If the copy flag for an array is set (on or off), it is applied This overrides rule 2. 2. If CopyAllOn is set, copy the array. If CopyAllOff is set, do not copy the array A field name and a location must be specified. For example: maskFields->CopyFieldOff(vtkMaskFields::CELL_DATA, "foo"); Definition at line 58 of file vtkMaskFields.h. |
|
Turn on/off the copying of the attribute or specified by vtkDataSetAttributes:AttributeTypes. During the copying/passing, the following rules are followed for each array: 1. If the copy flag for an array is set (on or off), it is applied This overrides rule 2. 2. If CopyAllOn is set, copy the array. If CopyAllOff is set, do not copy the array An attribute type and a location must be specified. For example: maskFields->CopyAttributeOff(vtkMaskFields::POINT_DATA, vtkDataSetAttributes::SCALARS); Definition at line 73 of file vtkMaskFields.h. |
|
Turn on/off the copying of the attribute or specified by vtkDataSetAttributes:AttributeTypes. During the copying/passing, the following rules are followed for each array: 1. If the copy flag for an array is set (on or off), it is applied This overrides rule 2. 2. If CopyAllOn is set, copy the array. If CopyAllOff is set, do not copy the array An attribute type and a location must be specified. For example: maskFields->CopyAttributeOff(vtkMaskFields::POINT_DATA, vtkDataSetAttributes::SCALARS); Definition at line 74 of file vtkMaskFields.h. |
|
Convenience methods which operate on all field data or attribute data. More specific than CopyAllOn or CopyAllOff Definition at line 80 of file vtkMaskFields.h. |
|
Convenience methods which operate on all field data or attribute data. More specific than CopyAllOn or CopyAllOff Definition at line 81 of file vtkMaskFields.h. |
|
Definition at line 84 of file vtkMaskFields.h. |
|
Definition at line 85 of file vtkMaskFields.h. |
|
Helper methods used by other language bindings. Allows the caller to specify arguments as strings instead of enums. |
|
|
|
|
|
|
|
Turn on copying of all data. During the copying/passing, the following rules are followed for each array: 1. If the copy flag for an array is set (on or off), it is applied This overrides rule 2. 2. If CopyAllOn is set, copy the array. If CopyAllOff is set, do not copy the array |
|
Turn off copying of all data. During the copying/passing, the following rules are followed for each array: 1. If the copy flag for an array is set (on or off), it is applied This overrides rule 2. 2. If CopyAllOn is set, copy the array. If CopyAllOff is set, do not copy the array |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkDataSetAlgorithm. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 139 of file vtkMaskFields.h. |
|
Definition at line 140 of file vtkMaskFields.h. |
|
Definition at line 151 of file vtkMaskFields.h. |
|
Definition at line 152 of file vtkMaskFields.h. |
|
Definition at line 154 of file vtkMaskFields.h. |
|
Definition at line 155 of file vtkMaskFields.h. |