dox/Filtering/vtkImageSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00030
#ifndef __vtkImageSource_h
00031
#define __vtkImageSource_h
00032
00033
#include "vtkSource.h"
00034
00035
class vtkImageData;
00036
00037 class VTK_FILTERING_EXPORT vtkImageSource :
public vtkSource
00038 {
00039
public:
00040 vtkTypeRevisionMacro(vtkImageSource,
vtkSource);
00041
void PrintSelf(ostream& os,
vtkIndent indent);
00042
00044
00045
void SetOutput(
vtkImageData *output);
00046
vtkImageData *GetOutput();
00047
vtkImageData *GetOutput(
int idx);
00049
00050
protected:
00051 vtkImageSource();
00052 ~vtkImageSource() {};
00053
00054
void Execute();
00055
virtual void Execute(
vtkImageData *data);
00056
00057
00058
00059
virtual vtkImageData *AllocateOutputData(
vtkDataObject *out);
00060
00061
private:
00062 vtkImageSource(
const vtkImageSource&);
00063
void operator=(
const vtkImageSource&);
00064 };
00065
00066
00067
#endif
00068
00069