#include <mesh.h>
Public Member Functions | |
virtual void | base_mesh (int *np, int **fcs, int *nf)=0 |
Specifies base mesh geometry and topology (the coarsest resolution level). | |
virtual void | sample (int i, Vertex *v)=0 |
Specifies vertex attributes (geometry, color, normal, prioriry) of index i. | |
virtual void | sample (Edge *e, Vertex *v)=0 |
Receives edge pointer and calculates vertex coordinate. | |
virtual void | sample (Face *f, Vertex *v)=0 |
Receives a face pointer and calculates vertex coordinate. | |
virtual float | elenght (Edge *e)=0 |
Returns the edge length. | |
virtual float | ref_rank (Edge *e)=0 |
Returns the rank for split edge operation. | |
virtual float | simpl_rank (Vertex *v)=0 |
Return the rank for weld vertex operation. | |
virtual Vertex * | new_vertex (void)=0 |
Creates new vertex. | |
virtual void | del_vertex (Vertex *v)=0 |
Removes vertex. |
The Surface class provides information to the adative mesh. The interface describes a set of operations to build the base mesh, control the surface resolution and provide geometric information.
Definition at line 21 of file mesh.h.
|
Specifies base mesh geometry and topology (the coarsest resolution level).
Referenced by A48::Mesh::Mesh(). |
|
Removes vertex.
Referenced by A48::Mesh::del_vertex(). |
|
Returns the edge length.
Referenced by node::node(). |
|
Creates new vertex.
Referenced by A48::Mesh::add_vertex(), and A48::Mesh::set_base_mesh(). |
|
Returns the rank for split edge operation.
|
|
Receives a face pointer and calculates vertex coordinate.
|
|
Receives edge pointer and calculates vertex coordinate.
|
|
Specifies vertex attributes (geometry, color, normal, prioriry) of index i.
Referenced by A48::Mesh::bisect(), A48::Mesh::set_base_mesh(), and A48::Mesh::split(). |
|
Return the rank for weld vertex operation.
|