12 #ifndef vtkSpreadSheetView_h 13 #define vtkSpreadSheetView_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();
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;
return a sorted subset of the original table
void InteractiveRender() override
Triggers a interactive render.
Moves data from the server root node to the client.
#define VTKREMOTINGVIEWS_EXPORT
void SetColumnNameToSort()
vtkReductionFilter * ReductionFilter
vtkSpreadSheetView is a vtkPVView subclass for a view used to show any data as a spreadsheet.
void Update() override
Overridden to not call Update() directly on the input representations, instead use ProcessViewRequest...
vtkMarkSelectedRows * TableSelectionMarker
virtual void ClearCache(vtkPVDataRepresentation *)
Called by vtkPVDataRepresentation whenever vtkPVDataRepresentation::MarkModified is called...
baseclass for all ParaView views.
ValueType GetValue(vtkIdType valueIdx) const
vtkClientServerMoveData * DeliveryFilter
vtkSortedTableStreamer * TableStreamer
unsigned long CRMICallbackTag
unsigned long PRMICallbackTag
mark rows that are selected as such.
exporter used by certain views to export data as CSV.
void PrintSelf(ostream &os, vtkIndent indent) override
void StillRender() override
Triggers a high-resolution render.
A generic filter that can reduce any type of dataset using any reduction algorithm.