48 #ifndef vtkMergeFields_h 49 #define vtkMergeFields_h 51 #include "vtkFiltersCoreModule.h" 72 void SetOutputField(
const char*
name,
int fieldLoc);
79 void SetOutputField(
const char*
name,
const char* fieldLoc);
84 void Merge(
int component,
const char* arrayName,
int sourceComp);
92 vtkGetMacro(NumberOfComponents,
int);
110 delete[] this->FieldName;
111 this->FieldName =
nullptr;
114 size_t len = strlen(
name)+1;
115 this->FieldName =
new char[len];
116 strncpy(this->FieldName,
name, len);
141 static char FieldLocationNames[3][12];
154 {
return this->Head; }
155 void AddComponent(Component* op);
156 Component* FindComponent(
int index);
157 void DeleteAllComponents();
159 void PrintComponent(Component* op, ostream& os,
vtkIndent indent);
160 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
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Component * GetNextComponent(Component *op)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
represent and manipulate fields of data