VTK
|
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 "vtkInfovisCoreModule.h" // For export macro 00027 #include "vtkGraphAlgorithm.h" 00028 00029 class VTKINFOVISCORE_EXPORT vtkThresholdGraph : public vtkGraphAlgorithm 00030 { 00031 public: 00032 00033 static vtkThresholdGraph* New(); 00034 vtkTypeMacro(vtkThresholdGraph, vtkGraphAlgorithm); 00035 00036 void PrintSelf(ostream &os, vtkIndent indent); 00037 00039 00041 vtkGetMacro(LowerThreshold, double); 00042 vtkSetMacro(LowerThreshold, double); 00044 00046 00048 vtkGetMacro(UpperThreshold, double); 00049 vtkSetMacro(UpperThreshold, double); 00051 00052 //BTX 00053 protected: 00054 00055 vtkThresholdGraph(); 00056 ~vtkThresholdGraph(); 00057 00058 virtual int RequestData(vtkInformation*, 00059 vtkInformationVector**, 00060 vtkInformationVector*); 00061 00062 00063 private: 00064 00065 double LowerThreshold; 00066 double UpperThreshold; 00067 00068 00069 vtkThresholdGraph(const vtkThresholdGraph&); // Not implemented. 00070 void operator =(const vtkThresholdGraph&); // Not implemented. 00071 //ETX 00072 }; 00073 00074 #endif // __vtkThresholdGraph_h