GranOO 3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Loading...
Searching...
No Matches
GranOO3::FEM::Surface Class Reference

#include <Surface.hpp>

Inheritance diagram for GranOO3::FEM::Surface:

Public Member Functions

 Surface (const std::string &id)
 Surface (const std::string &id, std::vector< std::pair< Element *, unsigned int > > facets)
virtual ~Surface ()
const Geom::Frame & local_frame () const
const Geom::Quaternion & get_quaternion () const
const Geom::Point & get_center () const
Public Member Functions inherited from GranOO3::Core::Base
virtual ~Base ()
virtual std::string info () const
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 & write_ascii (std::ostream &out) const
virtual std::istream & read_ascii (std::istream &in)
virtual std::ostream & export_to_povray (std::ostream &out) const
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 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
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
std::list< SetOf< Base > * > & get_setof_list ()
unsigned long long int get_numeric_ID () const
Public Member Functions inherited from GranOO3::Core::Register< Surface >
 Register ()
virtual ~Register ()
void erase_from_all_setof ()
bool belong_to_setof (const std::string &setOfId) const
std::list< SetOf< Surface > * > & get_setof_list ()
unsigned long long int get_numeric_ID () const

Static Public Member Functions

static Surface & get (std::string)
static bool exist (std::string)
static Surface & glob (const std::string &id)
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 ()

Protected Member Functions

 Surface ()
Protected Member Functions inherited from GranOO3::Core::Base
 Base ()

Private Member Functions

 Surface (const Surface &)
Surface & operator= (const Surface &)
template<class Archive>
void save (Archive &, const unsigned int) const
template<class Archive>
void load (Archive &, const unsigned int)
 BOOST_SERIALIZATION_SPLIT_MEMBER ()

Private Attributes

std::string _ID
std::vector< std::pair< Element *, unsigned int > > _facet

Friends

class boost::serialization::access

Additional Inherited Members

Static Public Attributes inherited from GranOO3::Core::Null
static Null null = Null()
Static Protected Member Functions inherited from GranOO3::Core::Base
static unsigned int affect_class_rank_ID ()

Constructor & Destructor Documentation

◆ Surface() [1/4]

GranOO3::FEM::Surface::Surface ( const std::string & id)

◆ Surface() [2/4]

GranOO3::FEM::Surface::Surface ( const std::string & id,
std::vector< std::pair< Element *, unsigned int > > facets )

◆ ~Surface()

GranOO3::FEM::Surface::~Surface ( )
virtual

◆ Surface() [3/4]

GranOO3::FEM::Surface::Surface ( const Surface & )
private

◆ Surface() [4/4]

GranOO3::FEM::Surface::Surface ( )
protected

Member Function Documentation

◆ BOOST_SERIALIZATION_SPLIT_MEMBER()

GranOO3::FEM::Surface::BOOST_SERIALIZATION_SPLIT_MEMBER ( )
private

◆ exist()

bool GranOO3::FEM::Surface::exist ( std::string id)
inlinestatic

◆ get()

Surface & GranOO3::FEM::Surface::get ( std::string id)
inlinestatic

◆ get_center()

const Geom::Point & GranOO3::FEM::Surface::get_center ( ) const

◆ get_quaternion()

const Geom::Quaternion & GranOO3::FEM::Surface::get_quaternion ( ) const

◆ glob()

Surface & GranOO3::FEM::Surface::glob ( const std::string & id)
static

◆ load()

template<class Archive>
void GranOO3::FEM::Surface::load ( Archive & ar,
const unsigned int  )
inlineprivate

◆ local_frame()

const Geom::Frame & GranOO3::FEM::Surface::local_frame ( ) const

◆ operator=()

Surface & GranOO3::FEM::Surface::operator= ( const Surface & )
private

◆ save()

template<class Archive>
void GranOO3::FEM::Surface::save ( Archive & ar,
const unsigned int  ) const
private

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ _facet

std::vector<std::pair<Element *, unsigned int> > GranOO3::FEM::Surface::_facet
private

◆ _ID

std::string GranOO3::FEM::Surface::_ID
private

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