![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Waveform proxy. More...
#include <ecvWaveform.h>

Public Member Functions | |
| ccWaveformProxy (const ccWaveform &w, const WaveformDescriptor &d, const uint8_t *storage) | |
| Default constructor. More... | |
| bool | isValid () const |
| Returns whether the waveform (proxy) is valid or not. More... | |
| uint8_t | descriptorID () const |
| Returns the associated descriptor (ID) More... | |
| uint32_t | getRawSample (uint32_t i) const |
| Returns the (raw) value of a given sample. More... | |
| double | getSample (uint32_t i) const |
| Returns the (real) value of a given sample (in volts) More... | |
| double | getRange (double &minVal, double &maxVal) const |
| Returns the range of (real) samples. More... | |
| bool | decodeSamples (std::vector< double > &values) const |
| Decodes the samples and store them in a vector. More... | |
| bool | toASCII (const QString &filename) const |
| Exports (real) samples to an ASCII file. More... | |
| CCVector3 | getSamplePos (float i, const CCVector3 &P0) const |
| Returns the sample position in 3D. More... | |
| uint32_t | byteCount () const |
| Returns the number of allocated bytes. More... | |
| const uint8_t * | data () const |
| Gives access to the internal data. More... | |
| const CCVector3f & | beamDir () const |
| Returns the beam direction. More... | |
| float | echoTime_ps () const |
| Returns the echo time (in picoseconds) More... | |
| uint32_t | numberOfSamples () const |
| Returns the number of samples. More... | |
| const WaveformDescriptor & | descriptor () const |
| Returns the descriptor. More... | |
| const ccWaveform & | waveform () const |
| Returns the waveform. More... | |
Protected Attributes | |
| const ccWaveform & | m_w |
| Associated ccWaveform instance. More... | |
| const WaveformDescriptor & | m_d |
| Associated descriptor. More... | |
| const uint8_t * | m_storage |
| Associated storage data. More... | |
Waveform proxy.
For easier access to the waveform data
Definition at line 189 of file ecvWaveform.h.
|
inline |
Default constructor.
Definition at line 192 of file ecvWaveform.h.
|
inline |
Returns the beam direction.
Definition at line 245 of file ecvWaveform.h.
Referenced by define_ccWaveform().
|
inline |
Returns the number of allocated bytes.
Definition at line 239 of file ecvWaveform.h.
Referenced by define_ccWaveform().
|
inline |
Gives access to the internal data.
Definition at line 242 of file ecvWaveform.h.
Referenced by define_ccWaveform().
|
inline |
Decodes the samples and store them in a vector.
Definition at line 224 of file ecvWaveform.h.
|
inline |
Returns the descriptor.
Definition at line 254 of file ecvWaveform.h.
Referenced by define_ccWaveform(), and ccWaveWidget::init().
|
inline |
Returns the associated descriptor (ID)
Definition at line 206 of file ecvWaveform.h.
Referenced by define_ccWaveform(), and LASFWFFilter::saveToFile().
|
inline |
Returns the echo time (in picoseconds)
Definition at line 248 of file ecvWaveform.h.
Referenced by define_ccWaveform(), and ccWaveWidget::init().
|
inline |
Returns the range of (real) samples.
Definition at line 219 of file ecvWaveform.h.
|
inline |
Returns the (raw) value of a given sample.
Definition at line 209 of file ecvWaveform.h.
Referenced by define_ccWaveform().
|
inline |
Returns the (real) value of a given sample (in volts)
Definition at line 214 of file ecvWaveform.h.
Referenced by ccWaveWidget::init().
Returns the sample position in 3D.
Definition at line 234 of file ecvWaveform.h.
Referenced by define_ccWaveform().
|
inline |
Returns whether the waveform (proxy) is valid or not.
Definition at line 198 of file ecvWaveform.h.
Referenced by define_ccWaveform(), ccWaveWidget::init(), ccWaveDialog::onExportWaveAsCSV(), and LASFWFFilter::saveToFile().
|
inline |
Returns the number of samples.
Definition at line 251 of file ecvWaveform.h.
Referenced by ccWaveWidget::init(), and ccWaveDialog::onExportWaveAsCSV().
|
inline |
Exports (real) samples to an ASCII file.
Definition at line 229 of file ecvWaveform.h.
References filename.
Referenced by define_ccWaveform(), and ccWaveDialog::onExportWaveAsCSV().
|
inline |
Returns the waveform.
Definition at line 256 of file ecvWaveform.h.
Referenced by define_ccWaveform(), and LASFWFFilter::saveToFile().
|
protected |
Associated descriptor.
Definition at line 262 of file ecvWaveform.h.
|
protected |
Associated storage data.
Definition at line 264 of file ecvWaveform.h.
|
protected |
Associated ccWaveform instance.
Definition at line 260 of file ecvWaveform.h.