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

# 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 =========================================================================*/
    00040 #ifndef __vtkDataSetToImageFilter_h
    00041 #define __vtkDataSetToImageFilter_h
    00042
    00043 #include "vtkImageSource.h"
    00044
    00045 class vtkDataSet;
    00046
    00047 class VTK_FILTERING_EXPORT vtkDataSetToImageFilter : public vtkImageSource
    00048 {
    00049 public:
    00050   vtkTypeRevisionMacro(vtkDataSetToImageFilter,vtkImageSource);
    00051   void PrintSelf(ostream& os, vtkIndent indent);
    00052
    00054
    00055   virtual void SetInput(vtkDataSet *input);
    00056   vtkDataSet *GetInput();
    00058
    00059 protected:
    00060   vtkDataSetToImageFilter() {this->NumberOfRequiredInputs = 1;};
    00061   ~vtkDataSetToImageFilter() {};
    00062
    00063   // All the DataSetToImageFilters require all their input.
    00064   void ComputeInputUpdateExtents(vtkDataObject *output);
    00065
    00066 private:
    00067   vtkDataSetToImageFilter(const vtkDataSetToImageFilter&);  // Not implemented.
    00068   void operator=(const vtkDataSetToImageFilter&);  // Not implemented.
    00069 };
    00070
    00071 #endif
    00072
    00073
    00074
    00075
    00076