30 #ifndef vtkMaskFields_h 31 #define vtkMaskFields_h 34 #include "vtkFiltersCoreModule.h" 68 this->CopyFieldOnOff(fieldLocation,
name, 1);
72 this->CopyFieldOnOff(fieldLocation,
name, 0);
92 this->CopyAttributeOnOff(attributeLocation, attributeType, 1);
96 this->CopyAttributeOnOff(attributeLocation, attributeType, 0);
114 void CopyAttributeOn(
const char* attributeLoc,
const char* attributeType);
115 void CopyAttributeOff(
const char* attributeLoc,
const char* attributeType);
116 void CopyFieldOn(
const char* fieldLoc,
const char*
name);
117 void CopyFieldOff(
const char* fieldLoc,
const char*
name);
129 virtual void CopyAllOn();
140 virtual void CopyAllOff();
165 void CopyFieldOnOff(
int fieldLocation,
const char*
name,
int onOff);
166 void CopyAttributeOnOff(
int attributeLocation,
int attributeType,
int onOff);
167 void ClearFieldFlags();
169 int FindFlag(
int arrayType,
int location);
171 int GetFlag(
int arrayType,
int location);
172 int GetAttributeLocation(
const char* loc);
173 int GetAttributeType(
const char*
type);
178 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()