dox/Imaging/vtkImageStencilSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00035
#ifndef __vtkImageStencilSource_h
00036
#define __vtkImageStencilSource_h
00037
00038
00039
#include "vtkSource.h"
00040
00041
class vtkImageStencilData;
00042
00043 class VTK_IMAGING_EXPORT vtkImageStencilSource :
public vtkSource
00044 {
00045
public:
00046
static vtkImageStencilSource *
New();
00047 vtkTypeRevisionMacro(vtkImageStencilSource,
vtkSource);
00048
00049
void PrintSelf(ostream& os,
vtkIndent indent);
00050
00052
00053
void SetOutput(
vtkImageStencilData *output);
00054
vtkImageStencilData *GetOutput();
00056
00057
protected:
00058 vtkImageStencilSource();
00059 ~vtkImageStencilSource();
00060
00061
void ExecuteData(
vtkDataObject *out);
00062
vtkImageStencilData *AllocateOutputData(
vtkDataObject *out);
00063
00065
00069
virtual void ThreadedExecute(
vtkImageStencilData *output,
00070
int extent[6],
int threadId);
00072
private:
00073 vtkImageStencilSource(
const vtkImageStencilSource&);
00074
void operator=(
const vtkImageStencilSource&);
00075 };
00076
00077
#endif