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 
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:43
Superclass for algorithms that produce only graph as output.
Proxy object to connect input/output ports.
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_INFOVIS_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
return a subgraph of a vtkGraph
virtual int FillInputPortInformation(int port, vtkInformation *info)