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

The Vertex class represents an Vertex element of the vcl::Mesh class. More...

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

Inheritance diagram for vcl::Vertex< MeshType, Comps >:

Additional Inherited Members

- Public Types inherited from vcl::Element< ElemId::VERTEX, MeshType, Comps... >
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 inherited from vcl::Element< ElemId::VERTEX, MeshType, Comps... >
uint index () const
 
autocomponent ()
 
const autocomponent () const
 
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 inherited from vcl::Element< ElemId::VERTEX, MeshType, Comps... >
static const uint ELEMENT_ID
 
- Protected Member Functions inherited from vcl::comp::ParentMeshPointer< MeshType >
void setParentMesh (void *parentMesh)
 

Detailed Description

template<typename MeshType, typename... Comps>
class vcl::Vertex< MeshType, Comps >

The Vertex class represents an Vertex element of the vcl::Mesh class.

Using the VertexContainer class, it is possible to add a vector of Vertex elements to a mesh, and manage them with the member functions exposed by the VertexContainer. Each Vertex element exposes all the member functions of its Component types.

Template Parameters
MeshTypeThe type of the parent mesh.
CompsThe types of the components of the element.

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