|
qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
|
Waveform proxy. More...
#include <ccWaveform.h>

Public Member Functions | |
| ccWaveformProxy (const ccWaveform &w, const WaveformDescriptor &d, const uint8_t *storage) | |
| Default constructor. | |
| bool | isValid () const |
| Returns whether the waveform (proxy) is valid or not. | |
| 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. | |
| double | getSample (uint32_t i) const |
| Returns the (real) value of a given sample (in volts) | |
| double | getRange (double &minVal, double &maxVal) const |
| Returns the range of (real) samples. | |
| bool | decodeSamples (std::vector< double > &values) const |
| Decodes the samples and store them in a vector. | |
| bool | toASCII (const QString &filename) const |
| Exports (real) samples to an ASCII file. | |
| CCVector3 | getSamplePos (float i, const CCVector3 &P0) const |
| Returns the sample position in 3D. | |
| uint32_t | byteCount () const |
| Returns the number of allocated bytes. | |
| const uint8_t * | data () const |
| Gives access to the internal data. | |
| const CCVector3f & | beamDir () const |
| Returns the beam direction. | |
| float | echoTime_ps () const |
| Returns the echo time (in picoseconds) | |
| uint32_t | numberOfSamples () const |
| Returns the number of samples. | |
| const WaveformDescriptor & | descriptor () const |
| Returns the descriptor. | |
| const ccWaveform & | waveform () const |
| Returns the waveform. | |
Protected Attributes | |
| const ccWaveform & | m_w |
| Associated ccWaveform instance. | |
| const WaveformDescriptor & | m_d |
| Associated descriptor. | |
| const uint8_t * | m_storage |
| Associated storage data. | |
Waveform proxy.
For easier access to the waveform data
|
inline |
Returns the associated descriptor (ID)