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 
75  int port, vtkInformation* info);
76 
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
vtkStdString.h
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:55
vtkVariant.h
vtkPBGLConnectedComponents::~vtkPBGLConnectedComponents
~vtkPBGLConnectedComponents()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkPBGLConnectedComponents
Compute connected components for a distributed vtkGraph.
Definition: vtkPBGLConnectedComponents.h:50
vtkPBGLConnectedComponents::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSelection
A node in a selection tree.
Definition: vtkSelection.h:44
vtkPBGLConnectedComponents::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkGraphAlgorithm.h
vtkPBGLConnectedComponents::vtkPBGLConnectedComponents
vtkPBGLConnectedComponents()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkPBGLConnectedComponents::New
static vtkPBGLConnectedComponents * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPBGLConnectedComponents::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
vtkPBGLConnectedComponents::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.