![]() |
GranOO
3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
|
#include <ConeTruncated.hpp>
Public Member Functions | |
ConeTruncated () | |
ConeTruncated (double radius1, double radius2, double length, const Geom::Frame &frame) | |
ConeTruncated (const ConeTruncated &) | |
ConeTruncated (const ConeTruncated &, const Geom::Frame &) | |
ConeTruncated (const Geom::Frame &frame) | |
virtual | ~ConeTruncated () |
void | read_xml_element (const TiXmlElement *el) |
virtual std::ostream & | write_ascii (std::ostream &out) const |
virtual std::istream & | read_ascii (std::istream &in) |
virtual void | to_vtk (vtkUnstructuredGrid *data) |
std::string | info () const |
void | make_equal_to (const ConeTruncated &) |
void | update_bounding_box () |
void | update_bounding_sphere () |
double | get_greatest_dimension () const |
AABB | aabb () const |
Interference | locate (const Geom::Point &) const |
Interference | locate (const Geom::Point &, double radius) const |
void | set_contact_regions (const std::string ®ions) |
bool | collide_inside (const Geom::Point &p1, double radius, Collision::Data &info) const |
bool | collide_outside (const Geom::Point &p1, double radius, Collision::Data &info) const |
Geom::Point | farthest_point_along (const Geom::Vector &) const |
double | get_volume () const |
void | compute_inertia_tensor (double density, Geom::Tensor &) const |
double | get_half_angle () const |
void | draw_gl () const |
void | scale (double) |
double | get_radius_at (double) const |
double | get_centre_of_mass () const |
std::ostream & | to_povray (std::ostream &out, const Core::Color &) const |
![]() | |
Volume (const Geom::Frame &frame) | |
virtual | ~Volume () |
bool | is_surface () const |
bool | is_volume () const |
const Box & | get_bounding_box () const |
const Sphere & | get_bounding_sphere () const |
Box & | get_bounding_box () |
Sphere & | get_bounding_sphere () |
void | update_bounding_shape () |
bool | is_bounding_shape () const |
template<Interference T> | |
bool | overlap (const Sphere &, Geom::Vector &normal, double &penetration) const |
Interference | locate (const Sphere &) const |
bool | collide_inside (const Geom::Point &, Collision::Data &) const |
bool | collide_outside (const Geom::Point &, Collision::Data &) const |
virtual bool | collide (const Volume &, Collision::Data &) const =0 |
virtual bool | collide (const Sphere &, Collision::Data &) const =0 |
virtual bool | collide (const Box &, Collision::Data &) const =0 |
virtual bool | collide (const Cylinder &, Collision::Data &) const =0 |
virtual bool | collide (const Cone &, Collision::Data &) const =0 |
virtual bool | collide (const ConeTruncated &, Collision::Data &) const =0 |
virtual bool | collide (const Polyhedron &, Collision::Data &) const =0 |
const std::set< std::string > & | get_face_ID () const |
template<> | |
bool | overlap (const Sphere &s, Geom::Vector &normal, double &penetration) const |
template<> | |
bool | overlap (const Sphere &s, Geom::Vector &normal, double &penetration) const |
template<> | |
bool | overlap (const Sphere &s, Geom::Vector &normal, double &penetration) const |
![]() | |
Base (const Geom::Frame &frame) | |
virtual | ~Base () |
virtual void | draw_gl_edge () const |
void | unscale (double) |
virtual void | add_glob (const std::string &)=0 |
const Geom::Frame & | local_frame () const |
const Geom::Point & | get_center () const |
const Geom::Quaternion & | get_quaternion () const |
const Geom::Vector & | get_position () const |
void | translate (Geom::Vector &) |
void | rotate (const Geom::Vector &axis, const double angleRadian) |
Static Public Member Functions | |
static std::string | class_ID () |
static std::string | desc () |
![]() | |
static std::string | class_ID () |
![]() | |
static Base & | glob (const std::string &id) |
static const Geom::Frame & | frame_buffer () |
static std::string | class_ID () |
static Base * | new_object (const TiXmlElement *el) |
![]() | |
static Base * | build () |
static bool | record (const std::string &id, std::string file_name="", std::string desc="") |
![]() | |
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 Types | |
enum | ContactRegion { XMIN = 1 << 0 , RADIUS = 1 << 1 , XMAX = 1 << 2 } |
Private Member Functions | |
ConeTruncated & | operator= (const ConeTruncated &) |
template<class Archive > | |
void | serialize (Archive &, const unsigned int) |
Private Attributes | |
double | _radius1 |
double | _radius2 |
double | _length |
Box * | _bounding_box |
Sphere * | _bounding_sphere |
ContactRegion | _cRegion |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
![]() | |
template<typename T , typename ... Args> | |
void | set_face_ID (const T &, Args... args) |
template<typename T > | |
void | set_face_ID (const T &) |
void | copy_face_ID (const std::set< std::string > &) |
void | add_face_ID (const std::string &) |
![]() | |
ObjectFactoryInterface () | |
virtual | ~ObjectFactoryInterface () |
![]() | |
ObjectFactory () | |
virtual | ~ObjectFactory () |
![]() | |
const Geom::Frame & | _frame |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
|
inlinevirtual |
Implements GranOO3::Shape::Volume.
|
inlinestatic |
|
virtual |
Implements GranOO3::Shape::Volume.
|
virtual |
Implements GranOO3::Shape::Volume.
|
virtual |
Implements GranOO3::Shape::Volume.
|
static |
|
virtual |
Implements GranOO3::Shape::Base.
|
virtual |
Implements GranOO3::Shape::Volume.
double GranOO3::Shape::ConeTruncated::get_centre_of_mass | ( | ) | const |
|
inlinevirtual |
Implements GranOO3::Shape::Volume.
|
inline |
|
inline |
|
inlinevirtual |
Implements GranOO3::Shape::Volume.
|
virtual |
Reimplemented from GranOO3::Shape::Base.
|
virtual |
Implements GranOO3::Shape::Volume.
|
virtual |
Implements GranOO3::Shape::Volume.
void GranOO3::Shape::ConeTruncated::make_equal_to | ( | const ConeTruncated & | ) |
|
private |
|
virtual |
Reimplemented from GranOO3::Shape::Base.
|
virtual |
Reimplemented from GranOO3::Shape::Base.
|
virtual |
Implements GranOO3::Shape::Base.
|
inlineprivate |
void GranOO3::Shape::ConeTruncated::set_contact_regions | ( | const std::string & | regions | ) |
|
virtual |
Reimplemented from GranOO3::Shape::Base.
|
virtual |
Reimplemented from GranOO3::Shape::Base.
|
virtual |
Implements GranOO3::Shape::Volume.
|
virtual |
Implements GranOO3::Shape::Volume.
|
virtual |
Reimplemented from GranOO3::Shape::Base.
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |