ParaView
vtkMarkSelectedRows.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: $RCSfile$
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 =========================================================================*/
28 #ifndef vtkMarkSelectedRows_h
29 #define vtkMarkSelectedRows_h
30 
31 #include "vtkDataObjectAlgorithm.h"
32 #include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
33 
34 class vtkTable;
35 
36 class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkMarkSelectedRows : public vtkDataObjectAlgorithm
37 {
38 public:
39  static vtkMarkSelectedRows* New();
40  vtkTypeMacro(vtkMarkSelectedRows, vtkDataObjectAlgorithm);
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
57  vtkSetMacro(FieldAssociation, int);
58  vtkGetMacro(FieldAssociation, int);
60 
61 protected:
64 
65  virtual int FillInputPortInformation(int port, vtkInformation* info);
66  virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
67 
72  virtual int RequestDataObject(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
73 
78  int RequestDataInternal(vtkTable* input, vtkTable* extractedInput, vtkTable* output);
79 
81 
82 private:
83  vtkMarkSelectedRows(const vtkMarkSelectedRows&) VTK_DELETE_FUNCTION;
84  void operator=(const vtkMarkSelectedRows&) VTK_DELETE_FUNCTION;
85 };
86 
87 #endif
vtkMarkSelectedRows is used by vtkSpreadSheetView to marks rows from the vtkTable generated by vtkSor...