Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Special 3D rendering. More...
#include <bayeux/geomtools/extruded_box_model.h>
Public Member Functions | |
wires_drawer (const extruded_box &eb_) | |
Constructor. More... | |
virtual | ~wires_drawer () |
Destructor. More... | |
virtual void | generate_wires_self (wires_type &wires_, uint32_t options_=0) const |
Generate a list of polylines representing the contour of the shape (for display clients) More... | |
Public Member Functions inherited from geomtools::i_wires_drawer< extruded_box > | |
i_wires_drawer () | |
Default constructor. More... | |
i_wires_drawer (const_reference_type object_) | |
Constructor. More... | |
virtual | ~i_wires_drawer () |
Destructor. More... | |
bool | has_address () const |
Check the validity of the address. More... | |
void | set_address (const_reference_type object_) |
Set the address of the external object. More... | |
void | reset_address () |
Reset the address of the external object. More... | |
const_reference_type | get () const |
Return a non mutable reference to the object. More... | |
Public Member Functions inherited from geomtools::i_wires_3d_rendering | |
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 |
Additional Inherited Members | |
Public Types inherited from geomtools::i_wires_drawer< extruded_box > | |
typedef extruded_box | object_type |
typedef extruded_box * | pointer_type |
typedef const extruded_box * | const_pointer_type |
typedef extruded_box & | reference_type |
typedef const extruded_box & | const_reference_type |
Public Types inherited from geomtools::i_wires_3d_rendering | |
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... | |
Static Public Member Functions inherited from geomtools::i_wires_3d_rendering | |
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... | |
Protected Attributes inherited from geomtools::i_wires_drawer< extruded_box > | |
const_pointer_type | _address_ |
Reference to an external object. More... | |
Special 3D rendering.
geomtools::extruded_box_model::wires_drawer::wires_drawer | ( | const extruded_box & | eb_ | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Generate a list of polylines representing the contour of the shape (for display clients)
Implements geomtools::i_wires_3d_rendering.