 |
VTK
9.1.0
|
Go to the documentation of this file.
26 #ifndef vtkDataArraySelection_h
27 #define vtkDataArraySelection_h
29 #include "vtkCommonCoreModule.h"
32 class vtkDataArraySelectionInternals;
180 void SetArrays(
const char*
const* names,
int numArrays);
211 vtkSetMacro(UnknownArraySetting,
int);
212 vtkGetMacro(UnknownArraySetting,
int);
void CopySelections(vtkDataArraySelection *selections)
Copy the selections from the given vtkDataArraySelection instance.
void DisableAllArrays()
Disable all arrays that currently have an entry.
int GetArrayIndex(const char *name) const
Get an index of the array with the given name.
void EnableArray(const char *name)
Enable the array with the given name.
void Union(vtkDataArraySelection *other, bool skipModified)
Update this to include values from other.
void SetArrays(const char *const *names, int numArrays)
Set the list of arrays that have entries.
vtkDataArraySelectionInternals * Internal
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
void Union(vtkDataArraySelection *other)
Update this to include values from other.
Store on/off settings for data arrays for a vtkSource.
void SetArraysWithDefault(const char *const *names, int numArrays, int defaultStatus)
Set the list of arrays that have entries.
static vtkDataArraySelection * New()
int GetNumberOfArraysEnabled() const
Get the number of arrays that are enabled.
a simple class to control print indentation
void RemoveArrayByIndex(int index)
Remove an array setting given its index.
void SetArraySetting(const char *name, int setting)
Set array setting given the name.
int GetEnabledArrayIndex(const char *name) const
Get the index of an array with the given name among those that are enabled.
int ArrayIsEnabled(const char *name) const
Return whether the array with the given name is enabled.
void EnableAllArrays()
Enable all arrays that currently have an entry.
int GetArraySetting(int index) const
Get whether the array at the given index is enabled.
const char * GetArrayName(int index) const
Get the name of the array entry at the given index.
void RemoveAllArrays()
Remove all array entries.
void DisableArray(const char *name)
Disable the array with the given name.
int GetNumberOfArrays() const
Get the number of arrays that currently have an entry.
int ArrayExists(const char *name) const
Return whether the array with the given name exists.
void RemoveArrayByName(const char *name)
Remove an array setting given its name.
~vtkDataArraySelection() override
int GetArraySetting(const char *name) const
Get whether the array is enabled/disable using its name.
int AddArray(const char *name, bool state=true)
Add to the list of arrays that have entries.