Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkKitwareContourFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkKitwareContourFilter.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 =========================================================================*/
00071 #ifndef __vtkKitwareContourFilter_h
00072 #define __vtkKitwareContourFilter_h
00073 
00074 #include "vtkContourFilter.h"
00075 
00076 class VTK_PATENTED_EXPORT vtkKitwareContourFilter : public vtkContourFilter
00077 {
00078 public:
00079   vtkTypeRevisionMacro(vtkKitwareContourFilter,vtkContourFilter);
00080   void PrintSelf(ostream& os, vtkIndent indent);
00081 
00084   static vtkKitwareContourFilter *New();
00085 
00087 
00090   vtkSetMacro(ArrayComponent, int);
00091   vtkGetMacro(ArrayComponent, int);
00093 
00094 protected:
00095   vtkKitwareContourFilter();
00096   ~vtkKitwareContourFilter();
00097 
00098   void ComputeInputUpdateExtents(vtkDataObject *data);
00099   void Execute();
00100   void ExecuteInformation();
00101 
00102   //special contouring for structured points
00103   void StructuredPointsContour(int dim); 
00104   //special contouring for structured grid
00105   void StructuredGridContour(int dim);
00106   //special contouring for rectilinear grid
00107   void RectilinearGridContour(int dim);
00108   //default if not structured data
00109   void DataSetContour();
00110   
00111   int ArrayComponent;
00112   
00113 private:
00114   vtkKitwareContourFilter(const vtkKitwareContourFilter&);  // Not implemented.
00115   void operator=(const vtkKitwareContourFilter&);  // Not implemented.
00116 };
00117 
00118 #endif
00119 
00120