VTK
dox/Infovis/BoostGraphAlgorithms/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 "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
00032 #include "vtkGraphAlgorithm.h"
00033 
00034 class vtkGraph;
00035 
00036 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostExtractLargestComponent : public vtkGraphAlgorithm
00037 {
00038 public:
00039   vtkTypeMacro(vtkBoostExtractLargestComponent, vtkGraphAlgorithm);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00044   static vtkBoostExtractLargestComponent* New();
00045 
00047 
00048   vtkSetMacro(InvertSelection, bool);
00049   vtkGetMacro(InvertSelection, bool);
00051 
00052 protected:
00053   vtkBoostExtractLargestComponent();
00054   ~vtkBoostExtractLargestComponent(){}
00055 
00056   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00057 
00059   bool InvertSelection;
00060 
00061 private:
00062   vtkBoostExtractLargestComponent(const vtkBoostExtractLargestComponent&);  // Not implemented.
00063   void operator=(const vtkBoostExtractLargestComponent&);  // Not implemented.
00064 };
00065 
00066 #endif