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-------------------------------------------------------------------------*/
84#ifndef vtkGraphToPolyData_h
85#define vtkGraphToPolyData_h
86
87#include "vtkFiltersSourcesModule.h" // For export macro
89
90class VTKFILTERSSOURCES_EXPORT vtkGraphToPolyData : public vtkPolyDataAlgorithm
91{
92public:
95 void PrintSelf(ostream& os, vtkIndent indent) override;
96
98
106 vtkSetMacro(EdgeGlyphOutput, bool);
107 vtkGetMacro(EdgeGlyphOutput, bool);
108 vtkBooleanMacro(EdgeGlyphOutput, bool);
110
112
119 vtkSetMacro(EdgeGlyphPosition, double);
120 vtkGetMacro(EdgeGlyphPosition, double);
122
123protected:
125 ~vtkGraphToPolyData() override = default;
126
131
136
141
142private:
143 vtkGraphToPolyData(const vtkGraphToPolyData&) = delete;
144 void operator=(const vtkGraphToPolyData&) = delete;
145};
146
147#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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkIdType
Definition: vtkType.h:332