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 -------------------------------------------------------------------------*/
35 #ifndef vtkGraphToPolyData_h
36 #define vtkGraphToPolyData_h
37 
38 #include "vtkFiltersSourcesModule.h" // For export macro
39 #include "vtkPolyDataAlgorithm.h"
40 
41 class VTKFILTERSSOURCES_EXPORT vtkGraphToPolyData : public vtkPolyDataAlgorithm
42 {
43 public:
44  static vtkGraphToPolyData *New();
46  void PrintSelf(ostream& os, vtkIndent indent) VTK_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 
74 protected:
76  ~vtkGraphToPolyData() VTK_OVERRIDE {}
77 
80  bool ArcEdges;
82 
87 
91  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
92 
93 private:
94  vtkGraphToPolyData(const vtkGraphToPolyData&) VTK_DELETE_FUNCTION;
95  void operator=(const vtkGraphToPolyData&) VTK_DELETE_FUNCTION;
96 };
97 
98 #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:345
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:33
~vtkGraphToPolyData() override
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.