VTK  9.3.20240419
vtkExtractSelectedGraph.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
24 #ifndef vtkExtractSelectedGraph_h
25 #define vtkExtractSelectedGraph_h
26 
27 #include "vtkGraphAlgorithm.h"
28 #include "vtkInfovisCoreModule.h" // For export macro
29 
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkSelection;
32 class vtkDataSet;
33 
34 class VTKINFOVISCORE_EXPORT vtkExtractSelectedGraph : public vtkGraphAlgorithm
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
45 
50 
52 
57  vtkSetMacro(RemoveIsolatedVertices, bool);
58  vtkGetMacro(RemoveIsolatedVertices, bool);
59  vtkBooleanMacro(RemoveIsolatedVertices, bool);
61 
66 
67 protected:
70 
72 
74 
76 
77 private:
79  void operator=(const vtkExtractSelectedGraph&) = delete;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #endif
Proxy object to connect input/output ports.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
return a subgraph of a vtkGraph
void SetAnnotationLayersConnection(vtkAlgorithmOutput *in)
A convenience method for setting the third input (i.e.
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first vtkGraph input and the second vtkSelection input.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkExtractSelectedGraph() override
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
static vtkExtractSelectedGraph * New()
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
data object that represents a "selection" in VTK.
Definition: vtkSelection.h:159
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447