VTK
vtkPBGLConnectedComponents.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPBGLConnectedComponents.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 __vtkPBGLConnectedComponents_h
35 #define __vtkPBGLConnectedComponents_h
36 
37 #include "vtkStdString.h" // For string type
38 #include "vtkVariant.h" // For variant type
39 
40 #include "vtkGraphAlgorithm.h"
41 
42 class vtkSelection;
43 
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
55  vtkSetStringMacro(ComponentArrayName);
57 
58 protected:
61 
62  virtual int RequestData(
63  vtkInformation *,
66 
67  virtual int FillInputPortInformation(
68  int port, vtkInformation* info);
69 
70  virtual int FillOutputPortInformation(
71  int port, vtkInformation* info);
72 
73 private:
74  char* ComponentArrayName;
75 
76  vtkPBGLConnectedComponents(const vtkPBGLConnectedComponents&); // Not implemented.
77  void operator=(const vtkPBGLConnectedComponents&); // Not implemented.
78 };
79 
80 #endif