Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

clFreqBeamLine Class Reference

Frequency-domain beamforming for line array. More...

#include <FreqBeamLine.hh>

List of all members.

Public Member Functions

 clFreqBeamLine ()
 ~clFreqBeamLine ()
void SetDebug (bool)
 Enable/disable debug printouts.

bool Initialize (long, GDT, long, GDT)
 Initialize dipole array.

void SetSoundSpeed (GDT)
 Set speed of sound.

void SetDirection (GDT, bool)
 Set direction.

void Put (const GDT *, long, long, long)
 Put data into beamformer.

bool Get (GDT *, long)
 Get data from beamformer.


Protected Attributes

long lSensorCount
GDT fSensorSpacing
std::vector< clArraySensor * > vSensors


Detailed Description

Frequency-domain beamforming for line array.

Array is shaded using Dolph-Chebyshev window.

Definition at line 38 of file FreqBeamLine.hh.


Constructor & Destructor Documentation

clFreqBeamLine::clFreqBeamLine  )  [inline]
 

Definition at line 45 of file FreqBeamLine.hh.

clFreqBeamLine::~clFreqBeamLine  ) 
 

Definition at line 32 of file FreqBeamLine.cc.

References vSensors.


Member Function Documentation

void clFreqBeamLine::SetDebug bool   ) 
 

Enable/disable debug printouts.

Parameters:
bDebug Enable/disable debug printouts

Definition at line 42 of file FreqBeamLine.cc.

References vSensors.

Referenced by clBeamAudio::InitBeam().

bool clFreqBeamLine::Initialize long  ,
GDT  ,
long  ,
GDT 
 

Initialize dipole array.

Parameters:
lSensors Number of sensors in array
fSpacing Sensor spacing (m)
lWinSize Window size
fSampleRate Sampling rate
Returns:
Success

Definition at line 54 of file FreqBeamLine.cc.

References fSensorSpacing, GDT, clArraySensor::Initialize(), lSensorCount, clArraySensor::SetSampleRate(), clArraySensor::SetShading(), and vSensors.

Referenced by clBeamAudio::InitBeam(), clBeamSrv2Slave::Main(), and clBeamSrvSlave::Main().

void clFreqBeamLine::SetSoundSpeed GDT   ) 
 

Set speed of sound.

Parameters:
fSoundSpeed Speed of sound (m/s)

Definition at line 80 of file FreqBeamLine.cc.

References fSensorSpacing, and vSensors.

Referenced by clBeamAudio::InitBeam(), clBeamSrv2Slave::Main(), and clBeamSrvSlave::Main().

void clFreqBeamLine::SetDirection GDT  ,
bool 
 

Set direction.

Parameters:
fDirection Direction (rad)
bLowPass Lowpass filter

Definition at line 93 of file FreqBeamLine.cc.

References vSensors.

Referenced by clBeamAudio::InitBeam(), clBeamSrv2Slave::Main(), clBeamSrvSlave::Main(), and clBeamAudio::SetDirection().

void clFreqBeamLine::Put const GDT *  ,
long  ,
long  ,
long 
 

Put data into beamformer.

Parameters:
fpSrc Source vector
lSrcCount Number of samples in source vector
lSensorOffs Sensor offset in source vector
lChannels Number of channels in source vector

Definition at line 109 of file FreqBeamLine.cc.

References vSensors.

Referenced by clBeamSrv2Slave::Main(), clBeamSrvSlave::Main(), and clBeamAudio::ProcessLoop().

bool clFreqBeamLine::Get GDT *  ,
long 
 

Get data from beamformer.

Parameters:
fpDest Destination vector
lDestCount Number of samples to put into destination vector
Returns:
Success

Definition at line 126 of file FreqBeamLine.cc.

References GDT, lSensorCount, and vSensors.

Referenced by clBeamSrv2Slave::Main(), clBeamSrvSlave::Main(), and clBeamAudio::ProcessLoop().


Member Data Documentation

long clFreqBeamLine::lSensorCount [protected]
 

Definition at line 41 of file FreqBeamLine.hh.

Referenced by Get(), and Initialize().

GDT clFreqBeamLine::fSensorSpacing [protected]
 

Definition at line 42 of file FreqBeamLine.hh.

Referenced by Initialize(), and SetSoundSpeed().

std::vector<clArraySensor *> clFreqBeamLine::vSensors [protected]
 

Definition at line 43 of file FreqBeamLine.hh.

Referenced by Get(), Initialize(), Put(), SetDebug(), SetDirection(), SetSoundSpeed(), and ~clFreqBeamLine().


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 19:12:18 2003 for HASAS by doxygen 1.3.3