00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkBlankStructuredGridWithImage.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 =========================================================================*/ 00034 #ifndef __vtkBlankStructuredGridWithImage_h 00035 #define __vtkBlankStructuredGridWithImage_h 00036 00037 #include "vtkStructuredGridAlgorithm.h" 00038 00039 class vtkImageData; 00040 00041 class VTK_GRAPHICS_EXPORT vtkBlankStructuredGridWithImage : public vtkStructuredGridAlgorithm 00042 { 00043 public: 00044 static vtkBlankStructuredGridWithImage *New(); 00045 vtkTypeMacro(vtkBlankStructuredGridWithImage,vtkStructuredGridAlgorithm); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 00050 void SetBlankingInput(vtkImageData *input); 00051 vtkImageData *GetBlankingInput(); 00053 00054 protected: 00055 vtkBlankStructuredGridWithImage(); 00056 ~vtkBlankStructuredGridWithImage(); 00057 00058 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00059 virtual int FillInputPortInformation(int port, vtkInformation *info); 00060 00061 private: 00062 vtkBlankStructuredGridWithImage(const vtkBlankStructuredGridWithImage&); // Not implemented. 00063 void operator=(const vtkBlankStructuredGridWithImage&); // Not implemented. 00064 }; 00065 00066 #endif