#ifndef CT_LASCOLORPACKET_H #define CT_LASCOLORPACKET_H #include "ctliblas/tools/las/ct_lasdefine.h" #include "ct_itemdrawable/abstract/ct_abstractpointattributesscalar.h" #include "ct_itemdrawable/ct_pointsattributescolor.h" #include class CTLIBLAS_EXPORT CT_LASColorPacket { public: CT_LASColorPacket(); /** * @brief Return the size of the color packet in bytes */ size_t colorPacketSizeInBytes() const; /** * @brief Returns the types needed to write the color packet */ QList colorPacketTypesNeeded(); /** * @brief Write the information for the color packet */ void writeColorPacket(QDataStream &stream, const size_t& globalIndex, const CT_PointsAttributesColor* colorValues, const CT_AbstractPointAttributesScalar* redValues, const CT_AbstractPointAttributesScalar* greenValues, const CT_AbstractPointAttributesScalar* blueValues) const; private: char m_emptyData[6]; }; #endif // CT_LASCOLORPACKET_H