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

vtkBlankStructuredGrid.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkBlankStructuredGrid.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 =========================================================================*/
00046 #ifndef __vtkBlankStructuredGrid_h
00047 #define __vtkBlankStructuredGrid_h
00048 
00049 #include "vtkStructuredGridToStructuredGridFilter.h"
00050 
00051 class VTK_GRAPHICS_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridToStructuredGridFilter
00052 {
00053 public:
00054   static vtkBlankStructuredGrid *New();
00055   vtkTypeRevisionMacro(vtkBlankStructuredGrid,vtkStructuredGridToStructuredGridFilter);
00056   void PrintSelf(ostream& os, vtkIndent indent);
00057 
00059 
00061   vtkSetMacro(MinBlankingValue,double);
00062   vtkGetMacro(MinBlankingValue,double);
00064 
00066 
00068   vtkSetMacro(MaxBlankingValue,double);
00069   vtkGetMacro(MaxBlankingValue,double);
00071 
00073 
00076   vtkSetStringMacro(ArrayName);
00077   vtkGetStringMacro(ArrayName);
00079 
00081 
00084   vtkSetMacro(ArrayId,int);
00085   vtkGetMacro(ArrayId,int);
00087 
00089 
00091   vtkSetClampMacro(Component,int,0,VTK_LARGE_INTEGER);
00092   vtkGetMacro(Component,int);
00094 
00095 protected:
00096   vtkBlankStructuredGrid();
00097   ~vtkBlankStructuredGrid();
00098 
00099   void Execute();
00100   
00101   double MinBlankingValue;
00102   double MaxBlankingValue;
00103   char  *ArrayName;
00104   int   ArrayId;
00105   int   Component;
00106   
00107 private:
00108   vtkBlankStructuredGrid(const vtkBlankStructuredGrid&);  // Not implemented.
00109   void operator=(const vtkBlankStructuredGrid&);  // Not implemented.
00110 };
00111 
00112 #endif
00113 
00114