dox/Hybrid/vtkPolyDataToImageStencil.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00032
#ifndef __vtkPolyDataToImageStencil_h
00033
#define __vtkPolyDataToImageStencil_h
00034
00035
00036
#include "vtkImageStencilSource.h"
00037
00038
class vtkPolyData;
00039
class vtkOBBTree;
00040
00041 class VTK_HYBRID_EXPORT vtkPolyDataToImageStencil :
public vtkImageStencilSource
00042 {
00043
public:
00044
static vtkPolyDataToImageStencil *
New();
00045 vtkTypeRevisionMacro(vtkPolyDataToImageStencil,
vtkImageStencilSource);
00046
void PrintSelf(ostream& os,
vtkIndent indent);
00047
00049
00050
void SetInput(
vtkPolyData *input);
00051
vtkPolyData *GetInput();
00053
00055
00056 vtkSetMacro(Tolerance,
float);
00057 vtkGetMacro(Tolerance,
float);
00059
00060
protected:
00061 vtkPolyDataToImageStencil();
00062 ~vtkPolyDataToImageStencil();
00063
00064
void ExecuteData(
vtkDataObject *out);
00065
void ThreadedExecute(
vtkImageStencilData *output,
00066
int extent[6],
int threadId);
00067
00068 float Tolerance;
00069 vtkOBBTree *OBBTree;
00070
private:
00071 vtkPolyDataToImageStencil(
const vtkPolyDataToImageStencil&);
00072
void operator=(
const vtkPolyDataToImageStencil&);
00073 };
00074
00075
#endif