Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
brief Abstract interface for objects that can describe themselves as a collection of polylines for 3D rendering More...
#include <bayeux/geomtools/i_wires_3d_rendering.h>
Public Types | |
enum | wires_rendering_option_type { WR_NONE = 0, WR_BASE_GRID = datatools::bit_mask::bit00, WR_BASE_GRID_LOW_DENSITY = (WR_BASE_GRID << 1), WR_BASE_GRID_HIGH_DENSITY = (WR_BASE_GRID << 2), WR_BASE_GRID_VERY_HIGH_DENSITY = (WR_BASE_GRID << 3), WR_BASE_GRID_HUGE_DENSITY = (WR_BASE_GRID << 4), WR_BASE_LOW_ANGLE_SAMPLING = (WR_BASE_GRID << 5), WR_BASE_HIGH_ANGLE_SAMPLING = (WR_BASE_GRID << 6), WR_BASE_VERY_HIGH_ANGLE_SAMPLING = (WR_BASE_GRID << 7), WR_BASE_HUGE_ANGLE_SAMPLING = (WR_BASE_GRID << 8), WR_BASE_UNUSED_09 = (WR_BASE_GRID << 9), WR_BASE_UNUSED_10 = (WR_BASE_GRID << 10), WR_BASE_UNUSED_11 = (WR_BASE_GRID << 11), WR_BASE_UNUSED_12 = (WR_BASE_GRID << 12), WR_BASE_UNUSED_13 = (WR_BASE_GRID << 13), WR_BASE_BOUNDINGS = (WR_BASE_GRID << 14), WR_BASE_EXPLODE = (WR_BASE_GRID << 15), WR_BASE_LAST = (WR_BASE_EXPLODE), WR_BASE_MASK = datatools::bit_mask::nbits16 } |
Wires rendering optional flags. More... | |
enum | sampling_level_type { SL_NONE = 0, SL_LOW = 1, SL_NORMAL = 2, SL_HIGH = 3, SL_VERY_HIGH = 4, SL_HUGE = 5 } |
Sampling levels. More... | |
Public Member Functions | |
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 |
virtual void | generate_wires_self (wires_type &wires_, uint32_t options_=0) const =0 |
Static Public Member Functions | |
static uint32_t | linear_sampling (sampling_level_type) |
Return linear sampling from sampling level. More... | |
static uint32_t | linear_sampling_from_options (uint32_t) |
Return linear sampling from rendering options. More... | |
static uint32_t | angular_sampling (sampling_level_type) |
Return angular sampling from sampling level. More... | |
static uint32_t | angular_sampling_from_options (uint32_t) |
Return angular sampling from rendering options. More... | |
static void | boost_linear_sampling (uint32_t &) |
Boost the linear sampling. More... | |
brief Abstract interface for objects that can describe themselves as a collection of polylines for 3D rendering
Wires rendering optional flags.
|
virtual |
Destructor.
|
static |
Return angular sampling from sampling level.
|
static |
Return angular sampling from rendering options.
|
static |
Boost the linear sampling.
void geomtools::i_wires_3d_rendering::generate_wires | ( | wires_type & | wires_, |
const placement & | positioning_, | ||
uint32_t | options_ = 0 |
||
) | const |
Generate a collection of polylines representing a 3D object in 'wires' display mode at some given placement
void geomtools::i_wires_3d_rendering::generate_wires | ( | wires_type & | wires_, |
const geomtools::vector_3d & | position_, | ||
const geomtools::rotation_3d & | rotation_, | ||
uint32_t | options_ = 0 |
||
) | const |
Gener(ate a collection of polylines representing a 3D object in 'wires' display mode at some given position and orientation
|
pure virtual |
Generate a collection of polylines representing a 3D object in 'wires' display mode using the object coordinate frame
Implemented in geomtools::tessellated_solid, geomtools::polycone, geomtools::right_circular_conical_frustrum, geomtools::tube, geomtools::polyhedra, geomtools::sphere, geomtools::extruded_box, geomtools::right_polygonal_frustrum, geomtools::torus, geomtools::blur_spot, geomtools::box, geomtools::quadric, geomtools::helix_3d, geomtools::cylinder, geomtools::elliptical_cylinder, geomtools::ellipsoid, geomtools::line_3d, geomtools::quadrangle, geomtools::ellipse, geomtools::wall_solid, geomtools::simple_polygon, geomtools::disk, geomtools::ellipsoid_sector, geomtools::regular_polygon, geomtools::spherical_sector, geomtools::elliptical_sector, geomtools::elliptical_cylinder_sector, geomtools::right_circular_conical_nappe, geomtools::triangle, geomtools::cylindrical_sector, geomtools::bounding_data, geomtools::cylindric_extrusion_boxed_model::wires_drawer, geomtools::circle, geomtools::toroid_nappe, geomtools::polyline_3d, geomtools::rectangle, geomtools::plane, geomtools::composite_surface, geomtools::plate_with_hole_model::wires_drawer, geomtools::spherical_extrusion_cylinder_model::wires_drawer, geomtools::spherical_extrusion_box_model::wires_drawer, geomtools::extruded_box_model::wires_drawer, geomtools::intersection_3d, geomtools::union_3d, and geomtools::subtraction_3d.
|
static |
Return linear sampling from sampling level.
|
static |
Return linear sampling from rendering options.