45 #ifndef vtkMergeFields_h 46 #define vtkMergeFields_h 48 #include "vtkFiltersCoreModule.h" 69 void SetOutputField(
const char*
name,
int fieldLoc);
76 void SetOutputField(
const char*
name,
const char* fieldLoc);
81 void Merge(
int component,
const char* arrayName,
int sourceComp);
89 vtkGetMacro(NumberOfComponents,
int);
107 delete[] this->FieldName;
111 size_t len = strlen(
name)+1;
112 this->FieldName =
new char[len];
113 strncpy(this->FieldName,
name, len);
135 int NumberOfComponents;
138 static
char FieldLocationNames[3][12];
151 {
return this->Head; }
152 void AddComponent(Component* op);
153 Component* FindComponent(
int index);
154 void DeleteAllComponents();
156 void PrintComponent(Component* op, ostream& os,
vtkIndent indent);
157 void PrintAllComponents(ostream& os,
vtkIndent indent);
Merge multiple fields into one.
void SetName(const char *name)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
abstract superclass for arrays of numeric data
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
represent and manipulate fields of data