VTK  9.5.20250901
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
74#ifndef vtkGraphToPolyData_h
75#define vtkGraphToPolyData_h
76
77#include "vtkFiltersSourcesModule.h" // For export macro
79#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
80
81VTK_ABI_NAMESPACE_BEGIN
82class VTKFILTERSSOURCES_EXPORT VTK_MARSHALAUTO vtkGraphToPolyData : public vtkPolyDataAlgorithm
83{
84public:
87 void PrintSelf(ostream& os, vtkIndent indent) override;
88
90
98 vtkSetMacro(EdgeGlyphOutput, bool);
99 vtkGetMacro(EdgeGlyphOutput, bool);
100 vtkBooleanMacro(EdgeGlyphOutput, bool);
102
104
111 vtkSetMacro(EdgeGlyphPosition, double);
112 vtkGetMacro(EdgeGlyphPosition, double);
114
115protected:
117 ~vtkGraphToPolyData() override = default;
118
123
128
132 int FillInputPortInformation(int port, vtkInformation* info) override;
133
134private:
135 vtkGraphToPolyData(const vtkGraphToPolyData&) = delete;
136 void operator=(const vtkGraphToPolyData&) = delete;
137};
138
139VTK_ABI_NAMESPACE_END
140#endif
convert a vtkGraph to vtkPolyData
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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
int vtkIdType
Definition vtkType.h:332
#define VTK_MARSHALAUTO