|
| static void | add_input_file_name (const std::string &file_name) |
| | Add manually the name of an input text file.
|
| unsigned | get_number_of_loaded_geometric_models (void) const |
| | Number of loaded files.
|
| const Molecular_geometric_model & | get_geometric_model (unsigned i) const |
| | ith container of the loaded 3D spheres from the ith file (const).
|
| Molecular_geometric_model & | get_geometric_model (unsigned i) |
| | ith container of the loaded 3D spheres from the ith file.
|
| const Molecular_geometric_model & | get_geometric_model (void) const |
| | Container of the loaded 3D spheres (const).
|
| Molecular_geometric_model & | get_geometric_model (void) |
| | Container of the loaded 3D spheres.
|
| std::vector< Molecular_geometric_model > & | get_molecular_systems (void) |
| | To match updated API of Molecular_system_loader.
|
|
| boost::program_options::options_description | add_options (void) override |
| | Virtual method for adding options to the module.
|
| bool | load (unsigned verbose, std::ostream &out) override |
| | Load function.
|
| bool | check_options (std::string &message) const override |
| | Checks that the input options' values are coherent.
|
| std::string | get_output_prefix (void) const override |
| | Returns a prefix that concatains the input line options used when running the module.
|
| std::string | get_name (void) const override |
| | Return the name of the class itself.
|
template<
class Sphere3,
class Point3 = typename Sphere3::Point>
class SBL::Models::T_Spheres_3_file_loader< Sphere3, Point3 >
Loader for one or more txt files listing 3D spheres
It simply loads one or more files listing 3D spheres (1 sphere per line with the center coordinates and the radius) onto containers. Note that for compatibility with the CGAL library, even if the spheres are describes with their radius in the input file, the squared radius is stored in the objects of type Sphere3
- Template Parameters
-
| Sphere3 | Representation of a 3D sphere, that should be constructible from its center and its radius. |
| Point3 | Representation of the center of a 3D sphere, that should be constructible from its coordinates. |