Multiple placement with an arbitrary collection of single placements addressed by index.
More...
|
| bool | is_valid () const |
| |
| void | invalidate () |
| |
| void | add (const placement &p_) |
| |
| const placement & | get_placement (int index_) const |
| |
| placement & | get_placement (int index_) |
| |
| virtual size_t | get_dimension () const |
| |
| virtual bool | is_replica () const |
| | Check if the placement is a replica (GDML/Geant4 concept for multiple placement objects) More...
|
| |
| virtual size_t | get_number_of_items () const |
| | Return the number of placement items. More...
|
| |
| virtual void | get_placement (int item_, placement &p_) const |
| | Compute the placement at given item rank/index. More...
|
| |
| virtual size_t | compute_index_map (std::vector< uint32_t > &map_, int item_) const |
| | Compute an array of indexes in a multidimensional frame from the item rank/index. More...
|
| |
| | multiple_placement () |
| | Default constructor. More...
|
| |
| virtual | ~multiple_placement () |
| | Destructor. More...
|
| |
| virtual void | reset () |
| | Reset. More...
|
| |
| virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="geomutils::multiple_placement", const std::string &indent_="", bool inherit_=false) const |
| | Smart print. More...
|
| |
| | i_placement () |
| | Default constructor. More...
|
| |
| virtual | ~i_placement () |
| | Destructor. More...
|
| |
| bool | is_multiple () const |
| | Check if the placement handles multiple positions. More...
|
| |
| placement | get_placement (int item_) const |
| | Return the placement at given item rank/index. More...
|
| |
| placement | get_placement_by_index (int item_) const |
| | Same as get_placement(int) but workaround method overloading for CAMP. More...
|
| |
| virtual bool | has_only_one_rotation () const |
| | Check if the placement is based on one unique rotation. More...
|
| |
| void | compute_placement (int item_, placement &p_) const |
| | Compute the placement at given item rank/index. More...
|
| |
| | i_serializable () |
| | Default constructor. More...
|
| |
| virtual | ~i_serializable () |
| | Destructor. More...
|
| |
| virtual const std::string & | get_serial_tag () const =0 |
| | Return the serialization string identifier of the class. More...
|
| |
| | i_tree_dumpable () |
| | Constructor. More...
|
| |
| virtual | ~i_tree_dumpable () |
| | Destructor. More...
|
| |
| virtual void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const |
| | Main new interface method for printing. More...
|
| |
| void | print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const |
| | Printing with jsonized options. More...
|
| |
| void | print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const |
| | Printing with jsonized options. More...
|
| |
| void | tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const |
| |
| void | tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const |
| |
| void | smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const |
| |
Multiple placement with an arbitrary collection of single placements addressed by index.