![]() |
GranOO
3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
|
#include <Pair.hpp>
Public Member Functions | |
Pair (type &p1, type &p2) | |
~Pair () | |
type & | get_item1 () |
const type & | get_item1 () const |
type & | get_item2 () |
const type & | get_item2 () const |
type & | item1 () |
type & | item2 () |
std::ostream & | write_ascii (std::ostream &out) const |
std::istream & | read_ascii (std::istream &in) |
std::string | info () const |
void | draw () |
void | draw () |
void | draw () |
![]() | |
virtual | ~Base () |
size_t | numID () const |
size_t | uID () const |
void | set_numID (size_t val) |
void | clear_numID () |
Physic::Material & | get_mat () const |
void | set_mat (Physic::Material *) |
Base & | item () |
const Base & | item () const |
bool | is_same (const Base &) const |
template<class T > | |
T & | cast_to () |
template<class T > | |
const T & | cast_to () const |
template<class T > | |
bool | is () const |
virtual bool | is (size_t) const |
virtual const std::string & | get_ID () const |
virtual Base & | clone () |
template<class T > | |
T & | clone_to () |
virtual std::ostream & | export_to_povray (std::ostream &out) const |
Signal< Base & > & | deleted_signal () |
![]() | |
Null () | |
virtual | ~Null () |
![]() | |
Drawable () | |
virtual | ~Drawable () |
virtual void | draw_edge () |
virtual void | init_default_color () |
virtual std::ostream & | get_info (std::ostream &os) const |
virtual const Color & | default_color () const |
Color & | get_color () |
const Color & | get_color () const |
virtual void | set_color (const Color &) |
virtual void | set_alpha (float alpha) |
void | apply_color () const |
void | apply_edge_color () const |
void | apply_default_color () |
void | apply_selected_color () |
void | set_line_width (float) |
float | get_line_width () const |
float & | get_line_width () |
void | apply_line_width () const |
bool | is_visible () const |
void | set_visible (bool) |
void | paint () |
void | paint_edge () |
unsigned int | get_item_glkey () const |
![]() | |
Register () | |
virtual | ~Register () |
void | erase_from_all_setof () |
bool | belong_to_setof (const std::string &setOfId) const |
bool | belong_to_setof (const SetOf< Base > &set) const |
std::list< SetOf< Base > * > & | get_setof_list () |
unsigned long long int | get_numeric_ID () const |
![]() | |
PropClass () | |
virtual | ~PropClass () |
T & | new_object () |
T & | get () |
const T & | get () const |
bool | prop_exist () const |
void | add_prop (Core::Prop< Pair< type > > *) |
void | remove_prop (Core::Prop< Pair< type > > *) |
std::string | info () const |
![]() | |
Register () | |
virtual | ~Register () |
void | erase_from_all_setof () |
bool | belong_to_setof (const std::string &setOfId) const |
bool | belong_to_setof (const SetOf< Pair< type > > &set) const |
std::list< SetOf< Pair< type > > * > & | get_setof_list () |
unsigned long long int | get_numeric_ID () const |
Static Public Member Functions | |
static void | update_connectivity_map () |
static SetOfBase< Pair< type > > & | get_connection_for (const type &) |
static unsigned int | get_number_of_connection_for (const type &item) |
![]() | |
static Base & | get_by_numID (size_t) |
static void | clear_all_numID () |
static unsigned int | get_sub_class_number () |
![]() | |
static Drawable & | get_drawable_item_by_glkey (int) |
static void | set_draw_precision (unsigned int p) |
static void | increase_draw_precision () |
static void | decrease_draw_precision () |
static unsigned int | get_draw_precision () |
Protected Attributes | |
type & | item1_ |
type & | item2_ |
![]() | |
std::vector< Core::Prop< Pair< type > > * > | _prop |
Private Member Functions | |
Pair (const Pair &)=delete | |
Pair & | operator= (const Pair &)=delete |
template<class Archive > | |
void | serialize (Archive &, const unsigned int) |
Static Private Attributes | |
static std::map< const type *, SetOfBase< Pair< type > > > | _connectivity_map = std::map<const type*, SetOfBase<Pair<type> > >() |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
![]() | |
static Null | null = Null() |
![]() | |
Base () | |
![]() | |
static unsigned int | affect_class_rank_ID () |
GranOO3::Core::Pair< type >::Pair | ( | type & | p1, |
type & | p2 | ||
) |
GranOO3::Core::Pair< type >::~Pair |
|
privatedelete |
|
virtual |
Reimplemented from GranOO3::Core::Drawable.
|
virtual |
Reimplemented from GranOO3::Core::Drawable.
|
virtual |
Reimplemented from GranOO3::Core::Drawable.
|
static |
type & GranOO3::Core::Pair< type >::get_item1 |
const type & GranOO3::Core::Pair< type >::get_item1 |
type & GranOO3::Core::Pair< type >::get_item2 |
const type & GranOO3::Core::Pair< type >::get_item2 |
|
static |
|
virtual |
Reimplemented from GranOO3::Core::Base.
type & GranOO3::Core::Pair< type >::item1 |
type & GranOO3::Core::Pair< type >::item2 |
|
privatedelete |
|
virtual |
Reimplemented from GranOO3::Core::Base.
|
inlineprivate |
|
static |
|
virtual |
Reimplemented from GranOO3::Core::Base.
|
friend |
|
staticprivate |
|
protected |
|
protected |