ParaView
vtkSpreadSheetRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSpreadSheetRepresentation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkSpreadSheetRepresentation_h
30 #define vtkSpreadSheetRepresentation_h
31 
32 #include "vtkNew.h" // needed for vtkNew.
33 #include "vtkPVClientServerCoreRenderingModule.h" //needed for exports
35 
37 class vtkCleanArrays;
38 class VTKPVCLIENTSERVERCORERENDERING_EXPORT vtkSpreadSheetRepresentation
40 {
41 public:
42  static vtkSpreadSheetRepresentation* New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
49  virtual void MarkModified() { this->Superclass::MarkModified(); }
50 
51  vtkAlgorithmOutput* GetDataProducer();
52  vtkAlgorithmOutput* GetExtractedDataProducer();
53  vtkAlgorithmOutput* GetSelectionProducer();
54 
56 
59  void SetGenerateCellConnectivity(bool);
60  bool GetGenerateCellConnectivity();
62 
63  //***************************************************************************
64  // Forwarded to vtkBlockDeliveryPreprocessor.
65  void SetFieldAssociation(int val);
66  int GetFieldAssociation();
67 
69 
77  void AddCompositeDataSetIndex(unsigned int index);
78  void RemoveAllCompositeDataSetIndices();
80 
81 protected:
84 
88  virtual int FillInputPortInformation(int port, vtkInformation* info);
89 
93  virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
94 
95  vtkNew<vtkCleanArrays> CleanArrays;
96  vtkNew<vtkBlockDeliveryPreprocessor> DataConditioner;
97 
98  vtkNew<vtkCleanArrays> ExtractedCleanArrays;
99  vtkNew<vtkBlockDeliveryPreprocessor> ExtractedDataConditioner;
100 
101 private:
103  void operator=(const vtkSpreadSheetRepresentation&) VTK_DELETE_FUNCTION;
104 };
105 
106 #endif
void PrintSelf(ostream &os, vtkIndent indent)
vtkPVDataRepresentation adds some ParaView specific API to data representations.
vtkNew< vtkBlockDeliveryPreprocessor > ExtractedDataConditioner
Representation for showing data in a vtkSpreadSheetView.
filter used by block-delivery representation for pre-processing data.
virtual void MarkModified()
Since this has no delivery, just mark ourselves modified.
vtkNew< vtkCleanArrays > ExtractedCleanArrays
filter used to remove partial arrays across processes.
vtkNew< vtkBlockDeliveryPreprocessor > DataConditioner
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Overridden to invoke vtkCommand::UpdateDataEvent.