#ifndef CT_LASPOINTINFO_H #define CT_LASPOINTINFO_H #include "ct_lasdefine.h" #include "ct_itemdrawable/abstract/ct_abstractpointattributesscalar.h" #include /** * @brief Class tool to backup attributes for a point */ class CTLIBLAS_EXPORT CT_LasPointInfo { public: CT_LasPointInfo(); /** * @brief Set the attribute of type "type" for this point. If already exist it will be replaced. * @param type : the type represented by "scalar" * @param scalar : attribute for the type "type" * @param index : the index in "scalar" to get the information for this point * @return False if the type is not known by this class */ bool setAttribute(CT_LasDefine::LASPointAttributesType type, const CT_AbstractPointAttributesScalar *scalar, const size_t &index); // all attributes (in the same order that in CT_LasDefine::LASPointAttributesType) QPair m_i; QPair m_rn; QPair m_nor; QPair m_cf; QPair m_sc; QPair m_sdf; QPair m_efl; QPair m_c; QPair m_sar; QPair m_ud; QPair m_psID; QPair m_gpsT; QPair m_red; QPair m_green; QPair m_blue; QPair m_nir; QPair m_wpdi; QPair m_bowd; QPair m_wpsb; QPair m_rpwl; }; #endif // CT_LASPOINTINFO_H