Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Types | Public Member Functions | Protected Attributes | List of all members
geomtools::i_wires_drawer< T > Class Template Reference

Base class for all shape drawer objects in wires mode. More...

#include <bayeux/geomtools/i_wires_drawer.h>

Inheritance diagram for geomtools::i_wires_drawer< T >:
geomtools::i_wires_3d_rendering

Public Types

typedef T object_type
 
typedef T * pointer_type
 
typedef const T * const_pointer_type
 
typedef T & reference_type
 
typedef const T & 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...
 

Public Member Functions

 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
 
virtual void generate_wires_self (wires_type &wires_, uint32_t options_=0) const =0
 

Protected Attributes

const_pointer_type _address_
 Reference to an external object. More...
 

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...
 

Detailed Description

template<class T>
class geomtools::i_wires_drawer< T >

Base class for all shape drawer objects in wires mode.

Member Typedef Documentation

◆ const_pointer_type

template<class T>
typedef const T* geomtools::i_wires_drawer< T >::const_pointer_type

◆ const_reference_type

template<class T>
typedef const T& geomtools::i_wires_drawer< T >::const_reference_type

◆ object_type

template<class T>
typedef T geomtools::i_wires_drawer< T >::object_type

◆ pointer_type

template<class T>
typedef T* geomtools::i_wires_drawer< T >::pointer_type

◆ reference_type

template<class T>
typedef T& geomtools::i_wires_drawer< T >::reference_type

Constructor & Destructor Documentation

◆ i_wires_drawer() [1/2]

template<class T>
geomtools::i_wires_drawer< T >::i_wires_drawer ( )
inline

Default constructor.

◆ i_wires_drawer() [2/2]

template<class T>
geomtools::i_wires_drawer< T >::i_wires_drawer ( const_reference_type  object_)
inline

Constructor.

◆ ~i_wires_drawer()

template<class T>
virtual geomtools::i_wires_drawer< T >::~i_wires_drawer ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ get()

template<class T>
const_reference_type geomtools::i_wires_drawer< T >::get ( ) const
inline

Return a non mutable reference to the object.

◆ has_address()

template<class T>
bool geomtools::i_wires_drawer< T >::has_address ( ) const
inline

Check the validity of the address.

◆ reset_address()

template<class T>
void geomtools::i_wires_drawer< T >::reset_address ( )
inline

Reset the address of the external object.

◆ set_address()

template<class T>
void geomtools::i_wires_drawer< T >::set_address ( const_reference_type  object_)
inline

Set the address of the external object.

Member Data Documentation

◆ _address_

template<class T>
const_pointer_type geomtools::i_wires_drawer< T >::_address_
protected

Reference to an external object.


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