VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 "vtkInfovisParallelModule.h" // For export macro
38 #include "vtkStdString.h" // For string type
39 #include "vtkVariant.h" // For variant type
40 
41 #include "vtkGraphAlgorithm.h"
42 
43 class vtkSelection;
44 
45 class VTKINFOVISPARALLEL_EXPORT vtkPBGLConnectedComponents : public vtkGraphAlgorithm
46 {
47 public:
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
56  vtkSetStringMacro(ComponentArrayName);
58 
59 protected:
62 
63  virtual int RequestData(
67 
68  virtual int FillInputPortInformation(
69  int port, vtkInformation* info);
70 
71  virtual int FillOutputPortInformation(
72  int port, vtkInformation* info);
73 
74 private:
75  char* ComponentArrayName;
76 
77  vtkPBGLConnectedComponents(const vtkPBGLConnectedComponents&); // Not implemented.
78  void operator=(const vtkPBGLConnectedComponents&); // Not implemented.
79 };
80 
81 #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)