36 #ifndef vtkMaskFields_h 37 #define vtkMaskFields_h 39 #include "vtkFiltersCoreModule.h" 72 void CopyFieldOn(
int fieldLocation,
const char*
name) { this->CopyFieldOnOff(fieldLocation, name, 1); }
73 void CopyFieldOff(
int fieldLocation,
const char*
name) { this->CopyFieldOnOff(fieldLocation, name, 0); }
91 void CopyAttributeOn(
int attributeLocation,
int attributeType) { this->CopyAttributeOnOff(attributeLocation, attributeType, 1); }
92 void CopyAttributeOff(
int attributeLocation,
int attributeType) { this->CopyAttributeOnOff(attributeLocation, attributeType, 0); }
109 void CopyAttributeOn(
const char* attributeLoc,
110 const char* attributeType);
111 void CopyAttributeOff(
const char* attributeLoc,
112 const char* attributeType);
113 void CopyFieldOn(
const char* fieldLoc,
115 void CopyFieldOff(
const char* fieldLoc,
128 virtual void CopyAllOn();
139 virtual void CopyAllOff();
164 void CopyFieldOnOff(
int fieldLocation,
const char* name,
int onOff);
165 void CopyAttributeOnOff(
int attributeLocation,
int attributeType,
int onOff);
166 void ClearFieldFlags();
168 int FindFlag(
int arrayType,
int location);
170 int GetFlag(
int arrayType,
int location);
171 int GetAttributeLocation(
const char* loc);
172 int GetAttributeType(
const char*
type);
177 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()