combine images via a cookie-cutter operation
More...
#include <vtkImageStencil.h>
Inherits vtkThreadedImageAlgorithm.
combine images via a cookie-cutter operation
vtkImageStencil will combine two images together using a stencil. The stencil should be provided in the form of a vtkImageStencilData,
- Examples:
- vtkImageStencil (Examples)
- Tests:
- vtkImageStencil (Tests)
Definition at line 36 of file vtkImageStencil.h.
vtkImageStencil::vtkImageStencil |
( |
| ) |
|
|
protected |
vtkImageStencil::~vtkImageStencil |
( |
| ) |
|
|
protected |
static int vtkImageStencil::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkImageStencil::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkImageStencil::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkImageStencil::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Specify the stencil to use. The stencil can be created from a vtkImplicitFunction or a vtkPolyData. This function does not setup a pipeline connection.
Specify the stencil to use. The stencil can be created from a vtkImplicitFunction or a vtkPolyData. This function does not setup a pipeline connection.
void vtkImageStencil::SetStencilConnection |
( |
vtkAlgorithmOutput * |
outputPort | ) |
|
|
inline |
Specify the stencil to use. This sets up a pipeline connection.
Definition at line 53 of file vtkImageStencil.h.
virtual void vtkImageStencil::SetReverseStencil |
( |
int |
| ) |
|
|
virtual |
virtual void vtkImageStencil::ReverseStencilOn |
( |
| ) |
|
|
virtual |
virtual void vtkImageStencil::ReverseStencilOff |
( |
| ) |
|
|
virtual |
virtual int vtkImageStencil::GetReverseStencil |
( |
| ) |
|
|
virtual |
virtual void vtkImageStencil::SetBackgroundInputData |
( |
vtkImageData * |
input | ) |
|
|
virtual |
Set the second input. This image will be used for the 'outside' of the stencil. If not set, the output voxels will be filled with BackgroundValue instead.
vtkImageData* vtkImageStencil::GetBackgroundInput |
( |
| ) |
|
Set the second input. This image will be used for the 'outside' of the stencil. If not set, the output voxels will be filled with BackgroundValue instead.
void vtkImageStencil::SetBackgroundValue |
( |
double |
val | ) |
|
|
inline |
Set the default output value to use when the second input is not set.
Definition at line 76 of file vtkImageStencil.h.
double vtkImageStencil::GetBackgroundValue |
( |
| ) |
|
|
inline |
Set the default output value to use when the second input is not set.
Definition at line 78 of file vtkImageStencil.h.
virtual void vtkImageStencil::SetBackgroundColor |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images.
virtual void vtkImageStencil::SetBackgroundColor |
( |
double |
[4] | ) |
|
|
virtual |
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images.
virtual double* vtkImageStencil::GetBackgroundColor |
( |
| ) |
|
|
virtual |
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images.
virtual void vtkImageStencil::GetBackgroundColor |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images.
virtual void vtkImageStencil::GetBackgroundColor |
( |
double |
[4] | ) |
|
|
virtual |
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images.
void vtkImageStencil::ThreadedRequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector, |
|
|
vtkImageData *** |
inData, |
|
|
vtkImageData ** |
outData, |
|
|
int |
extent[6], |
|
|
int |
id |
|
) |
| |
|
protected |
virtual int vtkImageStencil::FillInputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
| |
|
protectedvirtual |
int vtkImageStencil::ReverseStencil |
|
protected |
double vtkImageStencil::BackgroundColor[4] |
|
protected |
The documentation for this class was generated from the following file: