Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Filtering/vtkDataSetToImageFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkDataSetToImageFilter.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 =========================================================================*/ 00029 #ifndef __vtkDataSetToImageFilter_h 00030 #define __vtkDataSetToImageFilter_h 00031 00032 #include "vtkImageSource.h" 00033 00034 class vtkDataSet; 00035 00036 class VTK_FILTERING_EXPORT vtkDataSetToImageFilter : public vtkImageSource 00037 { 00038 public: 00039 vtkTypeRevisionMacro(vtkDataSetToImageFilter,vtkImageSource); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00044 virtual void SetInput(vtkDataSet *input); 00045 vtkDataSet *GetInput(); 00047 00048 protected: 00049 vtkDataSetToImageFilter() {this->NumberOfRequiredInputs = 1;}; 00050 ~vtkDataSetToImageFilter() {}; 00051 00052 // All the DataSetToImageFilters require all their input. 00053 void ComputeInputUpdateExtents(vtkDataObject *output); 00054 00055 private: 00056 vtkDataSetToImageFilter(const vtkDataSetToImageFilter&); // Not implemented. 00057 void operator=(const vtkDataSetToImageFilter&); // Not implemented. 00058 }; 00059 00060 #endif 00061 00062 00063 00064 00065