Program Listing for File gridQ3D_los.hpp
↰ Return to documentation for file (cosm/repr/gridQ3D_los.hpp
)
#pragma once
/*******************************************************************************
* Includes
******************************************************************************/
#include "rcppsw/ds/grid3D.hpp"
#include "rcppsw/math/vector3.hpp"
#include "cosm/ds/cell3D.hpp"
#include "cosm/repr/base_grid_los.hpp"
#include "cosm/repr/grid3D_view_entity.hpp"
/*******************************************************************************
* Namespaces/Decls
******************************************************************************/
namespace cosm::repr {
/*******************************************************************************
* Class Definitions
******************************************************************************/
class gridQ3D_los
: public crepr::base_grid_los<
grid3D_view_entity<rds::grid3D<cds::cell3D>,
rds::grid3D<cds::cell3D>::const_grid_view>,
rmath::vector3d>,
public rer::client<gridQ3D_los> {
public:
using los_type = crepr::base_grid_los<
grid3D_view_entity<rds::grid3D<cds::cell3D>,
rds::grid3D<cds::cell3D>::const_grid_view>,
rmath::vector3d>;
using los_type::access;
using los_type::grid_view_type;
gridQ3D_los(const rtypes::type_uuid& c_id,
const grid_view_type& c_view,
const rtypes::discretize_ratio& c_resolution);
field_coord_dtype abs_ll(void) const override;
field_coord_dtype abs_ul(void) const override;
field_coord_dtype abs_lr(void) const override;
field_coord_dtype abs_ur(void) const override;
};
} /* namespace cosm::repr */