Visual Computing Library
Loading...
Searching...
No Matches
vcl::Element< ELEM_ID, MeshType, Comps > Class Template Reference

The Element class. More...

#include <vclib/mesh/elements/element.h>

Inheritance diagram for vcl::Element< ELEM_ID, MeshType, Comps >:

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).
 
- Public Types inherited from vcl::comp::ParentMeshPointer< MeshType >
using ParentMeshType = MeshType
 

Public Member Functions

uint index () const
 
template<uint COMP_ID>
autocomponent ()
 
template<uint COMP_ID>
const autocomponent () const
 
template<typename ElType >
void importFrom (const ElType &v, bool importRefs=true)
 
void serialize (std::ostream &out) const
 
void deserialize (std::istream &in)
 
- Public Member Functions inherited from vcl::comp::ParentMeshPointer< MeshType >
 ParentMeshPointer (const ParentMeshPointer< MeshType > &)
 
 ParentMeshPointer (ParentMeshPointer< MeshType > &&)
 
ParentMeshPointeroperator= (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

- Protected Member Functions inherited from vcl::comp::ParentMeshPointer< MeshType >
void setParentMesh (void *parentMesh)
 

Detailed Description

template<uint ELEM_ID, typename MeshType, typename... Comps>
class vcl::Element< ELEM_ID, MeshType, Comps >

The Element class.


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