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) 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 
80 protected:
82  ~vtkGraphToPolyData() VTK_OVERRIDE {}
83 
86  bool ArcEdges;
88 
93 
97  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
98 
99 private:
100  vtkGraphToPolyData(const vtkGraphToPolyData&) VTK_DELETE_FUNCTION;
101  void operator=(const vtkGraphToPolyData&) VTK_DELETE_FUNCTION;
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:287
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
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.