VTK
dox/Infovis/vtkBoostExtractLargestComponent.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkBoostExtractLargestComponent.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00028 #ifndef __vtkBoostExtractLargestComponent_h
00029 #define __vtkBoostExtractLargestComponent_h
00030 
00031 #include "vtkGraphAlgorithm.h"
00032 
00033 class vtkGraph;
00034 
00035 class VTK_INFOVIS_EXPORT vtkBoostExtractLargestComponent : public vtkGraphAlgorithm
00036 {
00037 public:
00038   vtkTypeMacro(vtkBoostExtractLargestComponent, vtkGraphAlgorithm);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00043   static vtkBoostExtractLargestComponent* New();
00044 
00046 
00047   vtkSetMacro(InvertSelection, bool);
00048   vtkGetMacro(InvertSelection, bool);
00050 
00051 protected:
00052   vtkBoostExtractLargestComponent();
00053   ~vtkBoostExtractLargestComponent(){}
00054 
00055   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00056 
00058   bool InvertSelection;
00059 
00060 private:
00061   vtkBoostExtractLargestComponent(const vtkBoostExtractLargestComponent&);  // Not implemented.
00062   void operator=(const vtkBoostExtractLargestComponent&);  // Not implemented.
00063 };
00064 
00065 #endif