VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkPBGLCollapseGraph.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPBGLCollapseGraph.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 (c) Sandia Corporation
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
31 #ifndef __vtkPBGLCollapseGraph_h
32 #define __vtkPBGLCollapseGraph_h
33 
34 #include "vtkInfovisParallelModule.h" // For export macro
35 #include "vtkGraphAlgorithm.h"
36 
37 class VTKINFOVISPARALLEL_EXPORT vtkPBGLCollapseGraph : public vtkGraphAlgorithm
38 {
39 public:
40  static vtkPBGLCollapseGraph* New();
41  vtkTypeMacro(vtkPBGLCollapseGraph,vtkGraphAlgorithm);
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
44 protected:
47 
48  virtual int RequestData(
49  vtkInformation*,
50  vtkInformationVector**,
51  vtkInformationVector*);
52 
53 private:
54  vtkPBGLCollapseGraph(const vtkPBGLCollapseGraph&); // Not implemented
55  void operator=(const vtkPBGLCollapseGraph&); // Not implemented
56 };
57 
58 #endif
59 
collapse multiple vertices into a single vertex