VTK
vtkExtractSelectedGraph.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectedGraph.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 -------------------------------------------------------------------------*/
42 #ifndef __vtkExtractSelectedGraph_h
43 #define __vtkExtractSelectedGraph_h
44 
45 #include "vtkGraphAlgorithm.h"
46 
47 class vtkSelection;
48 class vtkDataSet;
49 
51 {
52 public:
53  static vtkExtractSelectedGraph* New();
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
59  void SetSelectionConnection(vtkAlgorithmOutput* in);
60 
63  void SetAnnotationLayersConnection(vtkAlgorithmOutput* in);
64 
66 
69  vtkSetMacro(RemoveIsolatedVertices, bool);
70  vtkGetMacro(RemoveIsolatedVertices, bool);
71  vtkBooleanMacro(RemoveIsolatedVertices, bool);
73 
76 
77 protected:
80 
81  int RequestData(
85 
90 
92 
93 private:
94  vtkExtractSelectedGraph(const vtkExtractSelectedGraph&); // Not implemented
95  void operator=(const vtkExtractSelectedGraph&); // Not implemented
96 };
97 
98 #endif
99