Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Types | Public Member Functions | List of all members
geomtools::cylindric_extrusion_boxed_model::wires_drawer Struct Reference

Special wires 3D rendering. More...

#include <bayeux/geomtools/cylindric_extrusion_boxed_model.h>

Inheritance diagram for geomtools::cylindric_extrusion_boxed_model::wires_drawer:
geomtools::i_wires_drawer< cylindric_extrusion_boxed_model > geomtools::i_wires_3d_rendering

Public Types

enum  wires_rendering_option_type { WR_CEBM_NO_MOTHER_FACES = (WR_BASE_LAST << 1), WR_CEBM_NO_EXTRUSION_FACES = (WR_BASE_LAST << 2), WR_CEBM_LAST = (WR_CEBM_NO_MOTHER_FACES), WR_CEBM_MASK }
 Rendering options. More...
 
- Public Types inherited from geomtools::i_wires_drawer< cylindric_extrusion_boxed_model >
typedef cylindric_extrusion_boxed_model object_type
 
typedef cylindric_extrusion_boxed_modelpointer_type
 
typedef const cylindric_extrusion_boxed_modelconst_pointer_type
 
typedef cylindric_extrusion_boxed_modelreference_type
 
typedef const cylindric_extrusion_boxed_modelconst_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...
 

Public Member Functions

 wires_drawer (const cylindric_extrusion_boxed_model &model_)
 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< cylindric_extrusion_boxed_model >
 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

- 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< cylindric_extrusion_boxed_model >
const_pointer_type _address_
 Reference to an external object. More...
 

Detailed Description

Special wires 3D rendering.

Member Enumeration Documentation

◆ wires_rendering_option_type

Rendering options.

Enumerator
WR_CEBM_NO_MOTHER_FACES 

Do not render the mother box solid faces.

WR_CEBM_NO_EXTRUSION_FACES 

Do not render the extrusion surface.

WR_CEBM_LAST 

Last defined bit.

WR_CEBM_MASK 

Rendering options bit mask.

Constructor & Destructor Documentation

◆ wires_drawer()

geomtools::cylindric_extrusion_boxed_model::wires_drawer::wires_drawer ( const cylindric_extrusion_boxed_model model_)

Constructor.

◆ ~wires_drawer()

virtual geomtools::cylindric_extrusion_boxed_model::wires_drawer::~wires_drawer ( )
virtual

Destructor.

Member Function Documentation

◆ generate_wires_self()

virtual void geomtools::cylindric_extrusion_boxed_model::wires_drawer::generate_wires_self ( wires_type wires_,
uint32_t  options_ = 0 
) const
virtual

Generate a list of polylines representing the contour of the shape (for display clients)

Implements geomtools::i_wires_3d_rendering.


The documentation for this struct was generated from the following file: