SaDVIO
Public Member Functions | List of all members
isae::Vertex Struct Reference

A vertex in the 3D mesh, representing a landmark and its associated polygons. More...

#include <mesh.h>

Public Member Functions

 Vertex ()
 
 Vertex (std::shared_ptr< ALandmark > lmk)
 
 ~Vertex ()=default
 
Eigen::Vector3d getVertexPosition () const
 
Eigen::Vector3d getVertexNormal () const
 
std::vector< std::shared_ptr< Polygon > > getPolygons () const
 
std::shared_ptr< ALandmarkgetLmk () const
 
void addPolygon (std::shared_ptr< Polygon > polygon)
 
void removePolygon (std::shared_ptr< Polygon > polygon)
 

Detailed Description

A vertex in the 3D mesh, representing a landmark and its associated polygons.

It contains the position of the vertex, its normal, and the polygons it belongs to.

Constructor & Destructor Documentation

◆ Vertex() [1/2]

isae::Vertex::Vertex ( )
inline

◆ Vertex() [2/2]

isae::Vertex::Vertex ( std::shared_ptr< ALandmark lmk)
inline

◆ ~Vertex()

isae::Vertex::~Vertex ( )
default

Member Function Documentation

◆ addPolygon()

void isae::Vertex::addPolygon ( std::shared_ptr< Polygon polygon)
inline

◆ getLmk()

std::shared_ptr<ALandmark> isae::Vertex::getLmk ( ) const
inline

◆ getPolygons()

std::vector<std::shared_ptr<Polygon> > isae::Vertex::getPolygons ( ) const
inline

◆ getVertexNormal()

Eigen::Vector3d isae::Vertex::getVertexNormal ( ) const
inline

◆ getVertexPosition()

Eigen::Vector3d isae::Vertex::getVertexPosition ( ) const
inline

◆ removePolygon()

void isae::Vertex::removePolygon ( std::shared_ptr< Polygon polygon)
inline

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