PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusRfProcessor.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 __vtkPlusRfProcessor_h
8 #define __vtkPlusRfProcessor_h
9 
10 #include "vtkPlusImageProcessingExport.h"
11 
14 class vtkImageData;
15 
21 class vtkPlusImageProcessingExport vtkPlusRfProcessor : public vtkObject
22 {
23 public:
24  static vtkPlusRfProcessor *New();
25  vtkTypeMacro(vtkPlusRfProcessor , vtkObject);
26  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
27 
31  virtual PlusStatus SetRfFrame(vtkImageData* rfFrame, US_IMAGE_TYPE imageType);
32 
34  virtual vtkImageData* GetBrightnessConvertedImage();
35 
37  virtual vtkImageData* GetBrightnessScanConvertedImage();
38 
40  virtual PlusStatus ReadConfiguration(vtkXMLDataElement* rfElement);
41 
43  virtual PlusStatus WriteConfiguration(vtkXMLDataElement* rfElement);
44 
46  virtual void SetScanConverter(vtkPlusUsScanConvert* scanConverter);
47 
49  vtkGetMacro(ScanConverter, vtkPlusUsScanConvert*);
50 
52  vtkGetMacro(RfToBrightnessConverter, vtkPlusRfToBrightnessConvert*);
53 
54  static const char* GetRfProcessorTagName();
55 
56 protected:
58  virtual ~vtkPlusRfProcessor();
59 
61 
63  std::vector<vtkPlusUsScanConvert*> AvailableScanConverters;
64 
65  static const char* RF_PROCESSOR_TAG_NAME;
66 };
67 
68 #endif
This class converts ultrasound RF data to brightness values.
vtkPlusRfToBrightnessConvert * RfToBrightnessConverter
igsioStatus PlusStatus
Definition: PlusCommon.h:40
#define VTK_OVERRIDE
Definition: PlusCommon.h:49
Convenience class to combine multiple algorithms to compute a displayable B-mode frame from RF data.
static const char * RF_PROCESSOR_TAG_NAME
std::vector< vtkPlusUsScanConvert * > AvailableScanConverters
This is a base class for defining a common scan conversion algorithm interface for all kinds of probe...
vtkPlusUsScanConvert * ScanConverter