aimsalgo  5.1.2
Neuroimaging image processing
aims::VertexRemover Class Reference

A class to remove a vertex from a mesh, and remeshing the hole. More...

#include <aims/mesh/geometric.h>

Public Types

typedef meshgraph::MeshVertexNode< uint >::VertexIndexCollection::value_type VertexPointer
 

Public Member Functions

 VertexRemover (carto::rc_ptr< GeometricProperties > geom)
 
 VertexRemover (carto::rc_ptr< AimsSurfaceTriangle > mesh)
 
const GeometricPropertiesgeometricProperties () const
 
GeometricPropertiesgeometricProperties ()
 
bool operator() (VertexPointer &i)
 

Detailed Description

A class to remove a vertex from a mesh, and remeshing the hole.

NB: remeshing is not always possible, therefore removing a given point in a mesh is not always possible. Therefore, it may be important to check the return value of operator() to check if the point has actually been removed.

Definition at line 244 of file geometric.h.

Member Typedef Documentation

◆ VertexPointer

typedef meshgraph::MeshVertexNode<uint>::VertexIndexCollection::value_type aims::VertexRemover::VertexPointer

Definition at line 249 of file geometric.h.

Constructor & Destructor Documentation

◆ VertexRemover() [1/2]

aims::VertexRemover::VertexRemover ( carto::rc_ptr< GeometricProperties geom)

◆ VertexRemover() [2/2]

aims::VertexRemover::VertexRemover ( carto::rc_ptr< AimsSurfaceTriangle mesh)

Member Function Documentation

◆ geometricProperties() [1/2]

GeometricProperties& aims::VertexRemover::geometricProperties ( )
inline

Definition at line 260 of file geometric.h.

◆ geometricProperties() [2/2]

const GeometricProperties& aims::VertexRemover::geometricProperties ( ) const
inline

Definition at line 258 of file geometric.h.

◆ operator()()

bool aims::VertexRemover::operator() ( VertexPointer i)

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