VTK  9.3.0
vtkGraphToPolyData.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
25 #ifndef vtkGraphToPolyData_h
26 #define vtkGraphToPolyData_h
27 
28 #include "vtkFiltersSourcesModule.h" // For export macro
29 #include "vtkPolyDataAlgorithm.h"
30 
31 VTK_ABI_NAMESPACE_BEGIN
32 class VTKFILTERSSOURCES_EXPORT vtkGraphToPolyData : public vtkPolyDataAlgorithm
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
48  vtkSetMacro(EdgeGlyphOutput, bool);
49  vtkGetMacro(EdgeGlyphOutput, bool);
50  vtkBooleanMacro(EdgeGlyphOutput, bool);
52 
54 
61  vtkSetMacro(EdgeGlyphPosition, double);
62  vtkGetMacro(EdgeGlyphPosition, double);
64 
65 protected:
67  ~vtkGraphToPolyData() override = default;
68 
71  bool ArcEdges;
73 
78 
83 
84 private:
85  vtkGraphToPolyData(const vtkGraphToPolyData&) = delete;
86  void operator=(const vtkGraphToPolyData&) = delete;
87 };
88 
89 VTK_ABI_NAMESPACE_END
90 #endif
convert a vtkGraph to vtkPolyData
vtkIdType NumberOfArcSubdivisions
int FillInputPortInformation(int port, vtkInformation *info) override
Set the input type of the algorithm to vtkGraph.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Convert the vtkGraph into vtkPolyData.
static vtkGraphToPolyData * New()
~vtkGraphToPolyData() override=default
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkIdType
Definition: vtkType.h:315