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 -------------------------------------------------------------------------*/
40 #ifndef vtkGraphToPolyData_h
41 #define vtkGraphToPolyData_h
42 
43 #include "vtkFiltersSourcesModule.h" // For export macro
44 #include "vtkPolyDataAlgorithm.h"
45 
47 {
48 public:
49  static vtkGraphToPolyData *New();
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
59  vtkSetMacro(EdgeGlyphOutput, bool);
60  vtkGetMacro(EdgeGlyphOutput, bool);
61  vtkBooleanMacro(EdgeGlyphOutput, bool);
63 
65 
69  vtkSetMacro(EdgeGlyphPosition, double);
70  vtkGetMacro(EdgeGlyphPosition, double);
72 
73 protected:
76 
79  bool ArcEdges;
81 
84 
87 
88 private:
89  vtkGraphToPolyData(const vtkGraphToPolyData&); // Not implemented.
90  void operator=(const vtkGraphToPolyData&); // Not implemented.
91 };
92 
93 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int vtkIdType
Definition: vtkType.h:247
vtkIdType NumberOfArcSubdivisions
static vtkPolyDataAlgorithm * New()
convert a vtkGraph to vtkPolyData
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKFILTERSSOURCES_EXPORT
Store zero or more vtkInformation instances.