VTK
vtkExtractSelectedRows.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectedRows.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
34 #ifndef __vtkExtractSelectedRows_h
35 #define __vtkExtractSelectedRows_h
36 
37 #include "vtkTableAlgorithm.h"
38 
39 
41 {
42 public:
43  static vtkExtractSelectedRows* New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
49  void SetSelectionConnection(vtkAlgorithmOutput* in);
50 
53  void SetAnnotationLayersConnection(vtkAlgorithmOutput* in);
54 
57 
59 
61  vtkSetMacro(AddOriginalRowIdsArray, bool);
62  vtkGetMacro(AddOriginalRowIdsArray, bool);
63  vtkBooleanMacro(AddOriginalRowIdsArray, bool);
65 
66 protected:
69 
70  int RequestData(
74 
76 private:
77  vtkExtractSelectedRows(const vtkExtractSelectedRows&); // Not implemented
78  void operator=(const vtkExtractSelectedRows&); // Not implemented
79 };
80 
81 #endif
82 
#define VTK_GRAPHICS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
Proxy object to connect input/output ports.
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int FillInputPortInformation(int port, vtkInformation *info)
return selected rows of a table
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.