• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Infovis/vtkExtractSelectedGraph.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkExtractSelectedGraph.h,v $
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 =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00037 #ifndef __vtkExtractSelectedGraph_h
00038 #define __vtkExtractSelectedGraph_h
00039 
00040 #include "vtkGraphAlgorithm.h"
00041 
00042 class vtkSelection;
00043 class vtkDataSet;
00044 
00045 class VTK_INFOVIS_EXPORT vtkExtractSelectedGraph : public vtkGraphAlgorithm
00046 {
00047 public:
00048   static vtkExtractSelectedGraph* New();
00049   vtkTypeRevisionMacro(vtkExtractSelectedGraph,vtkGraphAlgorithm);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051 
00054   void SetSelectionConnection(vtkAlgorithmOutput* in);
00055   
00057 
00060   vtkSetMacro(RemoveIsolatedVertices, bool);
00061   vtkGetMacro(RemoveIsolatedVertices, bool);
00062   vtkBooleanMacro(RemoveIsolatedVertices, bool);
00064 
00066   int FillInputPortInformation(int port, vtkInformation* info);
00067 
00068 protected:
00069   vtkExtractSelectedGraph();
00070   ~vtkExtractSelectedGraph();
00071 
00072   int RequestData(
00073     vtkInformation*, 
00074     vtkInformationVector**, 
00075     vtkInformationVector*);
00076   
00077   int RequestDataObject(
00078     vtkInformation*, 
00079     vtkInformationVector**, 
00080     vtkInformationVector*);
00081   
00082   bool RemoveIsolatedVertices;
00083 
00084 private:
00085   vtkExtractSelectedGraph(const vtkExtractSelectedGraph&); // Not implemented
00086   void operator=(const vtkExtractSelectedGraph&);   // Not implemented
00087 };
00088 
00089 #endif
00090 

Generated by  doxygen 1.7.1