26 #ifndef vtkDataArraySelection_h
27 #define vtkDataArraySelection_h
29 #include "vtkCommonCoreModule.h"
32 class vtkDataArraySelectionInternals;
45 void EnableArray(
const char*
name);
51 void DisableArray(
const char*
name);
57 int ArrayIsEnabled(
const char*
name);
62 int ArrayExists(
const char*
name);
67 void EnableAllArrays();
72 void DisableAllArrays();
77 int GetNumberOfArrays();
82 int GetNumberOfArraysEnabled();
87 const char* GetArrayName(
int index);
92 int GetArrayIndex(
const char *
name);
98 int GetEnabledArrayIndex(
const char*
name);
106 return this->GetArraySetting(this->GetArrayIndex(name));
108 int GetArraySetting(
int index);
114 void RemoveAllArrays();
123 int AddArray(
const char*
name);
128 void RemoveArrayByIndex(
int index);
133 void RemoveArrayByName(
const char*
name);
146 void SetArrays(
const char*
const* names,
int numArrays);
147 void SetArraysWithDefault(
const char*
const* names,
int numArrays,
161 vtkDataArraySelectionInternals* Internal;
abstract base class for most VTK objects
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
Store on/off settings for data arrays for a vtkSource.
int GetArraySetting(const char *name)
Get whether the array at the given index is enabled.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...