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 
72  int port, vtkInformation* info);
73 
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
vtkStdString.h
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:54
vtkVariant.h
vtkPBGLConnectedComponents::~vtkPBGLConnectedComponents
~vtkPBGLConnectedComponents()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPBGLConnectedComponents
Compute connected components for a distributed vtkGraph. For directed graphs, this computes the conne...
Definition: vtkPBGLConnectedComponents.h:49
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPBGLConnectedComponents::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkSelection
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:45
vtkPBGLConnectedComponents::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkGraphAlgorithm.h
vtkPBGLConnectedComponents::vtkPBGLConnectedComponents
vtkPBGLConnectedComponents()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkPBGLConnectedComponents::New
static vtkPBGLConnectedComponents * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPBGLConnectedComponents::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkPBGLConnectedComponents::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)