VTK
9.1.0
|
helper to identify requested arrays with More...
#include <vtkXdmf3ArraySelection.h>
Inherits std::map< std::string, bool >.
Public Member Functions | |
void | Merge (const vtkXdmf3ArraySelection &other) |
used in parallel to send of combine sets More... | |
void | AddArray (const char *name, bool status=true) |
add a new array to the set, with a particular status More... | |
bool | ArrayIsEnabled (const char *name) |
test if a particular array is enablled or not More... | |
bool | HasArray (const char *name) |
check if a particular array is in the set yet or not More... | |
const char * | GetArrayName (int index) |
get string name of a particular array More... | |
int | GetNumberOfArrays () |
get number of arrays in the set More... | |
void | SetArrayStatus (const char *name, bool status) |
get/set user choice of whether a particular array is to be loaded More... | |
int | GetArraySetting (const char *name) |
get/set user choice of whether a particular array is to be loaded More... | |
helper to identify requested arrays with
Used by ParaView GUI to mark arrays, sets, and blocks that reader can optionally read in. Note: we use it for more than just arrays but Paraview code requires "Array" name in the API.
This file is a helper for the vtkXdmf3Reader and not intended to be part of VTK public API
Definition at line 40 of file vtkXdmf3ArraySelection.h.
void vtkXdmf3ArraySelection::Merge | ( | const vtkXdmf3ArraySelection & | other | ) |
used in parallel to send of combine sets
void vtkXdmf3ArraySelection::AddArray | ( | const char * | name, |
bool | status = true |
||
) |
add a new array to the set, with a particular status
bool vtkXdmf3ArraySelection::ArrayIsEnabled | ( | const char * | name | ) |
test if a particular array is enablled or not
bool vtkXdmf3ArraySelection::HasArray | ( | const char * | name | ) |
check if a particular array is in the set yet or not
void vtkXdmf3ArraySelection::SetArrayStatus | ( | const char * | name, |
bool | status | ||
) |
get/set user choice of whether a particular array is to be loaded
int vtkXdmf3ArraySelection::GetArraySetting | ( | const char * | name | ) |
get/set user choice of whether a particular array is to be loaded
const char * vtkXdmf3ArraySelection::GetArrayName | ( | int | index | ) |
get string name of a particular array
int vtkXdmf3ArraySelection::GetNumberOfArrays | ( | ) |
get number of arrays in the set