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

Patented/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 =========================================================================*/
00058 #ifndef __vtkKitwareContourFilter_h
00059 #define __vtkKitwareContourFilter_h
00060 
00061 #include "vtkContourFilter.h"
00062 
00063 class VTK_PATENTED_EXPORT vtkKitwareContourFilter : public vtkContourFilter
00064 {
00065 public:
00066   vtkTypeRevisionMacro(vtkKitwareContourFilter,vtkContourFilter);
00067   void PrintSelf(ostream& os, vtkIndent indent);
00068 
00071   static vtkKitwareContourFilter *New();
00072 
00074 
00077   vtkSetMacro(ArrayComponent, int);
00078   vtkGetMacro(ArrayComponent, int);
00080 
00081 protected:
00082   vtkKitwareContourFilter();
00083   ~vtkKitwareContourFilter();
00084 
00085   void ComputeInputUpdateExtents(vtkDataObject *data);
00086   void Execute();
00087   void ExecuteInformation();
00088 
00089   //special contouring for structured points
00090   void StructuredPointsContour(int dim); 
00091   //special contouring for structured grid
00092   void StructuredGridContour(int dim);
00093   //special contouring for rectilinear grid
00094   void RectilinearGridContour(int dim);
00095   //default if not structured data
00096   void DataSetContour();
00097   
00098   int ArrayComponent;
00099   
00100 private:
00101   vtkKitwareContourFilter(const vtkKitwareContourFilter&);  // Not implemented.
00102   void operator=(const vtkKitwareContourFilter&);  // Not implemented.
00103 };
00104 
00105 #endif
00106 
00107