#include <vtkImageStencil.h>
Inheritance diagram for vtkImageStencil:
vtkImageStencil will combine two images together using a stencil. The stencil should be provided in the form of a vtkImageStencilData,
Definition at line 35 of file vtkImageStencil.h.
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetStencil (vtkImageStencilData *stencil) |
vtkImageStencilData * | GetStencil () |
virtual void | SetReverseStencil (int) |
virtual void | ReverseStencilOn () |
virtual void | ReverseStencilOff () |
virtual int | GetReverseStencil () |
virtual void | SetBackgroundInput (vtkImageData *input) |
vtkImageData * | GetBackgroundInput () |
void | SetBackgroundValue (double val) |
double | GetBackgroundValue () |
virtual void | SetBackgroundColor (double, double, double, double) |
virtual void | SetBackgroundColor (double[4]) |
virtual double * | GetBackgroundColor () |
virtual void | GetBackgroundColor (double &, double &, double &, double &) |
virtual void | GetBackgroundColor (double[4]) |
Static Public Member Functions | |
static vtkImageStencil * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageStencil * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageStencil () | |
~vtkImageStencil () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) |
virtual int | FillInputPortInformation (int, vtkInformation *) |
Protected Attributes | |
int | ReverseStencil |
double | BackgroundColor [4] |
|
Reimplemented from vtkThreadedImageAlgorithm. Definition at line 39 of file vtkImageStencil.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkAlgorithm. |
|
Reimplemented from vtkThreadedImageAlgorithm. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkThreadedImageAlgorithm. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkThreadedImageAlgorithm. |
|
Reimplemented from vtkThreadedImageAlgorithm. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkThreadedImageAlgorithm. |
|
Specify the stencil to use. The stencil can be created from a vtkImplicitFunction or a vtkPolyData. |
|
|
|
Reverse the stencil. |
|
Reverse the stencil. |
|
Reverse the stencil. |
|
Reverse the stencil. |
|
NOTE: Not yet implemented, use SetBackgroundValue instead. 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. |
|
NOTE: Not yet implemented, use SetBackgroundValue instead. 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. |
|
Set the default output value to use when the second input is not set. Definition at line 67 of file vtkImageStencil.h. |
|
Set the default output value to use when the second input is not set. Definition at line 69 of file vtkImageStencil.h. |
|
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images. |
|
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images. |
|
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images. |
|
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images. |
|
Set the default color to use when the second input is not set. This is like SetBackgroundValue, but for multi-component images. |
|
Reimplemented from vtkImageAlgorithm. |
|
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method. Reimplemented from vtkThreadedImageAlgorithm. |
|
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle. Reimplemented from vtkImageAlgorithm. |
|
Definition at line 92 of file vtkImageStencil.h. |
|
Definition at line 93 of file vtkImageStencil.h. |