VTK  9.6.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
24
25#ifndef vtkGraphToPolyData_h
26#define vtkGraphToPolyData_h
27
28#include "vtkFiltersSourcesModule.h" // For export macro
30#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
31
32VTK_ABI_NAMESPACE_BEGIN
33class VTKFILTERSSOURCES_EXPORT VTK_MARSHALAUTO vtkGraphToPolyData : public vtkPolyDataAlgorithm
34{
35public:
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
66protected:
68 ~vtkGraphToPolyData() override = default;
69
74
79
83 int FillInputPortInformation(int port, vtkInformation* info) override;
84
85private:
87 void operator=(const vtkGraphToPolyData&) = delete;
88};
89
90VTK_ABI_NAMESPACE_END
91#endif
vtkIdType NumberOfArcSubdivisions
static vtkGraphToPolyData * New()
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.
~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.
int vtkIdType
Definition vtkType.h:368
#define VTK_MARSHALAUTO