Graphics/vtkBlankStructuredGrid.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00050 #ifndef __vtkBlankStructuredGrid_h
    00051 #define __vtkBlankStructuredGrid_h
    00052
    00053 #include "vtkStructuredGridToStructuredGridFilter.h"
    00054
    00055 class VTK_GRAPHICS_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridToStructuredGridFilter
    00056 {
    00057 public:
    00058   static vtkBlankStructuredGrid *New();
    00059   vtkTypeRevisionMacro(vtkBlankStructuredGrid,vtkStructuredGridToStructuredGridFilter);
    00060   void PrintSelf(ostream& os, vtkIndent indent);
    00061
    00063
    00065   vtkSetMacro(MinBlankingValue,float);
    00066   vtkGetMacro(MinBlankingValue,float);
    00068
    00070
    00072   vtkSetMacro(MaxBlankingValue,float);
    00073   vtkGetMacro(MaxBlankingValue,float);
    00075
    00077
    00080   vtkSetStringMacro(ArrayName);
    00081   vtkGetStringMacro(ArrayName);
    00083
    00085
    00088   vtkSetMacro(ArrayId,int);
    00089   vtkGetMacro(ArrayId,int);
    00091
    00093
    00095   vtkSetClampMacro(Component,int,0,VTK_LARGE_INTEGER);
    00096   vtkGetMacro(Component,int);
    00098
    00099 protected:
    00100   vtkBlankStructuredGrid();
    00101   ~vtkBlankStructuredGrid();
    00102
    00103   void Execute();
    00104
    00105   float MinBlankingValue;
    00106   float MaxBlankingValue;
    00107   char  *ArrayName;
    00108   int   ArrayId;
    00109   int   Component;
    00110
    00111 private:
    00112   vtkBlankStructuredGrid(const vtkBlankStructuredGrid&);  // Not implemented.
    00113   void operator=(const vtkBlankStructuredGrid&);  // Not implemented.
    00114 };
    00115
    00116 #endif
    00117
    00118