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 -------------------------------------------------------------------------*/
36 #ifndef vtkPBGLConnectedComponents_h
37 #define vtkPBGLConnectedComponents_h
38 
39 #include "vtkInfovisParallelModule.h" // For export macro
40 #include "vtkStdString.h" // For string type
41 #include "vtkVariant.h" // For variant type
42 
43 #include "vtkGraphAlgorithm.h"
44 
45 class vtkSelection;
46 
47 #if !defined(VTK_LEGACY_REMOVE)
48 class VTKINFOVISPARALLEL_EXPORT vtkPBGLConnectedComponents : public vtkGraphAlgorithm
49 {
50 public:
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56 
59  vtkSetStringMacro(ComponentArrayName);
61 
62 protected:
65 
66  virtual int RequestData(
70 
71  virtual int FillInputPortInformation(
72  int port, vtkInformation* info);
73 
74  virtual int FillOutputPortInformation(
75  int port, vtkInformation* info);
76 
77 private:
78  char* ComponentArrayName;
79 
80  vtkPBGLConnectedComponents(const vtkPBGLConnectedComponents&); // Not implemented.
81  void operator=(const vtkPBGLConnectedComponents&); // Not implemented.
82 };
83 
84 #endif //VTK_LEGACY_REMOVE
85 #endif
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:44
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
Compute connected components for a distributed vtkGraph. For directed graphs, this computes the conne...
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
virtual int FillInputPortInformation(int port, vtkInformation *info)