CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::SlicedImageProxy Class Reference

Helper class for slicing an image given a SliceProxy and an image. More...

#include <cxSlicedImageProxy.h>

Inheritance diagram for cx::SlicedImageProxy:

Public Member Functions

 SlicedImageProxy ()
 
virtual ~SlicedImageProxy ()
 
void setSliceProxy (SliceProxyInterfacePtr slicer)
 
void setImage (ImagePtr image)
 
ImagePtr getImage () const
 
void setOutputFormat (Vector3D origin, Eigen::Array3i dim, Vector3D spacing)
 
void update ()
 
vtkImageDataPtr getOutput ()
 output 2D sliced image More...
 
vtkImageAlgorithmPtr getOutputPort ()
 output 2D sliced image More...
 
vtkImageDataPtr getOutputWithoutLUT ()
 
vtkImageAlgorithmPtr getOutputPortWithoutLUT ()
 
void printSelf (std::ostream &os, Indent indent)
 

Detailed Description

Helper class for slicing an image given a SliceProxy and an image.

The image is sliced in software using the slice definition from the SliceProxy

Used internally by BlendedSliceRep and SlicerRepSW as the slice engine.

Used by Sonowand 2.1 Used by CustusX

Definition at line 76 of file cxSlicedImageProxy.h.

Constructor & Destructor Documentation

cx::SlicedImageProxy::SlicedImageProxy ( )

-----------------------------------------------------—

-----------------------------------------------------—

Definition at line 123 of file cxSlicedImageProxy.cpp.

cx::SlicedImageProxy::~SlicedImageProxy ( )
virtual

Definition at line 139 of file cxSlicedImageProxy.cpp.

Member Function Documentation

ImagePtr cx::SlicedImageProxy::getImage ( ) const

Definition at line 211 of file cxSlicedImageProxy.cpp.

vtkImageDataPtr cx::SlicedImageProxy::getOutput ( )

output 2D sliced image

Definition at line 216 of file cxSlicedImageProxy.cpp.

vtkImageAlgorithmPtr cx::SlicedImageProxy::getOutputPort ( )

output 2D sliced image

Definition at line 221 of file cxSlicedImageProxy.cpp.

vtkImageAlgorithmPtr cx::SlicedImageProxy::getOutputPortWithoutLUT ( )

Definition at line 231 of file cxSlicedImageProxy.cpp.

vtkImageDataPtr cx::SlicedImageProxy::getOutputWithoutLUT ( )

Definition at line 226 of file cxSlicedImageProxy.cpp.

void cx::SlicedImageProxy::printSelf ( std::ostream &  os,
Indent  indent 
)

Definition at line 255 of file cxSlicedImageProxy.cpp.

void cx::SlicedImageProxy::setImage ( ImagePtr  image)

Definition at line 180 of file cxSlicedImageProxy.cpp.

void cx::SlicedImageProxy::setOutputFormat ( Vector3D  origin,
Eigen::Array3i  dim,
Vector3D  spacing 
)

Definition at line 143 of file cxSlicedImageProxy.cpp.

void cx::SlicedImageProxy::setSliceProxy ( SliceProxyInterfacePtr  slicer)

Definition at line 153 of file cxSlicedImageProxy.cpp.

void cx::SlicedImageProxy::update ( )

Definition at line 236 of file cxSlicedImageProxy.cpp.


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