VTK  9.1.0
vtkGraphToPolyData.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkGraphToPolyData.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2008 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19-------------------------------------------------------------------------*/
35#ifndef vtkGraphToPolyData_h
36#define vtkGraphToPolyData_h
37
38#include "vtkFiltersSourcesModule.h" // For export macro
40
41class VTKFILTERSSOURCES_EXPORT vtkGraphToPolyData : public vtkPolyDataAlgorithm
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
57 vtkSetMacro(EdgeGlyphOutput, bool);
58 vtkGetMacro(EdgeGlyphOutput, bool);
59 vtkBooleanMacro(EdgeGlyphOutput, bool);
61
63
70 vtkSetMacro(EdgeGlyphPosition, double);
71 vtkGetMacro(EdgeGlyphPosition, double);
73
74protected:
76 ~vtkGraphToPolyData() override = default;
77
82
87
91 int FillInputPortInformation(int port, vtkInformation* info) override;
92
93private:
95 void operator=(const vtkGraphToPolyData&) = delete;
96};
97
98#endif
convert a vtkGraph to vtkPolyData
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:34
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