ug4
ug::IPatchRemesher Class Referenceabstract
+ Inheritance diagram for ug::IPatchRemesher:

Classes

class  ProjectedPoint
 

Public Member Functions

template<class TElemIterator >
void add_surface_patch (TElemIterator begin, TElemIterator end)
 Adds a new patch consisting of the given elements and associated vertices. More...
 
virtual number approximation_quality (Edge *e)=0
 
virtual number approximation_quality (Face *f)=0
 
virtual Vertexcollapse_edge (Edge *edge)=0
 
virtual number element_quality (Face *f)=0
 
void set_crease_callbacks (Grid::vertex_traits::callback vrtCreaseCallback, Grid::edge_traits::callback edgeCreaseCallback)
 
void set_fixed_callbacks (Grid::vertex_traits::callback vrtFixedCallback, Grid::edge_traits::callback edgeFixedCallback)
 
void set_grid (Grid &grid, APosition aPos)
 set the grid which will be remeshed More...
 
virtual void smooth_vertex (Vertex *vrt)=0
 
virtual Vertexsplit_edge (Edge *edge)=0
 
virtual Edgeswap_edge (Edge *edge)=0
 
virtual vector3 vertex_normal (Vertex *vrt)=0
 
virtual vector3 vertex_position (Vertex *vrt)=0
 
virtual ~IPatchRemesher ()
 
- Public Member Functions inherited from ug::ILocalRemesher
virtual ~ILocalRemesher ()
 

Protected Member Functions

virtual void relocate_vertex (Vertex *vrt)
 

Private Attributes

Grid m_refGrid
 
Gridm_remeshGrid
 

Constructor & Destructor Documentation

◆ ~IPatchRemesher()

virtual ug::IPatchRemesher::~IPatchRemesher ( )
virtual

Member Function Documentation

◆ add_surface_patch()

template<class TElemIterator >
void ug::IPatchRemesher::add_surface_patch ( TElemIterator  begin,
TElemIterator  end 
)

Adds a new patch consisting of the given elements and associated vertices.

Make sure to specify the source grid before calling this method.

◆ approximation_quality() [1/2]

virtual number ug::IPatchRemesher::approximation_quality ( Edge e)
pure virtual

◆ approximation_quality() [2/2]

virtual number ug::IPatchRemesher::approximation_quality ( Face f)
pure virtual

◆ collapse_edge()

virtual Vertex* ug::IPatchRemesher::collapse_edge ( Edge edge)
pure virtual

Implements ug::ILocalRemesher.

◆ element_quality()

virtual number ug::IPatchRemesher::element_quality ( Face f)
pure virtual

◆ relocate_vertex()

virtual void ug::IPatchRemesher::relocate_vertex ( Vertex vrt)
protectedvirtual

◆ set_crease_callbacks()

void ug::IPatchRemesher::set_crease_callbacks ( Grid::vertex_traits::callback  vrtCreaseCallback,
Grid::edge_traits::callback  edgeCreaseCallback 
)

◆ set_fixed_callbacks()

void ug::IPatchRemesher::set_fixed_callbacks ( Grid::vertex_traits::callback  vrtFixedCallback,
Grid::edge_traits::callback  edgeFixedCallback 
)

◆ set_grid()

void ug::IPatchRemesher::set_grid ( Grid grid,
APosition  aPos 
)

set the grid which will be remeshed

◆ smooth_vertex()

virtual void ug::IPatchRemesher::smooth_vertex ( Vertex vrt)
pure virtual

Implements ug::ILocalRemesher.

◆ split_edge()

virtual Vertex* ug::IPatchRemesher::split_edge ( Edge edge)
pure virtual

Implements ug::ILocalRemesher.

◆ swap_edge()

virtual Edge* ug::IPatchRemesher::swap_edge ( Edge edge)
pure virtual

◆ vertex_normal()

virtual vector3 ug::IPatchRemesher::vertex_normal ( Vertex vrt)
pure virtual

◆ vertex_position()

virtual vector3 ug::IPatchRemesher::vertex_position ( Vertex vrt)
pure virtual

Member Data Documentation

◆ m_refGrid

Grid ug::IPatchRemesher::m_refGrid
private

◆ m_remeshGrid

Grid* ug::IPatchRemesher::m_remeshGrid
private

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