00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkKitwareContourFilter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00074 #ifndef __vtkKitwareContourFilter_h 00075 #define __vtkKitwareContourFilter_h 00076 00077 #include "vtkContourFilter.h" 00078 00079 class VTK_PATENTED_EXPORT vtkKitwareContourFilter : public vtkContourFilter 00080 { 00081 public: 00082 vtkTypeRevisionMacro(vtkKitwareContourFilter,vtkContourFilter); 00083 void PrintSelf(ostream& os, vtkIndent indent); 00084 00087 static vtkKitwareContourFilter *New(); 00088 00089 protected: 00090 vtkKitwareContourFilter(); 00091 ~vtkKitwareContourFilter(); 00092 00093 void ComputeInputUpdateExtents(vtkDataObject *data); 00094 void Execute(); 00095 void ExecuteInformation(); 00096 00097 //special contouring for structured points 00098 void StructuredPointsContour(int dim); 00099 //special contouring for structured grid 00100 void StructuredGridContour(int dim); 00101 //default if not structured data 00102 void DataSetContour(); 00103 private: 00104 vtkKitwareContourFilter(const vtkKitwareContourFilter&); // Not implemented. 00105 void operator=(const vtkKitwareContourFilter&); // Not implemented. 00106 }; 00107 00108 #endif 00109 00110