VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkRemoveHiddenData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRemoveHiddenData.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 __vtkRemoveHiddenData_h
35 #define __vtkRemoveHiddenData_h
36 
37 #include "vtkInfovisCoreModule.h" // For export macro
39 #include "vtkSmartPointer.h" // For Smartpointer
40 
43 
44 class VTKINFOVISCORE_EXPORT vtkRemoveHiddenData : public vtkPassInputTypeAlgorithm
45 {
46 public:
47  static vtkRemoveHiddenData *New();
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
51 protected:
54 
56 
57  int RequestData(
58  vtkInformation *, vtkInformationVector **, vtkInformationVector *);
60 
62  int FillInputPortInformation(int port, vtkInformation* info);
63 
64 private:
65  vtkRemoveHiddenData(const vtkRemoveHiddenData&); // Not implemented.
66  void operator=(const vtkRemoveHiddenData&); // Not implemented.
67 
68 //BTX
69  vtkSmartPointer<vtkExtractSelectedGraph> ExtractGraph;
70  vtkSmartPointer<vtkExtractSelectedRows> ExtractTable;
71 //ETX
72 };
73 
74 #endif
Superclass for algorithms that produce output of the same type as input.
virtual int FillInputPortInformation(int port, vtkInformation *info)
return selected rows of a table
void PrintSelf(ostream &os, vtkIndent indent)
return a subgraph of a vtkGraph
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkPassInputTypeAlgorithm * New()
Removes the rows/edges/vertices of input data flagged by ann.