Class FieldEncoderFloatN_Lossy

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class FieldEncoderFloatN_Lossy : public Cloudini::FieldEncoder

Public Functions

FieldEncoderFloatN_Lossy(const std::vector<FieldData> &field_data)
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
struct FieldData

Public Members

size_t offset
float resolution