Visual Computing Library
|
#include <vclib/mesh/elements/element.h>
Classes | |
struct | ComponentIDPred |
struct | GetComponentFromID |
Public Types | |
using | ParentMeshType = MeshType |
using | Components = FilterTypesByCondition< comp::IsComponentPred, TypeWrapper< Comps... > >::type |
Components is an alias to a vcl::TypeWrapper that wraps all the types from which the Element inherits (Comps) that are Components (they satisfy the ComponentConcept). | |
![]() | |
using | ParentMeshType = MeshType |
Public Member Functions | |
uint | index () const |
template<uint COMP_ID> | |
auto & | component () |
template<uint COMP_ID> | |
const auto & | component () const |
template<typename ElType > | |
void | importFrom (const ElType &v, bool importRefs=true) |
void | serialize (std::ostream &out) const |
void | deserialize (std::istream &in) |
![]() | |
ParentMeshPointer (const ParentMeshPointer< MeshType > &) | |
ParentMeshPointer (ParentMeshPointer< MeshType > &&) | |
ParentMeshPointer & | operator= (const ParentMeshPointer< MeshType > &) |
constexpr MeshType * | parentMesh () |
constexpr const MeshType * | parentMesh () const |
Static Public Attributes | |
static const uint | ELEMENT_ID = ELEM_ID |
Private Member Functions | |
void | init () |
bool | isAvailable () const |
void | initVerticalComponents () |
template<typename Comp > | |
void | construct () |
template<typename Comp , typename ElType > | |
void | importComponent (const ElType &v, bool importRefs) |
template<typename Comp > | |
void | serializeComponent (std::ostream &out) const |
template<typename Comp > | |
void | deserializeComponent (std::istream &in) |
Friends | |
template<ElementConcept > | |
class | mesh::ElementContainer |
Additional Inherited Members | |
![]() | |
void | setParentMesh (void *parentMesh) |
The Element class.