PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusUsScanConvertLinear.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2 Program: Plus
3 Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4 See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef __vtkPlusUsScanConvertLinear_h
8 #define __vtkPlusUsScanConvertLinear_h
9 
10 #include "vtkPlusImageProcessingExport.h"
11 #include "vtkPlusUsScanConvert.h"
12 
13 class vtkAlgorithmOutput;
14 class vtkImageReslice;
15 class vtkImageData;
16 
22 class vtkPlusImageProcessingExport vtkPlusUsScanConvertLinear : public vtkPlusUsScanConvert
23 {
24 public:
25  static vtkPlusUsScanConvertLinear *New();
27  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
28 
29  virtual const char* GetTransducerGeometry() { return "LINEAR"; }
30 
35  virtual void SetInputConnection(vtkAlgorithmOutput* input);
36  virtual void SetInputData(vtkDataObject *input);
37 
39  virtual void Update();
40 
42  virtual vtkImageData* GetOutput();
43 
45  virtual PlusStatus ReadConfiguration(vtkXMLDataElement* scanConversionElement);
46 
48  virtual PlusStatus WriteConfiguration(vtkXMLDataElement* scanConversionElement);
49 
50  vtkSetMacro(ImagingDepthMm,double);
51  vtkGetMacro(ImagingDepthMm,double);
52  vtkSetMacro(TransducerWidthMm,double);
53 
61  virtual PlusStatus GetScanLineEndPoints(int scanLineIndex, double scanlineStartPoint_OutputImage[4],double scanlineEndPoint_OutputImage[4]);
62 
65 
66 protected:
68  virtual ~vtkPlusUsScanConvertLinear();
69 
74 
76  vtkImageReslice* ImageReslice;
77 
78 private:
79  vtkPlusUsScanConvertLinear(const vtkPlusUsScanConvertLinear&); // Not implemented.
80  void operator=(const vtkPlusUsScanConvertLinear&); // Not implemented.
81 };
82 
83 #endif
84 
85 
86 
87 
virtual PlusStatus GetScanLineEndPoints(int scanLineIndex, double scanlineStartPoint_OutputImage[4], double scanlineEndPoint_OutputImage[4])=0
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *scanConversionElement)
igsioStatus PlusStatus
Definition: PlusCommon.h:40
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTK_OVERRIDE
Definition: PlusCommon.h:49
virtual double GetDistanceBetweenScanlineSamplePointsMm()=0
virtual void SetInputData(vtkDataObject *input)
This is a base class for defining a common scan conversion algorithm interface for all kinds of probe...
This class performs scan conversion from scan lines for curvilinear probes.
virtual vtkImageData * GetOutput()=0
virtual const char * GetTransducerGeometry()
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *scanConversionElement)