63 #ifndef vtkRearrangeFields_h
64 #define vtkRearrangeFields_h
100 int AddOperation(
int operationType,
int attributeType,
int fromFieldLoc,
107 int AddOperation(
int operationType,
const char*
name,
int fromFieldLoc,
114 int AddOperation(
const char* operationType,
const char* attributeType,
115 const char* fromFieldLoc,
const char* toFieldLoc);
119 int RemoveOperation(
int operationId);
123 int RemoveOperation(
int operationType,
int attributeType,
int fromFieldLoc,
129 int RemoveOperation(
int operationType,
const char*
name,
int fromFieldLoc,
135 int RemoveOperation(
const char* operationType,
const char* attributeType,
136 const char* fromFieldLoc,
const char* toFieldLoc);
145 this->DeleteAllOperations();
190 {
return this->Head; }
191 void AddOperation(Operation* op);
192 void DeleteOperation(Operation* op, Operation* before);
193 Operation* FindOperation(
int id, Operation*& before);
194 Operation* FindOperation(
const char*
name, Operation*& before);
195 Operation* FindOperation(
int operationType,
const char*
name,
196 int fromFieldLoc,
int toFieldLoc,
198 Operation* FindOperation(
int operationType,
int attributeType,
199 int fromFieldLoc,
int toFieldLoc,
202 int CompareOperationsByType(
const Operation* op1,
const Operation* op2);
203 int CompareOperationsByName(
const Operation* op1,
const Operation* op2);
205 void DeleteAllOperations();
213 static char OperationTypeNames[2][5];
214 static char FieldLocationNames[3][12];
217 void PrintAllOperations(ostream& os,
vtkIndent indent);
abstract class to specify dataset behavior
#define VTKFILTERSCORE_EXPORT
a simple class to control print indentation
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void RemoveAllOperations()
Move/copy fields between field data, point data and cell data.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
Operation * GetNextOperation(Operation *op)
represent and manipulate fields of data