47 #ifndef vtkMergeFields_h
48 #define vtkMergeFields_h
67 void SetOutputField(
const char*
name,
int fieldLoc);
72 void SetOutputField(
const char*
name,
const char* fieldLoc);
75 void Merge(
int component,
const char* arrayName,
int sourceComp);
80 vtkSetMacro(NumberOfComponents,
int);
81 vtkGetMacro(NumberOfComponents,
int);
102 delete[] this->FieldName;
106 this->FieldName =
new char[strlen(name)+1];
107 strcpy(this->FieldName, name);
135 static char FieldLocationNames[3][12];
148 {
return this->Head; }
149 void AddComponent(Component* op);
150 Component* FindComponent(
int index);
151 void DeleteAllComponents();
153 void PrintComponent(Component* op, ostream& os,
vtkIndent indent);
154 void PrintAllComponents(ostream& os,
vtkIndent indent);
Merge multiple fields into one.
#define VTKFILTERSCORE_EXPORT
void SetName(const char *name)
a simple class to control print indentation
abstract superclass for arrays of numeric data
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Component * GetNextComponent(Component *op)
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
represent and manipulate fields of data