35 #ifndef __vtkMaskFields_h
36 #define __vtkMaskFields_h
38 #include "vtkFiltersCoreModule.h"
39 #include "vtkDataSetAlgorithm.h"
41 #include "vtkDataSetAttributes.h"
49 void PrintSelf(ostream& os, vtkIndent indent);
64 void CopyFieldOn(
int fieldLocation,
const char* name) { this->CopyFieldOnOff(fieldLocation, name, 1); }
65 void CopyFieldOff(
int fieldLocation,
const char* name) { this->CopyFieldOnOff(fieldLocation, name, 0); }
80 void CopyAttributeOn(
int attributeLocation,
int attributeType) { this->CopyAttributeOnOff(attributeLocation, attributeType, 1); }
81 void CopyAttributeOff(
int attributeLocation,
int attributeType) { this->CopyAttributeOnOff(attributeLocation, attributeType, 0); }
97 void CopyAttributeOn(
const char* attributeLoc,
98 const char* attributeType);
99 void CopyAttributeOff(
const char* attributeLoc,
100 const char* attributeType);
101 void CopyFieldOn(
const char* fieldLoc,
103 void CopyFieldOff(
const char* fieldLoc,
112 virtual void CopyAllOn();
119 virtual void CopyAllOff();
134 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
148 void CopyFieldOnOff(
int fieldLocation,
const char* name,
int onOff);
149 void CopyAttributeOnOff(
int attributeLocation,
int attributeType,
int onOff);
150 void ClearFieldFlags();
151 int FindFlag(
const char* field,
int location);
152 int FindFlag(
int arrayType,
int location);
153 int GetFlag(
const char* field,
int location);
154 int GetFlag(
int arrayType,
int location);
155 int GetAttributeLocation(
const char* loc);
156 int GetAttributeType(
const char* type);
161 static char FieldLocationNames[3][12];
162 static char AttributeNames[vtkDataSetAttributes::NUM_ATTRIBUTES][10];
void CopyAttributeOn(int attributeLocation, int attributeType)
CopyFieldFlag * CopyFieldFlags
Allow control of which fields get passed to the output.
void CopyFieldOff(int fieldLocation, const char *name)
void CopyAttributeOff(int attributeLocation, int attributeType)
void CopyFieldOn(int fieldLocation, const char *name)