Template Class FieldEncoderFloat_Lossy

Inheritance Relationships

Base Type

Class Documentation

template<typename FloatType>
class FieldEncoderFloat_Lossy : public Cloudini::FieldEncoder

Public Functions

inline FieldEncoderFloat_Lossy(size_t field_offset, FloatType resolution)
inline virtual size_t encode(const ConstBufferView &point_view, BufferView &output) override

Encode the field data from the input buffer to the output buffer.

Parameters:
  • point_view – The input buffer containing the pointer to the current point.

  • output – The output buffer to write the encoded data. It will be advanced.

Returns:

The number of bytes written to the output buffer.

inline virtual void reset() override