101#ifndef vtkPolyDataToImageStencil_h
102#define vtkPolyDataToImageStencil_h
105#include "vtkImagingStencilModule.h"
134 vtkSetClampMacro(Tolerance,
double, 0.0, 1.0);
135 vtkGetMacro(Tolerance,
double);
abstract class to specify dataset behavior
efficient description of an image stencil
generate an image stencil
a simple class to control print indentation
merge exactly coincident points
use polydata to mask an image
static void PolyDataCutter(vtkPolyData *input, vtkPolyData *output, double z)
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
double Tolerance
The tolerance distance for favoring the inside of the stencil.
virtual void SetInputData(vtkPolyData *)
Specify the implicit function to convert into a stencil.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPolyDataToImageStencil * New()
~vtkPolyDataToImageStencil() override
vtkPolyData * GetInput()
Specify the implicit function to convert into a stencil.
static void PolyDataSelector(vtkPolyData *input, vtkPolyData *output, double z, double thickness)
void ThreadedExecute(vtkImageStencilData *output, int extent[6], int threadId)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkPolyDataToImageStencil()
concrete dataset represents vertices, lines, polygons, and triangle strips