CustusX  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ApplyLUTToImage2DProxy Class Reference

Helper class for applying sscLUT2D to an image. More...

#include <cxSlicedImageProxy.h>

Inheritance diagram for cx::ApplyLUTToImage2DProxy:

Public Member Functions

 ApplyLUTToImage2DProxy ()
 
virtual ~ApplyLUTToImage2DProxy ()
 
void setInputData (vtkImageDataPtr image, vtkLookupTablePtr lut)
 
void setInput (vtkImageAlgorithmPtr input, vtkLookupTablePtr lut)
 
vtkImageDataPtr getOutput ()
 
vtkImageAlgorithmPtr getOutputPort ()
 output 2D sliced image More...
 

Detailed Description

Helper class for applying sscLUT2D to an image.

Input a 2D image and a lut. Run the image through the lut using a vtkImageMapToColors and return the output.

For color input images, the lut is still applied, but is applied to each color component (i.e. relative color distribution is not changed)

Used internally in SlicedImageProxy .

Used by CustusX

Definition at line 69 of file cxSlicedImageProxy.h.

Constructor & Destructor Documentation

cx::ApplyLUTToImage2DProxy::ApplyLUTToImage2DProxy ( )

Definition at line 56 of file cxSlicedImageProxy.cpp.

cx::ApplyLUTToImage2DProxy::~ApplyLUTToImage2DProxy ( )
virtual

Definition at line 64 of file cxSlicedImageProxy.cpp.

Member Function Documentation

vtkImageDataPtr cx::ApplyLUTToImage2DProxy::getOutput ( )

Definition at line 131 of file cxSlicedImageProxy.cpp.

vtkImageAlgorithmPtr cx::ApplyLUTToImage2DProxy::getOutputPort ( )

output 2D sliced image

Definition at line 126 of file cxSlicedImageProxy.cpp.

void cx::ApplyLUTToImage2DProxy::setInput ( vtkImageAlgorithmPtr  input,
vtkLookupTablePtr  lut 
)

Definition at line 77 of file cxSlicedImageProxy.cpp.

void cx::ApplyLUTToImage2DProxy::setInputData ( vtkImageDataPtr  image,
vtkLookupTablePtr  lut 
)

Definition at line 69 of file cxSlicedImageProxy.cpp.


The documentation for this class was generated from the following files: