Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

vtkKWEPaintbrushBlend Class Reference

blend images together using alpha or opacity More...

#include <vtkKWEPaintbrushBlend.h>

Inheritance diagram for vtkKWEPaintbrushBlend:
Inheritance graph
[legend]
Collaboration diagram for vtkKWEPaintbrushBlend:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkKWEPaintbrushBlend, vtkThreadedImageAlgorithm)
void PrintSelf (ostream &os, vtkIndent indent)

virtual void SetOpacity (double)
virtual double GetOpacity ()

virtual void SetPaintbrushDrawing (vtkKWEPaintbrushDrawing *)
vtkKWEPaintbrushDrawingGetPaintbrushDrawing ()

virtual void SetUseOverlay (int)
virtual int GetUseOverlay ()
virtual void UseOverlayOn ()
virtual void UseOverlayOff ()

Static Public Member Functions

static vtkKWEPaintbrushBlendNew ()

Protected Member Functions

 vtkKWEPaintbrushBlend ()
 ~vtkKWEPaintbrushBlend ()
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id)
virtual int FillInputPortInformation (int, vtkInformation *)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

double Opacity
int UseOverlay

Detailed Description

blend images together using alpha or opacity

Definition at line 37 of file vtkKWEPaintbrushBlend.h.


Constructor & Destructor Documentation

vtkKWEPaintbrushBlend::vtkKWEPaintbrushBlend (  )  [protected]
vtkKWEPaintbrushBlend::~vtkKWEPaintbrushBlend (  )  [protected]

Member Function Documentation

static vtkKWEPaintbrushBlend* vtkKWEPaintbrushBlend::New (  )  [static]

Reimplemented from vtkAlgorithm.

vtkKWEPaintbrushBlend::vtkTypeRevisionMacro ( vtkKWEPaintbrushBlend  ,
vtkThreadedImageAlgorithm   
)
void vtkKWEPaintbrushBlend::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkThreadedImageAlgorithm.

virtual void vtkKWEPaintbrushBlend::SetOpacity ( double   )  [virtual]

Set the opacity of an stencil. Defaults to 0.5

virtual double vtkKWEPaintbrushBlend::GetOpacity (  )  [virtual]

Set the opacity of an stencil. Defaults to 0.5

virtual void vtkKWEPaintbrushBlend::SetPaintbrushDrawing ( vtkKWEPaintbrushDrawing  )  [virtual]

Restrict the blending to be performed on a set of extents.. does not care about stuff outside the extents.. this will work only if the input and the output are of the same

Set stencils to apply when blending the data.

vtkKWEPaintbrushDrawing* vtkKWEPaintbrushBlend::GetPaintbrushDrawing (  ) 

Restrict the blending to be performed on a set of extents.. does not care about stuff outside the extents.. this will work only if the input and the output are of the same

Set stencils to apply when blending the data.

virtual void vtkKWEPaintbrushBlend::SetUseOverlay ( int   )  [virtual]

Use an overlay ? Defaults to ON. If ON, this class will produce an output image that represents a blending of the input and the drawing, passed through a color lookup table. If OFF, this class will produce an output image that is the drawing passed through a color lookup table.

virtual int vtkKWEPaintbrushBlend::GetUseOverlay (  )  [virtual]

Use an overlay ? Defaults to ON. If ON, this class will produce an output image that represents a blending of the input and the drawing, passed through a color lookup table. If OFF, this class will produce an output image that is the drawing passed through a color lookup table.

virtual void vtkKWEPaintbrushBlend::UseOverlayOn (  )  [virtual]

Use an overlay ? Defaults to ON. If ON, this class will produce an output image that represents a blending of the input and the drawing, passed through a color lookup table. If OFF, this class will produce an output image that is the drawing passed through a color lookup table.

virtual void vtkKWEPaintbrushBlend::UseOverlayOff (  )  [virtual]

Use an overlay ? Defaults to ON. If ON, this class will produce an output image that represents a blending of the input and the drawing, passed through a color lookup table. If OFF, this class will produce an output image that is the drawing passed through a color lookup table.

virtual int vtkKWEPaintbrushBlend::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkImageAlgorithm.

void vtkKWEPaintbrushBlend::ThreadedRequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  ext[6],
int  id 
) [protected, virtual]

Reimplemented from vtkThreadedImageAlgorithm.

virtual int vtkKWEPaintbrushBlend::FillInputPortInformation ( int  ,
vtkInformation  
) [protected, virtual]

Reimplemented from vtkImageAlgorithm.

virtual int vtkKWEPaintbrushBlend::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Reimplemented from vtkThreadedImageAlgorithm.


Member Data Documentation

double vtkKWEPaintbrushBlend::Opacity [protected]

Definition at line 93 of file vtkKWEPaintbrushBlend.h.

Definition at line 94 of file vtkKWEPaintbrushBlend.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines