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
vtkGraphToPolyData
convert a vtkGraph to vtkPolyData
Definition: vtkGraphToPolyData.h:47
vtkGraphToPolyData::~vtkGraphToPolyData
~vtkGraphToPolyData() override
Definition: vtkGraphToPolyData.h:82
vtkIdType
int vtkIdType
Definition: vtkType.h:347
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGraphToPolyData::EdgeGlyphPosition
double EdgeGlyphPosition
Definition: vtkGraphToPolyData.h:85
vtkGraphToPolyData::NumberOfArcSubdivisions
vtkIdType NumberOfArcSubdivisions
Definition: vtkGraphToPolyData.h:87
vtkPolyDataAlgorithm.h
vtkX3D::port
Definition: vtkX3D.h:447
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGraphToPolyData::ArcEdges
bool ArcEdges
Definition: vtkGraphToPolyData.h:86
vtkPolyDataAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
Definition: vtkX3D.h:376
vtkGraphToPolyData::EdgeGlyphOutput
bool EdgeGlyphOutput
Definition: vtkGraphToPolyData.h:84
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44