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 size_t len = strlen(name)+1;
107 this->FieldName =
new char[len];
108 strncpy(this->FieldName, name, len);
136 static char FieldLocationNames[3][12];
149 {
return this->Head; }
150 void AddComponent(Component* op);
151 Component* FindComponent(
int index);
152 void DeleteAllComponents();
154 void PrintComponent(Component* op, ostream& os,
vtkIndent indent);
155 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