VTK  9.7.1
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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKFILTERSSOURCES_EXPORT VTK_MARSHALAUTO vtkGraphToPolyData : public vtkPolyDataAlgorithm
34 {
35 public:
36  static vtkGraphToPolyData* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
41 
49  vtkSetMacro(EdgeGlyphOutput, bool);
50  vtkGetMacro(EdgeGlyphOutput, bool);
51  vtkBooleanMacro(EdgeGlyphOutput, bool);
53 
55 
62  vtkSetMacro(EdgeGlyphPosition, double);
63  vtkGetMacro(EdgeGlyphPosition, double);
65 
66 protected:
68  ~vtkGraphToPolyData() override = default;
69 
72  bool ArcEdges;
74 
79 
84 
85 private:
86  vtkGraphToPolyData(const vtkGraphToPolyData&) = delete;
87  void operator=(const vtkGraphToPolyData&) = delete;
88 };
89 
90 VTK_ABI_NAMESPACE_END
91 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int vtkIdType
Definition: vtkType.h:363
vtkIdType NumberOfArcSubdivisions
static vtkPolyDataAlgorithm * New()
convert a vtkGraph to vtkPolyData
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.