PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPlusUsScanConvertLinear Class Reference

This class performs scan conversion from scan lines for curvilinear probes. More...

#include <src/PlusImageProcessing/vtkPlusUsScanConvertLinear.h>

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

Public Types

typedef vtkPlusUsScanConvert Superclass
 
- Public Types inherited from vtkPlusUsScanConvert
typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual double GetDistanceBetweenScanlineSamplePointsMm ()
 
virtual double GetImagingDepthMm ()
 
virtual vtkImageData * GetOutput ()
 
virtual PlusStatus GetScanLineEndPoints (int scanLineIndex, double scanlineStartPoint_OutputImage[4], double scanlineEndPoint_OutputImage[4])
 
virtual const char * GetTransducerGeometry ()
 
virtual int IsA (const char *type)
 
virtual void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual PlusStatus ReadConfiguration (vtkXMLDataElement *scanConversionElement)
 
virtual void SetImagingDepthMm (double)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputData (vtkDataObject *input)
 
virtual void SetTransducerWidthMm (double)
 
virtual void Update ()
 
virtual PlusStatus WriteConfiguration (vtkXMLDataElement *scanConversionElement)
 
- Public Member Functions inherited from vtkPlusUsScanConvert
virtual intGetInputImageExtent ()
 
virtual void GetInputImageExtent (int &, int &, int &, int &, int &, int &)
 
virtual void GetInputImageExtent (int [6])
 
virtual void GetOutputImageExtent (int [6])
 
virtual intGetOutputImageExtent ()
 
virtual void GetOutputImageExtent (int &, int &, int &, int &, int &, int &)
 
virtual FrameSizeType GetOutputImageSizePixel ()
 
virtual void GetOutputImageSpacing (double [3])
 
virtual double * GetOutputImageSpacing ()
 
virtual void GetOutputImageSpacing (double &, double &, double &)
 
virtual char * GetTransducerName ()
 
virtual void SetInputImageExtent (int [6])
 
virtual void SetInputImageExtent (int, int, int, int, int, int)
 
virtual void SetOutputImageSpacing (double, double, double)
 
virtual void SetOutputImageSpacing (double [3])
 
virtual void SetTransducerName (const char *)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPlusUsScanConvertLinearNew ()
 
static vtkPlusUsScanConvertLinearSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPlusUsScanConvert
static int IsTypeOf (const char *type)
 
static vtkPlusUsScanConvertSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkPlusUsScanConvertLinear ()
 
virtual ~vtkPlusUsScanConvertLinear ()
 
- Protected Member Functions inherited from vtkPlusUsScanConvert
 vtkPlusUsScanConvert ()
 
virtual ~vtkPlusUsScanConvert ()
 

Protected Attributes

vtkImageReslice * ImageReslice
 
double ImagingDepthMm
 
double TransducerWidthMm
 
- Protected Attributes inherited from vtkPlusUsScanConvert
int InputImageExtent [6]
 
int OutputImageExtent [6]
 
double OutputImageSpacing [3]
 
double TransducerCenterPixel [2]
 
bool TransducerCenterPixelSpecified
 
char * TransducerName
 

Detailed Description

This class performs scan conversion from scan lines for curvilinear probes.

Definition at line 22 of file vtkPlusUsScanConvertLinear.h.

Member Typedef Documentation

◆ Superclass

Definition at line 26 of file vtkPlusUsScanConvertLinear.h.

Constructor & Destructor Documentation

◆ vtkPlusUsScanConvertLinear()

vtkPlusUsScanConvertLinear::vtkPlusUsScanConvertLinear ( )
protected

Definition at line 20 of file vtkPlusUsScanConvertLinear.cxx.

◆ ~vtkPlusUsScanConvertLinear()

vtkPlusUsScanConvertLinear::~vtkPlusUsScanConvertLinear ( )
protectedvirtual

Definition at line 29 of file vtkPlusUsScanConvertLinear.cxx.

Member Function Documentation

◆ GetClassName()

virtual const char* vtkPlusUsScanConvertLinear::GetClassName ( )
virtual

Reimplemented from vtkPlusUsScanConvert.

◆ GetDistanceBetweenScanlineSamplePointsMm()

double vtkPlusUsScanConvertLinear::GetDistanceBetweenScanlineSamplePointsMm ( )
virtual

Get the distance between two sample points in the scanline, in mm

Implements vtkPlusUsScanConvert.

Definition at line 179 of file vtkPlusUsScanConvertLinear.cxx.

◆ GetImagingDepthMm()

virtual double vtkPlusUsScanConvertLinear::GetImagingDepthMm ( )
virtual

◆ GetOutput()

vtkImageData * vtkPlusUsScanConvertLinear::GetOutput ( )
virtual

Get the scan-converted output image. The output image orientation is MF.

Implements vtkPlusUsScanConvert.

Definition at line 101 of file vtkPlusUsScanConvertLinear.cxx.

◆ GetScanLineEndPoints()

PlusStatus vtkPlusUsScanConvertLinear::GetScanLineEndPoints ( int  scanLineIndex,
double  scanlineStartPoint_OutputImage[4],
double  scanlineEndPoint_OutputImage[4] 
)
virtual

Get the start and end point of the selected scanline transducer surface, the end point is far from the transducer surface.

Parameters
scanLineIndexIndex of the scanline. Starts with 0 (the scanline closest to the marked side of the transducer)
scanlineStartPoint_OutputImageStarting point of the scanline (near the transducer surface), in output image coordinate frame (in pixels)
scanlineEndPoint_OutputImageLast point of the scanline (far from the transducer surface), in output image coordinate frame (in pixels)

Implements vtkPlusUsScanConvert.

Definition at line 139 of file vtkPlusUsScanConvertLinear.cxx.

◆ GetTransducerGeometry()

virtual const char* vtkPlusUsScanConvertLinear::GetTransducerGeometry ( )
inlinevirtual

Implements vtkPlusUsScanConvert.

Definition at line 29 of file vtkPlusUsScanConvertLinear.h.

◆ IsA()

virtual int vtkPlusUsScanConvertLinear::IsA ( const char *  type)
virtual

Reimplemented from vtkPlusUsScanConvert.

◆ IsTypeOf()

static int vtkPlusUsScanConvertLinear::IsTypeOf ( const char *  type)
static

◆ New()

static vtkPlusUsScanConvertLinear* vtkPlusUsScanConvertLinear::New ( )
static

◆ PrintSelf()

void vtkPlusUsScanConvertLinear::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Reimplemented from vtkPlusUsScanConvert.

Definition at line 35 of file vtkPlusUsScanConvertLinear.cxx.

◆ ReadConfiguration()

PlusStatus vtkPlusUsScanConvertLinear::ReadConfiguration ( vtkXMLDataElement *  scanConversionElement)
virtual

Read configuration from xml data. The scanConversionElement is typically in DataCollction/ImageAcquisition/RfProcessing.

Reimplemented from vtkPlusUsScanConvert.

Definition at line 107 of file vtkPlusUsScanConvertLinear.cxx.

◆ SafeDownCast()

static vtkPlusUsScanConvertLinear* vtkPlusUsScanConvertLinear::SafeDownCast ( vtkObject *  o)
static

◆ SetImagingDepthMm()

virtual void vtkPlusUsScanConvertLinear::SetImagingDepthMm ( double  )
virtual

◆ SetInputConnection()

void vtkPlusUsScanConvertLinear::SetInputConnection ( vtkAlgorithmOutput *  input)
virtual

Set the connection for the input image containing the brightness lines. The input image orientation must be FM.

Definition at line 43 of file vtkPlusUsScanConvertLinear.cxx.

◆ SetInputData()

void vtkPlusUsScanConvertLinear::SetInputData ( vtkDataObject *  input)
virtual

It is overridden here, because the GetOutput() method in vtkImageAlgorithm is not virtual.

Reimplemented from vtkPlusUsScanConvert.

Definition at line 49 of file vtkPlusUsScanConvertLinear.cxx.

◆ SetTransducerWidthMm()

virtual void vtkPlusUsScanConvertLinear::SetTransducerWidthMm ( double  )
virtual

◆ Update()

void vtkPlusUsScanConvertLinear::Update ( void  )
virtual

Bring this algorithm's outputs up-to-date.

Definition at line 55 of file vtkPlusUsScanConvertLinear.cxx.

◆ WriteConfiguration()

PlusStatus vtkPlusUsScanConvertLinear::WriteConfiguration ( vtkXMLDataElement *  scanConversionElement)
virtual

Write configuration to xml data. The scanConversionElement is typically in DataCollction/ImageAcquisition/RfProcessing.

Reimplemented from vtkPlusUsScanConvert.

Definition at line 123 of file vtkPlusUsScanConvertLinear.cxx.

Member Data Documentation

◆ ImageReslice

vtkImageReslice* vtkPlusUsScanConvertLinear::ImageReslice
protected

Reslice class that performs the necessary resampling

Definition at line 76 of file vtkPlusUsScanConvertLinear.h.

◆ ImagingDepthMm

double vtkPlusUsScanConvertLinear::ImagingDepthMm
protected

Image depth covered by an RF scanline, in mm

Definition at line 71 of file vtkPlusUsScanConvertLinear.h.

◆ TransducerWidthMm

double vtkPlusUsScanConvertLinear::TransducerWidthMm
protected

Image width covered by the transducer (distance between the first and last RF scanlines), in mm

Definition at line 73 of file vtkPlusUsScanConvertLinear.h.


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