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
45 #include "vtkPolyDataAlgorithm.h"
46 
47 class VTKFILTERSSOURCES_EXPORT vtkGraphToPolyData : public vtkPolyDataAlgorithm
48 {
49 public:
50  static vtkGraphToPolyData *New();
52  void PrintSelf(ostream& os, vtkIndent indent) 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 
80 protected:
82  ~vtkGraphToPolyData() override {}
83 
86  bool ArcEdges;
88 
93 
98 
99 private:
100  vtkGraphToPolyData(const vtkGraphToPolyData&) = delete;
101  void operator=(const vtkGraphToPolyData&) = delete;
102 };
103 
104 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int vtkIdType
Definition: vtkType.h:347
vtkIdType NumberOfArcSubdivisions
static vtkPolyDataAlgorithm * New()
convert a vtkGraph to vtkPolyData
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
~vtkGraphToPolyData() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.