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 "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 #if !defined(VTK_LEGACY_REMOVE)
46 class VTKINFOVISPARALLEL_EXPORT vtkPBGLConnectedComponents : public vtkGraphAlgorithm
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
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&) VTK_DELETE_FUNCTION;
81  void operator=(const vtkPBGLConnectedComponents&) VTK_DELETE_FUNCTION;
82 };
83 
84 #endif //VTK_LEGACY_REMOVE
85 #endif
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
A node in a selection tree.
Definition: vtkSelection.h:37
Superclass for algorithms that produce only graph as output.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:33
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Compute connected components for a distributed vtkGraph.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store zero or more vtkInformation instances.