Go to the documentation of this file.
74 #ifndef vtkImageBlend_h
75 #define vtkImageBlend_h
78 #include "vtkImagingCoreModule.h"
83 #define VTK_IMAGE_BLEND_MODE_NORMAL 0
84 #define VTK_IMAGE_BLEND_MODE_COMPOUND 1
133 void SetOpacity(
int idx,
double opacity);
134 double GetOpacity(
int idx);
155 vtkSetClampMacro(BlendMode,
int,
158 vtkGetMacro(BlendMode,
int);
163 const char *GetBlendModeAsString(
void);
171 vtkSetMacro(CompoundThreshold,
double);
172 vtkGetMacro(CompoundThreshold,
double);
183 void InternalComputeInputUpdateExtent(
int inExt[6],
int outExt[6],
190 int ext[6],
int id)
override;
224 return "Unknown Blend Mode";
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up,...
void SetInputData(vtkDataObject *input)
void SetBlendModeToCompound()
const char * GetBlendModeAsString(void)
Get the blending mode as a descriptive string.
#define VTK_IMAGE_BLEND_MODE_NORMAL
#define VTK_IMAGE_BLEND_MODE_COMPOUND
Generic filter that has one input.
blend images together using alpha or opacity
vtkDataObject * GetInput()
void SetBlendModeToNormal()
void SetInputData(vtkDataObject *)
Assign a data object as input.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
topologically and geometrically regular array of data
a simple class to control print indentation
vtkDataObject * GetInput()
static vtkAlgorithm * New()
Proxy object to connect input/output ports.
efficient description of an image stencil
int GetNumberOfInputs()
Get the number of inputs to this filter.
int GetNumberOfInputConnections(int port)
Get the number of inputs currently connected to a port.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
general representation of visualization data
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.