GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Public Member Functions | Static Public Member Functions | Private Member Functions | Friends | List of all members
GranOO3::Shape::Plane Class Reference

#include <Plane.hpp>

Inheritance diagram for GranOO3::Shape::Plane:
Inheritance graph
[legend]

Public Member Functions

 Plane ()
 
 Plane (const Geom::Frame &frame)
 
 Plane (const Plane &)
 
 ~Plane ()
 
void read_xml_element (const TiXmlElement *el)
 
std::string description () const
 
std::string get_str_type_key () const
 
double area () const
 
void draw_gl () const
 
void scale (double)
 
bool collide (const Volume &, Collision::Data &) const
 
bool collide (const Geom::Point &, Collision::Data &) const
 
virtual void to_vtk (vtkUnstructuredGrid *data)
 
std::ostream & to_povray (std::ostream &out, const Core::Color &) const
 
- Public Member Functions inherited from GranOO3::Shape::Surface
 Surface (const Geom::Frame &frame)
 
virtual ~Surface ()
 
bool is_surface () const
 
bool is_volume () const
 
- Public Member Functions inherited from GranOO3::Shape::Base
 Base (const Geom::Frame &frame)
 
virtual ~Base ()
 
virtual void draw_gl_edge () const
 
void unscale (double)
 
virtual void add_glob (const std::string &)=0
 
virtual std::ostream & write_ascii (std::ostream &out) const
 
virtual std::istream & read_ascii (std::istream &in)
 
virtual std::string info () const
 
const Geom::Framelocal_frame () const
 
const Geom::Pointget_center () const
 
const Geom::Quaternionget_quaternion () const
 
const Geom::Vectorget_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 Public Member Functions inherited from GranOO3::Shape::Surface
static std::string class_ID ()
 
- Static Public Member Functions inherited from GranOO3::Shape::Base
static Baseglob (const std::string &id)
 
static const Geom::Frameframe_buffer ()
 
static std::string class_ID ()
 
static Basenew_object (const TiXmlElement *el)
 
- Static Public Member Functions inherited from GranOO3::Core::ObjectFactoryInterface< Base, Plane >
static Basebuild ()
 
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

template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Member Functions inherited from GranOO3::Core::ObjectFactoryInterface< Base, Plane >
 ObjectFactoryInterface ()
 
virtual ~ObjectFactoryInterface ()
 
- Protected Member Functions inherited from GranOO3::Core::ObjectFactory< BaseClass >
 ObjectFactory ()
 
virtual ~ObjectFactory ()
 
- Protected Attributes inherited from GranOO3::Shape::Base
const Geom::Frame_frame
 

Constructor & Destructor Documentation

◆ Plane() [1/3]

GranOO3::Shape::Plane::Plane ( )
inline

◆ Plane() [2/3]

GranOO3::Shape::Plane::Plane ( const Geom::Frame frame)
inline

◆ Plane() [3/3]

GranOO3::Shape::Plane::Plane ( const Plane p)
inline

◆ ~Plane()

GranOO3::Shape::Plane::~Plane ( )
inline

Member Function Documentation

◆ area()

double GranOO3::Shape::Plane::area ( ) const
inlinevirtual

◆ class_ID()

static std::string GranOO3::Shape::Plane::class_ID ( )
inlinestatic

◆ collide() [1/2]

bool GranOO3::Shape::Plane::collide ( const Geom::Point ,
Collision::Data  
) const
virtual

◆ collide() [2/2]

bool GranOO3::Shape::Plane::collide ( const Volume ,
Collision::Data  
) const
virtual

◆ desc()

static std::string GranOO3::Shape::Plane::desc ( )
static

◆ description()

std::string GranOO3::Shape::Plane::description ( ) const

◆ draw_gl()

void GranOO3::Shape::Plane::draw_gl ( ) const
virtual

Implements GranOO3::Shape::Base.

◆ get_str_type_key()

std::string GranOO3::Shape::Plane::get_str_type_key ( ) const
inline

◆ read_xml_element()

void GranOO3::Shape::Plane::read_xml_element ( const TiXmlElement *  el)
virtual

Reimplemented from GranOO3::Shape::Base.

◆ scale()

void GranOO3::Shape::Plane::scale ( double  )
virtual

Implements GranOO3::Shape::Base.

◆ serialize()

template<class Archive >
void GranOO3::Shape::Plane::serialize ( Archive &  ar,
const unsigned int   
)
inlineprivate

◆ to_povray()

std::ostream& GranOO3::Shape::Plane::to_povray ( std::ostream &  out,
const Core::Color  
) const
virtual

Reimplemented from GranOO3::Shape::Base.

◆ to_vtk()

virtual void GranOO3::Shape::Plane::to_vtk ( vtkUnstructuredGrid *  data)
virtual

Reimplemented from GranOO3::Shape::Base.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

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