A geometry model implementing a mother box volume with some daughter volumes positioned on a 2D grid.
More...
#include <bayeux/geomtools/grid_model.h>
A geometry model implementing a mother box volume with some daughter volumes positioned on a 2D grid.
◆ grid_model()
geomtools::grid_model::grid_model |
( |
| ) |
|
◆ ~grid_model()
virtual geomtools::grid_model::~grid_model |
( |
| ) |
|
|
virtual |
◆ _at_construct()
◆ _post_construct()
◆ _pre_construct()
◆ get_box()
virtual const geomtools::box& geomtools::grid_model::get_box |
( |
| ) |
const |
|
virtual |
Return a reference to the mother box.
◆ get_grid_daughter_label()
const std::string& geomtools::grid_model::get_grid_daughter_label |
( |
| ) |
const |
Return the label used for daughter volumes set on the grid.
◆ get_model()
const i_model& geomtools::grid_model::get_model |
( |
| ) |
const |
Return a reference to the replicated model.
◆ get_model_id()
virtual std::string geomtools::grid_model::get_model_id |
( |
| ) |
const |
|
virtual |
Return the model unique class Id.
◆ get_number_of_items()
size_t geomtools::grid_model::get_number_of_items |
( |
int |
| ) |
const |
Return the number of replicated items along one of the grid axis.
◆ get_solid()
Return a reference to the mother box.
◆ get_step()
double geomtools::grid_model::get_step |
( |
int |
| ) |
const |
Return the replication step along one of the grid axis.
◆ get_x()
double geomtools::grid_model::get_x |
( |
| ) |
const |
Return the X dimension of the mother box.
◆ get_y()
double geomtools::grid_model::get_y |
( |
| ) |
const |
Return the Y dimension of the mother box.
◆ get_z()
double geomtools::grid_model::get_z |
( |
| ) |
const |
Return the Z dimension of the mother box.
◆ set_model()
void geomtools::grid_model::set_model |
( |
const i_model & |
| ) |
|
Set the replicated model.
◆ tree_dump()
virtual void geomtools::grid_model::tree_dump |
( |
std::ostream & |
out_ = std::clog , |
|
|
const std::string & |
title_ = "" , |
|
|
const std::string & |
indent_ = "" , |
|
|
bool |
inherit_ = false |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following file: