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 -------------------------------------------------------------------------*/
37 #ifndef vtkPBGLConnectedComponents_h
38 #define vtkPBGLConnectedComponents_h
39 
40 #include "vtkInfovisParallelModule.h" // For export macro
41 #include "vtkStdString.h" // For string type
42 #include "vtkVariant.h" // For variant type
43 
44 #include "vtkGraphAlgorithm.h"
45 
46 class vtkSelection;
47 
48 #if !defined(VTK_LEGACY_REMOVE)
49 class VTKINFOVISPARALLEL_EXPORT vtkPBGLConnectedComponents : public vtkGraphAlgorithm
50 {
51 public:
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
62  vtkSetStringMacro(ComponentArrayName);
64 
65 protected:
68 
69  virtual int RequestData(
73 
74  virtual int FillInputPortInformation(
75  int port, vtkInformation* info);
76 
77  virtual int FillOutputPortInformation(
78  int port, vtkInformation* info);
79 
80 private:
81  char* ComponentArrayName;
82 
83  vtkPBGLConnectedComponents(const vtkPBGLConnectedComponents&) VTK_DELETE_FUNCTION;
84  void operator=(const vtkPBGLConnectedComponents&) VTK_DELETE_FUNCTION;
85 };
86 
87 #endif //VTK_LEGACY_REMOVE
88 #endif
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
A node in a selection tree.
Definition: vtkSelection.h:43
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:39
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.