-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBmodeClass.h
40 lines (32 loc) · 904 Bytes
/
BmodeClass.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <iostream>
#include <fstream>
#include <cmath>
#include <algorithm>
#include "dataBuffer.h"
#include "imageParam.h"
#ifndef IMAGE_BUFFER_HEADER
#define IMAGE_BUFFER_HEADER
class BmodeClass
{
public:
// Public data component
imageParam *imparams;
dataBuffer *RFData;
BmodeClass *next;
int line;
// Constructor
BmodeClass();
BmodeClass(imageParam *params,dataBuffer *data,int numline);
// Destructor
~BmodeClass();
// Public methods
void beamform();
void getScanline(float *data); // a new array containing a copy of the scanline is returned
void deleteScanline();
private:
// private data component
float* scanline;
// private methods
float *createScanline(int numPixel);
};
#endif