vtkDataArraySelection.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00036 #ifndef __vtkDataArraySelection_h
00037 #define __vtkDataArraySelection_h
00038
00039 #include "vtkObject.h"
00040
00041 class vtkDataArraySelectionArrayNamesType;
00042 class vtkDataArraySelectionArraySettingsType;
00043
00044 class VTK_COMMON_EXPORT vtkDataArraySelection : public vtkObject
00045 {
00046 public:
00047 vtkTypeRevisionMacro(vtkDataArraySelection,vtkObject);
00048 void PrintSelf(ostream& os, vtkIndent indent);
00049 static vtkDataArraySelection* New();
00050
00053 void EnableArray(const char* name);
00054
00057 void DisableArray(const char* name);
00058
00061 int ArrayIsEnabled(const char* name);
00062
00064 int ArrayExists(const char* name);
00065
00067 void EnableAllArrays();
00068
00070 void DisableAllArrays();
00071
00073 int GetNumberOfArrays();
00074
00076 const char* GetArrayName(int index);
00077
00079 int GetArraySetting(int index);
00080
00082 void RemoveAllArrays();
00083
00084
00089 int AddArray(const char* name);
00090
00092
00100 void SetArrays(const char* const* names, int numArrays);
00101 void SetArraysWithDefault(const char* const* names, int numArrays,
00102 int defaultStatus);
00103
00105
00107 void CopySelections(vtkDataArraySelection* selections);
00108 protected:
00109 vtkDataArraySelection();
00110 ~vtkDataArraySelection();
00111
00112
00113 vtkDataArraySelectionArrayNamesType* ArrayNames;
00114
00115
00116 vtkDataArraySelectionArraySettingsType* ArraySettings;
00117
00118 private:
00119 vtkDataArraySelection(const vtkDataArraySelection&);
00120 void operator=(const vtkDataArraySelection&);
00121 };
00122
00123 #endif