|
| void | compute_top_bottom_face (faces_mask_type face_id_, elliptical_sector &face_, placement &face_placement_) const |
| | Compute the top or bottom face and placement. More...
|
| |
| void | compute_side_face (ellipsoid_sector &face_, placement &face_placement_) const |
| | Compute the side face and placement. More...
|
| |
| virtual unsigned int | compute_faces (face_info_collection_type &faces) const |
| | Return a collection of face info objects. More...
|
| |
| double | get_xmin () const |
| |
| double | get_xmax () const |
| |
| double | get_ymin () const |
| |
| double | get_ymax () const |
| |
| double | get_zmin () const |
| |
| double | get_zmax () const |
| |
| double | get_x_radius () const |
| |
| void | set_x_radius (double) |
| |
| double | get_y_radius () const |
| |
| void | set_y_radius (double) |
| |
| double | get_z_radius () const |
| |
| void | set_z_radius (double) |
| |
| double | get_bottom_z_cut () const |
| |
| void | set_bottom_z_cut (double) |
| |
| double | get_top_z_cut () const |
| |
| void | set_top_z_cut (double) |
| |
| void | set (double rx_, double ry_, double rz_) |
| |
| void | set (double rx_, double ry_, double rz_, double zm_, double zp_) |
| |
| | ellipsoid () |
| | Constructor. More...
|
| |
| | ellipsoid (double rx_, double ry_, double rz_) |
| | Constructor. More...
|
| |
| | ellipsoid (double rx_, double ry_, double rz_, double zm_, double zp_) |
| | Constructor. More...
|
| |
| virtual | ~ellipsoid () |
| | Destructor. More...
|
| |
| virtual std::string | get_shape_name () const |
| | Return the name of the shape. More...
|
| |
| virtual double | get_parameter (const std::string &) const |
| | Return the value of some parameter. More...
|
| |
| bool | is_valid () const |
| | Check the validity of the ellipsoid. More...
|
| |
| virtual void | initialize (const datatools::properties &, const handle_dict_type *=0) |
| | Initialize the ellipsoid from properties. More...
|
| |
| virtual void | reset () |
| | Reset the ellipsoid. More...
|
| |
| virtual double | get_surface (uint32_t mask_=FACE_ALL) const |
| | Compute the surface. More...
|
| |
| virtual double | get_volume (uint32_t flags_=0) const |
| | Compute the volume. More...
|
| |
| virtual bool | is_inside (const vector_3d &, double skin_=GEOMTOOLS_PROPER_TOLERANCE) const |
| | Check if a point is inside the tube. More...
|
| |
| virtual bool | is_outside (const vector_3d &, double skin_=GEOMTOOLS_PROPER_TOLERANCE) const |
| | Check if a point is outside the tube. More...
|
| |
| virtual face_identifier | on_surface (const vector_3d &, const face_identifier &a_surface_mask=face_identifier::face_bits_any(), double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
| | Return the surface bit a point belongs to. More...
|
| |
| virtual vector_3d | get_normal_on_surface (const vector_3d &a_position, const face_identifier &a_surface_bit) const |
| | Return the vector normal to the surface at some position. More...
|
| |
| virtual bool | find_intercept (const vector_3d &from_, const vector_3d &direction_, face_intercept_info &intercept_, double skin_=GEOMTOOLS_PROPER_TOLERANCE) const |
| | Find the intercept point with a face of the tube. More...
|
| |
| virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
| | Smart print. More...
|
| |
| virtual void | generate_wires_self (wires_type &wires_, uint32_t options_=0) const |
| | Generate a sequence of polylines for wires 3D rendering. More...
|
| |
| bool | is_native_stackable () const |
| |
| const stackable_data & | get_stackable_data () const |
| | Return the enforced stackable data associated to the shape. More...
|
| |
| bool | has_stackable_data () const |
| | Check if some enforced stackable data are available. More...
|
| |
| bool | owns_stackable_data () const |
| | Check if some enforced stackable data are available and owned by the shape itself. More...
|
| |
| void | set_stackable_data (const stackable_data &a_stackable_data) |
| | Set external enforced stackable data. More...
|
| |
| void | set_stackable_data (const stackable_data *a_stackable_data) |
| | Set internal enforced stackable data. More...
|
| |
| void | reset_stackable_data () |
| | Reset enforced stackable data. More...
|
| |
| int | get_dimensional () const |
| | Return the dimension (3) More...
|
| |
| double | get_skin (double a_skin) const |
| | Return the effective skin tolerance associated to the 3D shape. More...
|
| |
| double | get_skin () const |
| | Return the intrinsic skin tolerance. More...
|
| |
| void | set_skin (double a_skin) |
| | Set the intrinsic skin tolerance. More...
|
| |
| | i_shape_3d () |
| | Constructor. More...
|
| |
| | i_shape_3d (double a_skin) |
| | Constructor with skin tolerance. More...
|
| |
| | i_shape_3d (double a_skin_, double angular_tolerance_) |
| | Constructor. More...
|
| |
| | i_shape_3d (const i_shape_3d &) |
| | Copy constructor. More...
|
| |
| i_shape_3d & | operator= (const i_shape_3d &) |
| | Assignment operator. More...
|
| |
| virtual | ~i_shape_3d () |
| | Destructor. More...
|
| |
| virtual bool | is_composite () const |
| | Check if the solid is composite. More...
|
| |
| virtual bool | using_face_id_bits () const |
| | Check if the face identification scheme is based on face bits. More...
|
| |
| virtual bool | using_face_id_index () const |
| | Check if the face identification scheme is based on face index. More...
|
| |
| virtual bool | using_face_id_part_index () const |
| | Check if the face identification scheme uses part index. More...
|
| |
| virtual void | make_any_face (face_identifier &) const |
| | Build a face identifier any mask. More...
|
| |
| virtual bool | has_number_of_faces () const |
| | Check if the number of faces is known. More...
|
| |
| virtual unsigned int | get_number_of_faces () const |
| | Return the number of faces. More...
|
| |
| virtual bool | volume_can_be_forced () const |
| | Check if a forced volume can be set. More...
|
| |
| virtual bool | has_forced_volume () const |
| | Check is a forced volume is set. More...
|
| |
| void | set_forced_volume (double volume_) |
| | Force the volume. More...
|
| |
| double | get_forced_volume () const |
| | Return the forced volume. More...
|
| |
| virtual bool | has_volume (uint32_t flags_=0) const |
| | Check is the volume is known. More...
|
| |
| double | get_effective_volume () const |
| | Return the total effective volume. More...
|
| |
| virtual bool | has_surface (uint32_t flags_=face_identifier::FACE_BITS_ANY) const |
| | Check is the surface is known. More...
|
| |
| bool | check_inside (const vector_3d &position_, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
| | Check if a point is inside the solid. More...
|
| |
| bool | check_outside (const vector_3d &position_, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
| | Check if a point is outside the solid. More...
|
| |
| face_identifier | check_surface (const vector_3d &position_, const face_identifier &a_surface_mask=face_identifier::FACE_BITS_ANY, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
| | Check is a point is located on a given surface. More...
|
| |
| bool | check_surface (const vector_3d &position_, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
| | Check if a point is on the surface of the solid. More...
|
| |
| bool | is_on_surface (const vector_3d &position_, const face_identifier &a_surface_mask=face_identifier::FACE_BITS_ANY, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
| | Check is a point is on a surface of the solid. More...
|
| |
| virtual shape_domain_flags_type | where_is (const vector_3d &position_, double a_skin) const |
| | Localize a point with respect to the solid. More...
|
| |
| bool | has_computed_faces () const |
| | Check if the embedded collection of faces has been computed. More...
|
| |
| const face_info_collection_type & | get_computed_faces () const |
| | Return the collection of faces. More...
|
| |
| void | reset_computed_faces () |
| | Reset the computed faces. More...
|
| |
| bool | has_bounding_data () const |
| | Check the bounding data. More...
|
| |
| const bounding_data & | get_bounding_data () const |
| | Return the bounding data. More...
|
| |
| void | reset_bounding_data () |
| | Reset the bounding data. More...
|
| |
| void | set_bounding_data (const bounding_data &) |
| | Set the bounding data. More...
|
| |
| void | build_default_bounding_data () |
| | Build default bounding data. More...
|
| |
| bool | is_locked () const |
| | Check the lock flag. More...
|
| |
| void | lock () |
| | Lock the shape, performing some internal calculations. More...
|
| |
| void | unlock () |
| | Unlock the shape. More...
|
| |
| datatools::logger::priority | get_logging_priority () const |
| | Return the logging priority threshold. More...
|
| |
| void | set_logging_priority (datatools::logger::priority) |
| | Set the logging priority threshold. More...
|
| |
| bool | has_wires_drawer () const |
| | Check is a wires drawer is available. More...
|
| |
| void | set_wires_drawer (i_wires_3d_rendering &wires_drawer_) |
| | Set a wires drawer. More...
|
| |
| void | reset_wires_drawer () |
| | Reset the wires drawer. More...
|
| |
| i_wires_3d_rendering & | grab_wires_drawer () |
| | Return a wires drawer. More...
|
| |
| const i_wires_3d_rendering & | get_wires_drawer () const |
| | Return a wires drawer. More...
|
| |
| double | compute_tolerance (double tolerance_) const |
| | Return the distance tolerance. More...
|
| |
| double | compute_angular_tolerance (double angular_tolerance_) const |
| | Return the angular tolerance. More...
|
| |
| double | get_tolerance () const |
| | Return the distance tolerance. More...
|
| |
| void | set_tolerance (double tolerance_) |
| | Set the distance tolerance. More...
|
| |
| double | get_angular_tolerance () const |
| | Return the angular tolerance. More...
|
| |
| void | set_angular_tolerance (double tolerance_) |
| | Set the angular tolerance. More...
|
| |
| | i_object_3d () |
| | Default constructor. More...
|
| |
| | i_object_3d (double tolerance_) |
| | Constructor on length tolerance. More...
|
| |
| | i_object_3d (double tolerance_, double angular_tolerance_) |
| | Constructor on length tolerance. More...
|
| |
| | i_object_3d (const i_object_3d &) |
| | Copy constructor. More...
|
| |
| i_object_3d & | operator= (const i_object_3d &) |
| | Assignment operator. More...
|
| |
| virtual | ~i_object_3d () |
| | Destructor. More...
|
| |
| void | initialize_simple () |
| | Initialize the 3D object. 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 |
| |
| virtual | ~i_wires_3d_rendering () |
| | Destructor. More...
|
| |
| void | generate_wires (wires_type &wires_, const placement &positioning_, uint32_t options_=0) const |
| |
| void | generate_wires (wires_type &wires_, const geomtools::vector_3d &position_, const geomtools::rotation_3d &rotation_, uint32_t options_=0) const |
| |
| | i_find_intercept () |
| | Default constructor. More...
|
| |
| virtual | ~i_find_intercept () |
| | Destructor. More...
|
| |
| bool | find_intercept_self (const vector_3d &a_from, const vector_3d &a_direction, face_intercept_info &a_intercept, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
| |
| bool | find_intercept (const vector_3d &a_from, const vector_3d &a_direction, const placement &a_placement, face_intercept_info &a_intercept, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
| |
| | i_stackable () |
| |
| virtual | ~i_stackable () |
| |
| bool | has_xmin () const |
| |
| bool | has_xmax () const |
| |
| bool | has_ymin () const |
| |
| bool | has_ymax () const |
| |
| bool | has_zmin () const |
| |
| bool | has_zmax () const |
| |
The 3D shape model for an ellipsoid.