VTK  9.2.6
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-------------------------------------------------------------------------*/
50#ifndef vtkGraphToPolyData_h
51#define vtkGraphToPolyData_h
52
53#include "vtkFiltersSourcesModule.h" // For export macro
55
56class VTKFILTERSSOURCES_EXPORT vtkGraphToPolyData : public vtkPolyDataAlgorithm
57{
58public:
61 void PrintSelf(ostream& os, vtkIndent indent) override;
62
64
72 vtkSetMacro(EdgeGlyphOutput, bool);
73 vtkGetMacro(EdgeGlyphOutput, bool);
74 vtkBooleanMacro(EdgeGlyphOutput, bool);
76
78
85 vtkSetMacro(EdgeGlyphPosition, double);
86 vtkGetMacro(EdgeGlyphPosition, double);
88
89protected:
91 ~vtkGraphToPolyData() override = default;
92
97
102
106 int FillInputPortInformation(int port, vtkInformation* info) override;
107
108private:
109 vtkGraphToPolyData(const vtkGraphToPolyData&) = delete;
110 void operator=(const vtkGraphToPolyData&) = delete;
111};
112
113#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:49
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