36 #ifndef vtkMaskFields_h
37 #define vtkMaskFields_h
40 #include "vtkFiltersCoreModule.h"
74 this->CopyFieldOnOff(fieldLocation, name, 1);
78 this->CopyFieldOnOff(fieldLocation, name, 0);
98 this->CopyAttributeOnOff(attributeLocation, attributeType, 1);
102 this->CopyAttributeOnOff(attributeLocation, attributeType, 0);
120 void CopyAttributeOn(
const char* attributeLoc,
const char* attributeType);
121 void CopyAttributeOff(
const char* attributeLoc,
const char* attributeType);
122 void CopyFieldOn(
const char* fieldLoc,
const char*
name);
123 void CopyFieldOff(
const char* fieldLoc,
const char*
name);
135 virtual void CopyAllOn();
146 virtual void CopyAllOff();
171 void CopyFieldOnOff(
int fieldLocation,
const char*
name,
int onOff);
172 void CopyAttributeOnOff(
int attributeLocation,
int attributeType,
int onOff);
173 void ClearFieldFlags();
175 int FindFlag(
int arrayType,
int location);
177 int GetFlag(
int arrayType,
int location);
178 int GetAttributeLocation(
const char* loc);
179 int GetAttributeType(
const char*
type);
184 static char FieldLocationNames[3][12];
abstract class to specify dataset behavior
void CopyAttributeOn(int attributeLocation, int attributeType)
Turn on/off the copying of the attribute or specified by vtkDataSetAttributes:AttributeTypes.
CopyFieldFlag * CopyFieldFlags
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Allow control of which fields get passed to the output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void CopyFieldOff(int fieldLocation, const char *name)
void CopyAttributeOff(int attributeLocation, int attributeType)
void CopyFieldsOff()
Convenience methods which operate on all field data or attribute data.
void CopyFieldOn(int fieldLocation, const char *name)
Turn on/off the copying of the field or specified by name.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()