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 "vtkInfovisCoreModule.h" // For export macro
46 #include "vtkGraphAlgorithm.h"
47 
48 class vtkSelection;
49 class vtkDataSet;
50 
52 {
53 public:
54  static vtkExtractSelectedGraph* New();
56  void PrintSelf(ostream& os, vtkIndent indent);
57 
60  void SetSelectionConnection(vtkAlgorithmOutput* in);
61 
64  void SetAnnotationLayersConnection(vtkAlgorithmOutput* in);
65 
67 
70  vtkSetMacro(RemoveIsolatedVertices, bool);
71  vtkGetMacro(RemoveIsolatedVertices, bool);
72  vtkBooleanMacro(RemoveIsolatedVertices, bool);
74 
77 
78 protected:
81 
82  int RequestData(
86 
91 
93 
94 private:
95  vtkExtractSelectedGraph(const vtkExtractSelectedGraph&); // Not implemented
96  void operator=(const vtkExtractSelectedGraph&); // Not implemented
97 };
98 
99 #endif
100 
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:44
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:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKINFOVISCORE_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)