![]() |
GranOO
3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
|
#include <GroundT.hpp>

Public Member Functions | |
| GroundT (const std::string &, const Geom::Point &p, const Geom::Quaternion &q) | |
| GroundT () | |
| virtual | ~GroundT () |
| virtual std::string | info () const |
| void | read_xml_element (const TiXmlElement *el) |
| virtual void | draw () |
| virtual void | draw_edge () |
| std::string | shape_class_ID () const |
| const Geom::Frame & | local_frame () const |
| virtual Shape::Base & | to_base_shape () |
| virtual const Shape::Base & | to_base_shape () const |
| virtual std::ostream & | write_ascii (std::ostream &out) const |
| virtual std::istream & | read_ascii (std::istream &in) |
Public Member Functions inherited from GranOO3::Physic::Ground | |
| Ground (const std::string &id, const Geom::Point &p, const Geom::Quaternion &q) | |
| virtual | ~Ground () |
| virtual void | add_glob (const std::string &)=0 |
| virtual std::ostream & | export_to_povray (std::ostream &out) const |
| virtual Shape::Volume & | to_volume_shape () |
| virtual const Shape::Volume & | to_volume_shape () const |
| virtual Shape::Surface & | to_surface_shape () |
| virtual const Shape::Surface & | to_surface_shape () const |
| void | apply_force (const Geom::Vector &) |
| void | apply_force_at (const Geom::Vector &, const Geom::Point &) |
| void | clear_force () |
| void | apply_torque (const Geom::Vector &) |
| void | clear_torque () |
| void | incremental_move () |
| Geom::Vector | get_linear_velocity_at (const Geom::Point &) const |
| bool | is_interact_with (const Node &) const |
Public Member Functions inherited from GranOO3::Core::Base | |
| 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 () |
| Signal< Base & > & | deleted_signal () |
Public Member Functions inherited from GranOO3::Core::Null | |
| Null () | |
| virtual | ~Null () |
Public Member Functions inherited from GranOO3::Core::Drawable | |
| Drawable () | |
| virtual | ~Drawable () |
| 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 |
Public Member Functions inherited from GranOO3::Core::Register< Base > | |
| 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 |
Public Member Functions inherited from GranOO3::Core::Register< Ground > | |
| Register () | |
| virtual | ~Register () |
| void | erase_from_all_setof () |
| bool | belong_to_setof (const std::string &setOfId) const |
| bool | belong_to_setof (const SetOf< Ground > &set) const |
| std::list< SetOf< Ground > * > & | get_setof_list () |
| unsigned long long int | get_numeric_ID () const |
Public Member Functions inherited from GranOO3::Core::Register< GroundT< shape > > | |
| Register () | |
| virtual | ~Register () |
| void | erase_from_all_setof () |
| bool | belong_to_setof (const std::string &setOfId) const |
| bool | belong_to_setof (const SetOf< GroundT< shape > > &set) const |
| std::list< SetOf< GroundT< shape > > * > & | get_setof_list () |
| unsigned long long int | get_numeric_ID () const |
Static Public Member Functions | |
| static GroundT< shape > & | get (const std::string &) |
| static bool | exist (const std::string &) |
Static Public Member Functions inherited from GranOO3::Physic::Ground | |
| static Ground & | get (std::string) |
| static bool | exist (std::string) |
| static Ground & | glob (const std::string &id) |
| static Ground * | new_object (const TiXmlElement *el) |
Static Public Member Functions inherited from GranOO3::Core::Base | |
| static Base & | get_by_numID (size_t) |
| static void | clear_all_numID () |
| static unsigned int | get_sub_class_number () |
Static Public Member Functions inherited from GranOO3::Core::Drawable | |
| 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 () |
Static Public Member Functions inherited from GranOO3::Core::ObjectFactoryInterface< Ground, GroundT< shape > > | |
| static Ground * | build () |
| static bool | record (const std::string &id, std::string file_name="", std::string desc="") |
Static Public Member Functions inherited from GranOO3::Core::ObjectFactory< BaseClass > | |
| static void | record (std::function< BaseClass *()>, const std::string &, const std::string file="", const std::string desc="") |
| static BaseClass * | new_object (const std::string &) |
| static std::vector< std::string > | get_ID () |
| static std::map< const std::string, std::function< BaseClass *()> > & | get_map () |
Private Member Functions | |
| GroundT (const GroundT &)=delete | |
| GroundT & | operator= (const GroundT &)=delete |
| template<class Archive > | |
| void | serialize (Archive &, const unsigned int) |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Static Public Attributes inherited from GranOO3::Core::Null | |
| static Null | null = Null() |
Protected Member Functions inherited from GranOO3::Physic::Ground | |
| Ground () | |
Protected Member Functions inherited from GranOO3::Core::Base | |
| Base () | |
Protected Member Functions inherited from GranOO3::Core::ObjectFactoryInterface< Ground, GroundT< shape > > | |
| ObjectFactoryInterface () | |
| virtual | ~ObjectFactoryInterface () |
Protected Member Functions inherited from GranOO3::Core::ObjectFactory< BaseClass > | |
| ObjectFactory () | |
| virtual | ~ObjectFactory () |
Static Protected Member Functions inherited from GranOO3::Core::Base | |
| static unsigned int | affect_class_rank_ID () |
Protected Attributes inherited from GranOO3::Physic::Ground | |
| std::string | _ID |
| Geom::Point | _center |
| Geom::Vector & | _position |
| Geom::Quaternion | _quat |
| Geom::Frame | _frame |
| Geom::Vector | _force |
| Geom::Vector | _contact_force |
| Geom::Vector | _torque |
| Geom::Vector | _linear_velocity |
| Geom::Vector | _angular_vel |
| GranOO3::Physic::GroundT< shape >::GroundT | ( | const std::string & | , |
| const Geom::Point & | p, | ||
| const Geom::Quaternion & | q | ||
| ) |
| GranOO3::Physic::GroundT< shape >::GroundT | ( | ) |
|
virtual |
|
privatedelete |
|
virtual |
Reimplemented from GranOO3::Core::Drawable.
|
virtual |
Reimplemented from GranOO3::Core::Drawable.
|
static |
|
static |
|
virtual |
Reimplemented from GranOO3::Physic::Ground.
| const Geom::Frame& GranOO3::Physic::GroundT< shape >::local_frame | ( | ) | const |
|
privatedelete |
|
virtual |
Reimplemented from GranOO3::Physic::Ground.
|
virtual |
Reimplemented from GranOO3::Physic::Ground.
|
private |
|
virtual |
Implements GranOO3::Physic::Ground.
|
virtual |
Implements GranOO3::Physic::Ground.
|
virtual |
Implements GranOO3::Physic::Ground.
|
virtual |
Reimplemented from GranOO3::Physic::Ground.
|
friend |