![]() |
GranOO
3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
|
#include <Ground.hpp>
Public Member Functions | |
Ground (const std::string &id, const Geom::Point &p, const Geom::Quaternion &q) | |
virtual | ~Ground () |
virtual void | read_xml_element (const TiXmlElement *el) |
virtual void | add_glob (const std::string &)=0 |
virtual std::string | info () const |
virtual std::string | shape_class_ID () const =0 |
virtual std::ostream & | write_ascii (std::ostream &out) const |
virtual std::istream & | read_ascii (std::istream &in) |
virtual std::ostream & | export_to_povray (std::ostream &out) const |
virtual Shape::Base & | to_base_shape ()=0 |
virtual const Shape::Base & | to_base_shape () const =0 |
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 |
![]() | |
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 () |
![]() | |
Null () | |
virtual | ~Null () |
![]() | |
Drawable () | |
virtual | ~Drawable () |
virtual void | draw () |
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 |
![]() | |
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 |
Static Public Member Functions | |
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 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 Member Functions | |
Ground () | |
![]() | |
Base () | |
Protected Attributes | |
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 |
Private Member Functions | |
Ground (const Ground &) | |
Ground & | operator= (const Ground &) |
template<class Archive > | |
void | save (Archive &, const unsigned int) const |
template<class Archive > | |
void | load (Archive &, const unsigned int) |
BOOST_SERIALIZATION_SPLIT_MEMBER () | |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
![]() | |
static Null | null = Null() |
![]() | |
static unsigned int | affect_class_rank_ID () |
GranOO3::Physic::Ground::Ground | ( | const std::string & | id, |
const Geom::Point & | p, | ||
const Geom::Quaternion & | q | ||
) |
|
virtual |
|
private |
|
protected |
|
pure virtual |
Implemented in GranOO3::DEM::SupportShape.
void GranOO3::Physic::Ground::apply_force | ( | const Geom::Vector & | force | ) |
void GranOO3::Physic::Ground::apply_force_at | ( | const Geom::Vector & | force, |
const Geom::Point & | applicationPoint | ||
) |
void GranOO3::Physic::Ground::apply_torque | ( | const Geom::Vector & | torque | ) |
|
private |
void GranOO3::Physic::Ground::clear_force | ( | ) |
void GranOO3::Physic::Ground::clear_torque | ( | ) |
|
inlinestatic |
|
virtual |
Reimplemented from GranOO3::Core::Base.
|
inlinestatic |
Geom::Vector GranOO3::Physic::Ground::get_linear_velocity_at | ( | const Geom::Point & | M | ) | const |
|
static |
void GranOO3::Physic::Ground::incremental_move | ( | ) |
|
inlinevirtual |
Reimplemented from GranOO3::Core::Base.
Reimplemented in GranOO3::Physic::GroundT< shape >, GranOO3::DEM::SupportShapeT< shape >, and GranOO3::DEM::SupportShape.
|
inline |
|
private |
|
static |
|
virtual |
Reimplemented from GranOO3::Core::Base.
Reimplemented in GranOO3::Physic::GroundT< shape >, GranOO3::DEM::SupportShapeT< shape >, and GranOO3::DEM::SupportShape.
|
virtual |
Reimplemented in GranOO3::Physic::GroundT< shape >, GranOO3::DEM::SupportShapeT< shape >, and GranOO3::DEM::SupportShape.
|
private |
|
pure virtual |
Implemented in GranOO3::DEM::SupportShape, GranOO3::Physic::GroundT< shape >, and GranOO3::DEM::SupportShapeT< shape >.
|
pure virtual |
Implemented in GranOO3::Physic::GroundT< shape >, and GranOO3::DEM::SupportShapeT< shape >.
|
pure virtual |
Implemented in GranOO3::Physic::GroundT< shape >, and GranOO3::DEM::SupportShapeT< shape >.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GranOO3::DEM::SupportShape, and GranOO3::DEM::SupportShapeT< shape >.
|
inlinevirtual |
Reimplemented in GranOO3::DEM::SupportShape, and GranOO3::DEM::SupportShapeT< shape >.
|
virtual |
Reimplemented from GranOO3::Core::Base.
Reimplemented in GranOO3::Physic::GroundT< shape >, GranOO3::DEM::SupportShapeT< shape >, and GranOO3::DEM::SupportShape.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |