virtualvoidresize(unsignedint_num)=0;//!< Resize the data vector.
virtualvoidcrop(conststd::vector<int>&_indices)=0;//!< Keep only the elements with given indices in the data vector. The indices have to be valid, sorted and unique.
private:
voidoperator=(constSplatPropertyInterface&);//!< Disallow the assign operator. (private and *not* implemented)
virtualinlinevoidresize(unsignedint_num)override{data_.resize(_num);}//!< Resize the data vector.
virtualvoidcrop(conststd::vector<int>&_indices)override;//!< Keep only the elements with given indices in the data vector. The indices have to be valid, sorted and unique.
private:
voidoperator=(constSplatPropertyT<T>&);//!< Disallow the assign operator. (private and *not* implemented)
voidoperator=(constSplatPropertyT<T>&)=delete;
private:
std::vector<T>data_;//!< The actual stored data (one element per splat)