40 #ifndef vtkMergeFields_h
41 #define vtkMergeFields_h
43 #include "vtkFiltersCoreModule.h"
64 void SetOutputField(
const char*
name,
int fieldLoc);
71 void SetOutputField(
const char*
name,
const char* fieldLoc);
76 void Merge(
int component,
const char* arrayName,
int sourceComp);
83 vtkSetMacro(NumberOfComponents,
int);
84 vtkGetMacro(NumberOfComponents,
int);
102 delete[] this->FieldName;
103 this->FieldName =
nullptr;
106 size_t len = strlen(
name)+1;
107 this->FieldName =
new char[len];
109 strncpy_s(this->FieldName, len,
name, len - 1);
111 strncpy(this->FieldName,
name, len);
137 static char FieldLocationNames[3][12];
150 {
return this->Head; }
151 void AddComponent(Component* op);
152 Component* FindComponent(
int index);
153 void DeleteAllComponents();
155 void PrintComponent(Component* op, ostream& os,
vtkIndent indent);
156 void PrintAllComponents(ostream& os,
vtkIndent indent);