vtkSpreadSheetRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkSpreadSheetRepresentation_h
18 #define vtkSpreadSheetRepresentation_h
19 
20 #include "vtkNew.h" // needed for vtkNew.
22 #include "vtkRemotingViewsModule.h" //needed for exports
23 
24 class vtkDataTabulator;
25 class vtkCleanArrays;
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
38  vtkInformation* outInfo) override;
39 
43  void MarkModified() override { this->Superclass::MarkModified(); }
44 
45  vtkAlgorithmOutput* GetDataProducer();
46  vtkAlgorithmOutput* GetExtractedDataProducer();
47  vtkAlgorithmOutput* GetSelectionProducer();
48 
50 
53  void AddSelector(const char* selector);
54  void ClearSelectors();
55  void SetActiveAssemblyForSelectors(const char* name);
57 
58 protected:
60  ~vtkSpreadSheetRepresentation() override;
61 
63 
67  void SetGenerateCellConnectivity(bool);
68  void SetShowFieldData(bool);
69  void SetFieldAssociation(int val);
71 
76 
81 
82  bool ShowFieldData = false;
83 
86 
89 
90 private:
92  void operator=(const vtkSpreadSheetRepresentation&) = delete;
93 };
94 
95 #endif
vtkNew< vtkDataTabulator > DataConditioner
void MarkModified() override
Since this has no delivery, just mark ourselves modified.
#define VTKREMOTINGVIEWS_EXPORT
vtkPVDataRepresentation adds some ParaView specific API to data representations.
Representation for showing data in a vtkSpreadSheetView.
info
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
name
virtual int FillInputPortInformation(int port, vtkInformation *info)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkNew< vtkDataTabulator > ExtractedDataConditioner
vtkNew< vtkCleanArrays > ExtractedCleanArrays
filter used to remove partial arrays across processes.
static vtkDataRepresentation * New()
converts input data to a table (or composite-data of tables)
void PrintSelf(ostream &os, vtkIndent indent) override
port