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


Public Member Functions | |
| ConstantIntegerDecoder (bool isScaledInteger, unsigned bytestreamNumber, SourceDestBuffer &dbuf, int64_t minimum, double scale, double offset, uint64_t maxRecordCount) | |
| void | destBufferSetNew (std::vector< SourceDestBuffer > &dbufs) override |
| uint64_t | totalRecordsCompleted () override |
| size_t | inputProcess (const char *source, const size_t availableByteCount) override |
| void | stateReset () override |
| void | dump (int indent=0, std::ostream &os=std::cout) override |
Public Member Functions inherited from e57::Decoder | |
| Decoder ()=delete | |
| virtual | ~Decoder ()=default |
| unsigned | bytestreamNumber () const |
Protected Attributes | |
| uint64_t | currentRecordIndex_ = 0 |
| uint64_t | maxRecordCount_ |
| std::shared_ptr< SourceDestBufferImpl > | destBuffer_ |
| bool | isScaledInteger_ |
| int64_t | minimum_ |
| double | scale_ |
| double | offset_ |
Protected Attributes inherited from e57::Decoder | |
| unsigned int | bytestreamNumber_ |
Additional Inherited Members | |
Static Public Member Functions inherited from e57::Decoder | |
| static std::shared_ptr< Decoder > | DecoderFactory (unsigned bytestreamNumber, const CompressedVectorNodeImpl *cVector, std::vector< SourceDestBuffer > &dbufs, const ustring &codecPath) |
Protected Member Functions inherited from e57::Decoder | |
| Decoder (unsigned bytestreamNumber) | |
| ConstantIntegerDecoder::ConstantIntegerDecoder | ( | bool | isScaledInteger, |
| unsigned | bytestreamNumber, | ||
| SourceDestBuffer & | dbuf, | ||
| int64_t | minimum, | ||
| double | scale, | ||
| double | offset, | ||
| uint64_t | maxRecordCount | ||
| ) |
Definition at line 818 of file Decoder.cpp.
|
overridevirtual |
Implements e57::Decoder.
Definition at line 826 of file Decoder.cpp.
References destBuffer_, e57::E57_ERROR_INTERNAL, E57_EXCEPTION2, and e57::toString().
|
overridevirtual |
Implements e57::Decoder.
Definition at line 877 of file Decoder.cpp.
References e57::Decoder::bytestreamNumber_, currentRecordIndex_, destBuffer_, QtCompat::endl(), isScaledInteger_, maxRecordCount_, minimum_, offset_, scale_, and e57::space().
|
overridevirtual |
We don't need any input bytes to produce output, so ignore source and availableByteCount.
Fill dest buffer unless get to maxRecordCount
Implements e57::Decoder.
Definition at line 836 of file Decoder.cpp.
References count, currentRecordIndex_, destBuffer_, QtCompat::endl(), isScaledInteger_, maxRecordCount_, minimum_, offset_, and scale_.
|
overridevirtual |
Implements e57::Decoder.
Definition at line 872 of file Decoder.cpp.
|
inlineoverridevirtual |
|
protected |
Definition at line 170 of file Decoder.h.
Referenced by dump(), inputProcess(), and totalRecordsCompleted().
|
protected |
Definition at line 173 of file Decoder.h.
Referenced by destBufferSetNew(), dump(), and inputProcess().
|
protected |
Definition at line 175 of file Decoder.h.
Referenced by dump(), and inputProcess().
|
protected |
Definition at line 171 of file Decoder.h.
Referenced by dump(), and inputProcess().
|
protected |
Definition at line 176 of file Decoder.h.
Referenced by dump(), and inputProcess().
|
protected |
Definition at line 178 of file Decoder.h.
Referenced by dump(), and inputProcess().
|
protected |
Definition at line 177 of file Decoder.h.
Referenced by dump(), and inputProcess().