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 "vtkPolyDataAlgorithm.h"
44 
46 {
47 public:
48  static vtkGraphToPolyData *New();
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
58  vtkSetMacro(EdgeGlyphOutput, bool);
59  vtkGetMacro(EdgeGlyphOutput, bool);
60  vtkBooleanMacro(EdgeGlyphOutput, bool);
62 
64 
68  vtkSetMacro(EdgeGlyphPosition, double);
69  vtkGetMacro(EdgeGlyphPosition, double);
71 
72 protected:
75 
78  bool ArcEdges;
80 
83 
86 
87 private:
88  vtkGraphToPolyData(const vtkGraphToPolyData&); // Not implemented.
89  void operator=(const vtkGraphToPolyData&); // Not implemented.
90 };
91 
92 #endif
#define VTK_GRAPHICS_EXPORT
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:255
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:37
Store zero or more vtkInformation instances.