Go to the documentation of this file.
47 #ifndef vtkMergeFields_h
48 #define vtkMergeFields_h
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; }
virtual ~vtkMergeFields()
int MergeArray(vtkDataArray *in, vtkDataArray *out, int inComp, int outComp)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Component * FindComponent(int index)
#define vtkTypeMacro(thisClass, superclass)
void SetOutputField(const char *name, const char *fieldLoc)
void SetName(const char *name)
abstract superclass for arrays of numeric data
void AddComponent(Component *op)
represent and manipulate fields of data
void Merge(int component, const char *arrayName, int sourceComp)
void DeleteAllComponents()
Superclass for algorithms that produce output of the same type as input.
GLuint const GLchar * name
void PrintComponent(Component *op, ostream &os, vtkIndent indent)
#define VTKFILTERSCORE_EXPORT
static vtkMergeFields * New()
a simple class to control print indentation
void PrintAllComponents(ostream &os, vtkIndent indent)
void PrintSelf(ostream &os, vtkIndent indent)
#define vtkGetMacro(name, type)
Merge multiple fields into one.
vtkSetMacro(IgnoreDriverBugs, bool)
Component * GetNextComponent(Component *op)
void SetOutputField(const char *name, int fieldLoc)