17 #ifndef GENVTX_CYLINDER_MODEL_VG_H 18 #define GENVTX_CYLINDER_MODEL_VG_H 1 66 virtual void tree_dump (std::ostream & out_ = std::clog,
67 const std::string & title_ =
"",
68 const std::string & indent_ =
"",
69 bool inherit_ =
false)
const;
78 virtual void initialize(const ::datatools::properties &,
102 void _set_defaults_ ();
109 bool _surface_bottom_;
112 double _skin_thickness_;
114 std::vector<weight_entry_type> _entries_;
130 #endif // GENVTX_CYLINDER_MODEL_VG_H bool is_surface_side() const
Top-level namespace of the Bayeux/genvtx module library.
Definition: box_model_vg.h:32
void set_surface_side(bool)
virtual void reset()
Reset.
void set_surface_top(bool)
bool is_mode_valid() const
A vertex generator based on a cylindric geometry model.
Definition: cylinder_model_vg.h:36
bool is_mode_bulk() const
void _shoot_vertex_cylinders(mygsl::rng &random_, geomtools::vector_3d &vertex_)
An abstract vertex generator based on a geometry model.
Definition: i_from_model_vg.h:39
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
bool is_surface_top() const
void set_skin_thickness(double skin_thickness_)
virtual void _shoot_vertex(::mygsl::rng &random_, ::geomtools::vector_3d &vertex_)
Randomize vertex.
void set_surface_bottom(bool)
cylinder_model_vg()
Constructor.
void set_skin_skip(double skin_skip_)
#define GENVTX_VG_REGISTRATION_INTERFACE(GENVTX_CLASS_NAME)
Definition: vg_macros.h:46
Macros to automatically register vertex generator class.
A vertex generator based on the geometry of a 3D cylinder.
Definition: cylinder_vg.h:41
virtual ~cylinder_model_vg()
Destructor.
std::map< std::string, vg_entry_type > vg_dict_type
Definition: vg_tools.h:125
bool is_surface_bottom() const
virtual bool is_initialized() const
Check initialization status.
bool is_mode_surface() const
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
virtual void initialize(const ::datatools::properties &, ::datatools::service_manager &, ::genvtx::vg_dict_type &)
Initialization.
Pseudo random number generator.
Definition: rng.h:53