Convert an image stencil into an image.
More...
#include <vtkImageStencilToImage.h>
Inherits vtkImageAlgorithm.
Convert an image stencil into an image.
vtkImageStencilToImage will convert an image stencil into a binary image. The default output will be an 8-bit image with a value of 1 inside the stencil and 0 outside. When used in combination with vtkPolyDataToImageStencil or vtkImplicitFunctionToImageStencil, this can be used to create a binary image from a mesh or a function.
- See Also
- vtkImplicitModeller
- Tests:
- vtkImageStencilToImage (Tests)
Definition at line 36 of file vtkImageStencilToImage.h.
vtkImageStencilToImage::vtkImageStencilToImage |
( |
| ) |
|
|
protected |
vtkImageStencilToImage::~vtkImageStencilToImage |
( |
| ) |
|
|
protected |
static int vtkImageStencilToImage::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkImageStencilToImage::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkImageStencilToImage::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkImageStencilToImage::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkImageStencilToImage::SetOutsideValue |
( |
double |
| ) |
|
|
virtual |
The value to use outside the stencil. The default is 0.
virtual double vtkImageStencilToImage::GetOutsideValue |
( |
| ) |
|
|
virtual |
The value to use outside the stencil. The default is 0.
virtual void vtkImageStencilToImage::SetInsideValue |
( |
double |
| ) |
|
|
virtual |
The value to use inside the stencil. The default is 1.
virtual double vtkImageStencilToImage::GetInsideValue |
( |
| ) |
|
|
virtual |
The value to use inside the stencil. The default is 1.
virtual void vtkImageStencilToImage::SetOutputScalarType |
( |
int |
| ) |
|
|
virtual |
The desired output scalar type. The default is unsigned char.
virtual int vtkImageStencilToImage::GetOutputScalarType |
( |
| ) |
|
|
virtual |
The desired output scalar type. The default is unsigned char.
void vtkImageStencilToImage::SetOutputScalarTypeToFloat |
( |
| ) |
|
|
inline |
void vtkImageStencilToImage::SetOutputScalarTypeToDouble |
( |
| ) |
|
|
inline |
void vtkImageStencilToImage::SetOutputScalarTypeToInt |
( |
| ) |
|
|
inline |
void vtkImageStencilToImage::SetOutputScalarTypeToUnsignedInt |
( |
| ) |
|
|
inline |
void vtkImageStencilToImage::SetOutputScalarTypeToLong |
( |
| ) |
|
|
inline |
void vtkImageStencilToImage::SetOutputScalarTypeToUnsignedLong |
( |
| ) |
|
|
inline |
void vtkImageStencilToImage::SetOutputScalarTypeToShort |
( |
| ) |
|
|
inline |
void vtkImageStencilToImage::SetOutputScalarTypeToUnsignedShort |
( |
| ) |
|
|
inline |
void vtkImageStencilToImage::SetOutputScalarTypeToUnsignedChar |
( |
| ) |
|
|
inline |
void vtkImageStencilToImage::SetOutputScalarTypeToChar |
( |
| ) |
|
|
inline |
virtual int vtkImageStencilToImage::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkImageStencilToImage::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkImageStencilToImage::FillInputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
| |
|
protectedvirtual |
double vtkImageStencilToImage::OutsideValue |
|
protected |
double vtkImageStencilToImage::InsideValue |
|
protected |
int vtkImageStencilToImage::OutputScalarType |
|
protected |
The documentation for this class was generated from the following file: