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

vtkDataSetToImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataSetToImageFilter.h,v $
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 =========================================================================*/
00037 #ifndef __vtkDataSetToImageFilter_h
00038 #define __vtkDataSetToImageFilter_h
00039 
00040 #include "vtkImageSource.h"
00041 
00042 class vtkDataSet;
00043 
00044 class VTK_FILTERING_EXPORT vtkDataSetToImageFilter : public vtkImageSource
00045 {
00046 public:
00047   vtkTypeRevisionMacro(vtkDataSetToImageFilter,vtkImageSource);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00052   virtual void SetInput(vtkDataSet *input);
00053   vtkDataSet *GetInput();
00055   
00056 protected:
00057   vtkDataSetToImageFilter();
00058   ~vtkDataSetToImageFilter();
00059 
00060   // All the DataSetToImageFilters require all their input.
00061   void ComputeInputUpdateExtents(vtkDataObject *output);
00062 
00063   virtual int FillInputPortInformation(int, vtkInformation*);
00064 
00065 private:
00066   vtkDataSetToImageFilter(const vtkDataSetToImageFilter&);  // Not implemented.
00067   void operator=(const vtkDataSetToImageFilter&);  // Not implemented.
00068 };
00069 
00070 #endif
00071 
00072 
00073 
00074 
00075