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 =========================================================================*/ 00038 #ifndef __vtkBlankStructuredGridWithImage_h 00039 #define __vtkBlankStructuredGridWithImage_h 00040 00041 #include "vtkStructuredGridToStructuredGridFilter.h" 00042 00043 class vtkImageData; 00044 00045 class VTK_GRAPHICS_EXPORT vtkBlankStructuredGridWithImage : public vtkStructuredGridToStructuredGridFilter 00046 { 00047 public: 00048 static vtkBlankStructuredGridWithImage *New(); 00049 vtkTypeRevisionMacro(vtkBlankStructuredGridWithImage,vtkStructuredGridToStructuredGridFilter); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00053 00054 void SetBlankingInput(vtkImageData *input); 00055 vtkImageData *GetBlankingInput(); 00057 00058 protected: 00059 vtkBlankStructuredGridWithImage() {this->NumberOfRequiredInputs = 2;} 00060 ~vtkBlankStructuredGridWithImage() {} 00061 00062 void Execute(); 00063 private: 00064 vtkBlankStructuredGridWithImage(const vtkBlankStructuredGridWithImage&); // Not implemented. 00065 void operator=(const vtkBlankStructuredGridWithImage&); // Not implemented. 00066 }; 00067 00068 #endif 00069 00070