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

Graphics/vtkBlankStructuredGrid.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkBlankStructuredGrid.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 =========================================================================*/
00039 #ifndef __vtkBlankStructuredGrid_h
00040 #define __vtkBlankStructuredGrid_h
00041 
00042 #include "vtkStructuredGridToStructuredGridFilter.h"
00043 
00044 class VTK_GRAPHICS_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridToStructuredGridFilter
00045 {
00046 public:
00047   static vtkBlankStructuredGrid *New();
00048   vtkTypeRevisionMacro(vtkBlankStructuredGrid,vtkStructuredGridToStructuredGridFilter);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00054   vtkSetMacro(MinBlankingValue,float);
00055   vtkGetMacro(MinBlankingValue,float);
00057 
00059 
00061   vtkSetMacro(MaxBlankingValue,float);
00062   vtkGetMacro(MaxBlankingValue,float);
00064 
00066 
00069   vtkSetStringMacro(ArrayName);
00070   vtkGetStringMacro(ArrayName);
00072 
00074 
00077   vtkSetMacro(ArrayId,int);
00078   vtkGetMacro(ArrayId,int);
00080 
00082 
00084   vtkSetClampMacro(Component,int,0,VTK_LARGE_INTEGER);
00085   vtkGetMacro(Component,int);
00087 
00088 protected:
00089   vtkBlankStructuredGrid();
00090   ~vtkBlankStructuredGrid();
00091 
00092   void Execute();
00093   
00094   float MinBlankingValue;
00095   float MaxBlankingValue;
00096   char  *ArrayName;
00097   int   ArrayId;
00098   int   Component;
00099   
00100 private:
00101   vtkBlankStructuredGrid(const vtkBlankStructuredGrid&);  // Not implemented.
00102   void operator=(const vtkBlankStructuredGrid&);  // Not implemented.
00103 };
00104 
00105 #endif
00106 
00107