12 #ifndef vtkSpreadSheetView_h
13 #define vtkSpreadSheetView_h
16 #include "vtkRemotingViewsModule.h"
40 vtkSetMacro(Identifier, vtkTypeUInt32);
41 vtkGetMacro(Identifier, vtkTypeUInt32);
68 void SetShowExtractedSelection(
bool);
69 vtkBooleanMacro(ShowExtractedSelection,
bool);
70 vtkGetMacro(ShowExtractedSelection,
bool);
77 vtkSetMacro(GenerateCellConnectivity,
bool);
78 vtkGetMacro(GenerateCellConnectivity,
bool);
79 vtkBooleanMacro(GenerateCellConnectivity,
bool);
87 vtkSetMacro(ShowFieldData,
bool);
88 vtkGetMacro(ShowFieldData,
bool);
89 vtkBooleanMacro(ShowFieldData,
bool);
97 vtkSetMacro(FieldAssociation,
int);
98 vtkGetMacro(FieldAssociation,
int);
111 void OrderColumnsByList(
bool enable);
112 void InitializeOrderedColumnList();
113 std::vector<std::string> GetOrderedColumnList();
114 void SetOrderedColumnList(std::vector<std::string> list);
115 void ClearOrderedColumnList();
123 void HideColumnByName(
const char* columnName);
124 bool IsColumnHiddenByName(
const char* columnName);
125 void ClearHiddenColumnsByName();
127 void HideColumnByLabel(
const char* columnLabel);
128 bool IsColumnHiddenByLabel(
const std::string& columnLabel);
129 void ClearHiddenColumnsByLabel();
148 virtual const char* GetColumnName(
vtkIdType index);
154 virtual bool IsColumnInternal(
vtkIdType index);
155 virtual bool IsColumnInternal(
const char* columnName);
168 virtual std::string GetColumnLabel(
vtkIdType index);
169 virtual std::string GetColumnLabel(
const char* columnName);
176 vtkIdType GetColumnByName(
const char* columnName);
181 virtual bool GetColumnVisibility(
vtkIdType index);
197 virtual bool IsRowSelected(
vtkIdType row);
215 void SetColumnNameToSort(
const char*);
222 void SetInvertSortOrder(
bool);
239 using Superclass::ClearCache;
254 int StreamToClient();
256 void OnRepresentationUpdated();
260 bool ShowExtractedSelection =
false;
261 bool GenerateCellConnectivity =
false;
262 bool ShowFieldData =
false;
275 FETCH_BLOCK_TAG = 394732
283 friend class vtkInternals;
284 vtkInternals* Internals;
285 bool SomethingUpdated;
287 int FieldAssociation;