VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkBlankStructuredGrid.h 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 =========================================================================*/ 00035 #ifndef __vtkBlankStructuredGrid_h 00036 #define __vtkBlankStructuredGrid_h 00037 00038 #include "vtkFiltersGeneralModule.h" // For export macro 00039 #include "vtkStructuredGridAlgorithm.h" 00040 00041 class VTKFILTERSGENERAL_EXPORT vtkBlankStructuredGrid : public vtkStructuredGridAlgorithm 00042 { 00043 public: 00044 static vtkBlankStructuredGrid *New(); 00045 vtkTypeMacro(vtkBlankStructuredGrid,vtkStructuredGridAlgorithm); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 00051 vtkSetMacro(MinBlankingValue,double); 00052 vtkGetMacro(MinBlankingValue,double); 00054 00056 00058 vtkSetMacro(MaxBlankingValue,double); 00059 vtkGetMacro(MaxBlankingValue,double); 00061 00063 00066 vtkSetStringMacro(ArrayName); 00067 vtkGetStringMacro(ArrayName); 00069 00071 00074 vtkSetMacro(ArrayId,int); 00075 vtkGetMacro(ArrayId,int); 00077 00079 00081 vtkSetClampMacro(Component,int,0,VTK_INT_MAX); 00082 vtkGetMacro(Component,int); 00084 00085 protected: 00086 vtkBlankStructuredGrid(); 00087 ~vtkBlankStructuredGrid(); 00088 00089 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00090 00091 double MinBlankingValue; 00092 double MaxBlankingValue; 00093 char *ArrayName; 00094 int ArrayId; 00095 int Component; 00096 00097 private: 00098 vtkBlankStructuredGrid(const vtkBlankStructuredGrid&); // Not implemented. 00099 void operator=(const vtkBlankStructuredGrid&); // Not implemented. 00100 }; 00101 00102 #endif