VTK
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-------------------------------------------------------------------------*/
41#ifndef vtkGraphToPolyData_h
42#define vtkGraphToPolyData_h
43
44#include "vtkFiltersSourcesModule.h" // For export macro
46
47class VTKFILTERSSOURCES_EXPORT vtkGraphToPolyData : public vtkPolyDataAlgorithm
48{
49public:
52 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
53
55
63 vtkSetMacro(EdgeGlyphOutput, bool);
64 vtkGetMacro(EdgeGlyphOutput, bool);
65 vtkBooleanMacro(EdgeGlyphOutput, bool);
67
69
76 vtkSetMacro(EdgeGlyphPosition, double);
77 vtkGetMacro(EdgeGlyphPosition, double);
79
80protected:
82 ~vtkGraphToPolyData() VTK_OVERRIDE {}
83
88
93
98
99private:
100 vtkGraphToPolyData(const vtkGraphToPolyData&) VTK_DELETE_FUNCTION;
101 void operator=(const vtkGraphToPolyData&) VTK_DELETE_FUNCTION;
102};
103
104#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.
~vtkGraphToPolyData() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Convert the vtkGraph into vtkPolyData.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int vtkIdType
Definition: vtkType.h:287