PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Typedefs | Functions
PlusCommon Namespace Reference

Typedefs

typedef int IGTLScalarPixelType
 
typedef itk::ImageIOBase::IOComponentType ITKScalarPixelType
 
typedef int VTKScalarPixelType
 

Functions

template<typename ScalarType >
vtkPlusCommonExport PlusStatus DeepCopyVtkVolumeToItkImage (vtkImageData *inFrame, typename itk::Image< ScalarType, 2 >::Pointer outFrame)
 
template<typename ScalarType >
vtkPlusCommonExport PlusStatus DeepCopyVtkVolumeToItkVolume (vtkImageData *inFrame, typename itk::Image< ScalarType, 3 >::Pointer outFrame)
 
vtkPlusCommonExport std::string GetPlusLibVersionString ()
 
vtkPlusCommonExport PlusStatus WriteToFile (igsioTrackedFrame *frame, const std::string &filename, vtkMatrix4x4 *imageToTracker)
 

Typedef Documentation

◆ IGTLScalarPixelType

Definition at line 56 of file PlusCommon.h.

◆ ITKScalarPixelType

typedef itk::ImageIOBase::IOComponentType PlusCommon::ITKScalarPixelType

Definition at line 54 of file PlusCommon.h.

◆ VTKScalarPixelType

Definition at line 55 of file PlusCommon.h.

Function Documentation

◆ DeepCopyVtkVolumeToItkImage()

template<typename ScalarType >
vtkPlusCommonExport PlusStatus PlusCommon::DeepCopyVtkVolumeToItkImage ( vtkImageData *  inFrame,
typename itk::Image< ScalarType, 2 >::Pointer  outFrame 
)

Convert 2D/3D vtkImageData to 2D itkImage (take only first slice if 3D)

◆ DeepCopyVtkVolumeToItkVolume()

template<typename ScalarType >
vtkPlusCommonExport PlusStatus PlusCommon::DeepCopyVtkVolumeToItkVolume ( vtkImageData *  inFrame,
typename itk::Image< ScalarType, 3 >::Pointer  outFrame 
)

Convert 3D vtkImageData to 3D itkImage

◆ GetPlusLibVersionString()

std::string PlusCommon::GetPlusLibVersionString ( )

Definition at line 30 of file PlusCommon.cxx.

◆ WriteToFile()

PlusStatus PlusCommon::WriteToFile ( igsioTrackedFrame *  frame,
const std::string &  filename,
vtkMatrix4x4 *  imageToTracker 
)

Definition at line 50 of file PlusCommon.cxx.