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