Program Listing for File grid3D_metrics_data.hpp
↰ Return to documentation for file (rcppsw/ds/metrics/grid3D_metrics_data.hpp
)
#pragma once
/*******************************************************************************
* Includes
******************************************************************************/
#include "rcppsw/metrics/base_data.hpp"
#include "rcppsw/ds/grid3D.hpp"
#include "rcppsw/al/multithread.hpp"
/*******************************************************************************
* Namespaces/Decls
******************************************************************************/
namespace rcppsw::ds::metrics {
/*******************************************************************************
* Class Definitions
******************************************************************************/
struct grid3D_metrics_data : public rmetrics::base_data {
explicit grid3D_metrics_data(const math::vector3z& dims) :
grid(dims.x(), dims.y(), dims.z()) {}
rcppsw::ds::grid3D<ral::mt_size_t> grid;
ral::mt_size_t total_count{0};
};
} /* namespace rcppsw::ds::metrics */