00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkBlankStructuredGridWithImage.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 =========================================================================*/ 00049 #ifndef __vtkBlankStructuredGridWithImage_h 00050 #define __vtkBlankStructuredGridWithImage_h 00051 00052 #include "vtkStructuredGridToStructuredGridFilter.h" 00053 00054 class vtkImageData; 00055 00056 class VTK_GRAPHICS_EXPORT vtkBlankStructuredGridWithImage : public vtkStructuredGridToStructuredGridFilter 00057 { 00058 public: 00059 static vtkBlankStructuredGridWithImage *New(); 00060 vtkTypeRevisionMacro(vtkBlankStructuredGridWithImage,vtkStructuredGridToStructuredGridFilter); 00061 void PrintSelf(ostream& os, vtkIndent indent); 00062 00064 00065 void SetBlankingInput(vtkImageData *input); 00066 vtkImageData *GetBlankingInput(); 00068 00069 protected: 00070 vtkBlankStructuredGridWithImage() {this->NumberOfRequiredInputs = 2;} 00071 ~vtkBlankStructuredGridWithImage() {} 00072 00073 void Execute(); 00074 private: 00075 vtkBlankStructuredGridWithImage(const vtkBlankStructuredGridWithImage&); // Not implemented. 00076 void operator=(const vtkBlankStructuredGridWithImage&); // Not implemented. 00077 }; 00078 00079 #endif 00080 00081