VTK
vtkGraphToPoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGraphToPoints.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 -------------------------------------------------------------------------*/
34 #ifndef vtkGraphToPoints_h
35 #define vtkGraphToPoints_h
36 
37 #include "vtkFiltersGeneralModule.h" // For export macro
38 #include "vtkPolyDataAlgorithm.h"
39 
40 class VTKFILTERSGENERAL_EXPORT vtkGraphToPoints : public vtkPolyDataAlgorithm
41 {
42 public:
43  static vtkGraphToPoints *New();
45  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
46 
47 protected:
49  ~vtkGraphToPoints() VTK_OVERRIDE {}
50 
55 
59  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
60 
61 private:
62  vtkGraphToPoints(const vtkGraphToPoints&) VTK_DELETE_FUNCTION;
63  void operator=(const vtkGraphToPoints&) VTK_DELETE_FUNCTION;
64 };
65 
66 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
~vtkGraphToPoints() override
convert a vtkGraph a set of points.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.