00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkCollapseVerticesByArray.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 =========================================================================*/ 00023 #ifndef __vtkThresholdGraph_h 00024 #define __vtkThresholdGraph_h 00025 00026 #include "vtkGraphAlgorithm.h" 00027 00028 class VTK_INFOVIS_EXPORT vtkThresholdGraph : public vtkGraphAlgorithm 00029 { 00030 public: 00031 00032 static vtkThresholdGraph* New(); 00033 vtkTypeMacro(vtkThresholdGraph, vtkGraphAlgorithm); 00034 00035 void PrintSelf(ostream &os, vtkIndent indent); 00036 00038 00040 vtkGetMacro(LowerThreshold, double); 00041 vtkSetMacro(LowerThreshold, double); 00043 00045 00047 vtkGetMacro(UpperThreshold, double); 00048 vtkSetMacro(UpperThreshold, double); 00050 00051 //BTX 00052 protected: 00053 00054 vtkThresholdGraph(); 00055 ~vtkThresholdGraph(); 00056 00057 virtual int RequestData(vtkInformation*, 00058 vtkInformationVector**, 00059 vtkInformationVector*); 00060 00061 00062 private: 00063 00064 double LowerThreshold; 00065 double UpperThreshold; 00066 00067 00068 vtkThresholdGraph(const vtkThresholdGraph&); // Not implemented. 00069 void operator =(const vtkThresholdGraph&); // Not implemented. 00070 //ETX 00071 }; 00072 00073 #endif // __vtkThresholdGraph_h