VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkElevationFilter.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 =========================================================================*/ 00031 #ifndef __vtkElevationFilter_h 00032 #define __vtkElevationFilter_h 00033 00034 #include "vtkFiltersCoreModule.h" // For export macro 00035 #include "vtkDataSetAlgorithm.h" 00036 00037 class VTKFILTERSCORE_EXPORT vtkElevationFilter : public vtkDataSetAlgorithm 00038 { 00039 public: 00040 static vtkElevationFilter* New(); 00041 vtkTypeMacro(vtkElevationFilter, vtkDataSetAlgorithm); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00045 00047 vtkSetVector3Macro(LowPoint,double); 00048 vtkGetVectorMacro(LowPoint,double,3); 00050 00052 00054 vtkSetVector3Macro(HighPoint,double); 00055 vtkGetVectorMacro(HighPoint,double,3); 00057 00059 00060 vtkSetVector2Macro(ScalarRange,double); 00061 vtkGetVectorMacro(ScalarRange,double,2); 00063 00064 protected: 00065 vtkElevationFilter(); 00066 ~vtkElevationFilter(); 00067 00068 int RequestData(vtkInformation*, 00069 vtkInformationVector**, 00070 vtkInformationVector*); 00071 00072 double LowPoint[3]; 00073 double HighPoint[3]; 00074 double ScalarRange[2]; 00075 private: 00076 vtkElevationFilter(const vtkElevationFilter&); // Not implemented. 00077 void operator=(const vtkElevationFilter&); // Not implemented. 00078 }; 00079 00080 #endif