a48
2.0.2
|
Base mesh adaptive policy. More...
#include <adaptivemesht.hh>
Public Member Functions | |
virtual void | update_simplification (vertex_type *v)=0 |
virtual void | update_simplification (halfedge_type *h)=0 |
virtual void | update_simplification (void)=0 |
Update simplification procedure and functions. | |
virtual void | update_refinement (halfedge_type *h)=0 |
virtual void | update_refinement (vertex_type *v)=0 |
virtual void | update_refinement (void)=0 |
Update refinement procedure and functions. | |
virtual vertex_type * | next_simplify_vertex (void)=0 |
Next simplify vertex. | |
virtual halfedge_type * | next_refine_halfedge (void)=0 |
Next refine halfedge. |
Base mesh adaptive policy.
This abstract class defines virtual methods to control the dynamic 4-8 adaptation done on a mesh. Derive a class to define your own policy such as shown in example: example_adaptivepolicy::cc
Traits | template argument to define mesh traits |
Definition at line 53 of file adaptivemesht.hh.
void a48::BaseAdaptivePolicy< Traits >::update_simplification | ( | vertex_type * | v | ) | [pure virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
[in] | v | Vertex weld in the simplification method |
Implemented in a48::ContainerBasedAP< Traits >.
void a48::BaseAdaptivePolicy< Traits >::update_simplification | ( | halfedge_type * | h | ) | [pure virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
[in] | h | Base halfedge while welding the vertex |
Implemented in a48::ContainerBasedAP< Traits >.
virtual void a48::BaseAdaptivePolicy< Traits >::update_simplification | ( | void | ) | [pure virtual] |
Update simplification procedure and functions.
The update simplification procedure (without arguments) is used before the adapt_simplify mesh method, while the function taking a vertex is used before welding this vertex inside the simplify mesh method. The second function, taking a halfedge, is used after welding the same vertex (of the first function) but passing the base halfedge used on the weld method.
Implemented in a48::ContainerBasedAP< Traits >.
void a48::BaseAdaptivePolicy< Traits >::update_refinement | ( | halfedge_type * | h | ) | [pure virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
[in] | h | Halfedge split in the refinement method |
Implemented in a48::ContainerBasedAP< Traits >.
void a48::BaseAdaptivePolicy< Traits >::update_refinement | ( | vertex_type * | v | ) | [pure virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
[in] | v | Vertex created while splitting the halfedge |
Implemented in a48::ContainerBasedAP< Traits >.
virtual void a48::BaseAdaptivePolicy< Traits >::update_refinement | ( | void | ) | [pure virtual] |
Update refinement procedure and functions.
The update refinement procedure (without arguments) is used before the adapt_refine mesh method, while the function taking a halfedge is used before splitting this halfedge inside the refine mesh method. The second function, taking a vertex, is used after splitting the same halfedge (of the first function) but passing the vertex created during the split method.
Implemented in a48::ContainerBasedAP< Traits >.
virtual vertex_type* a48::BaseAdaptivePolicy< Traits >::next_simplify_vertex | ( | void | ) | [pure virtual] |
Next simplify vertex.
Dynamic 4-8 adaptation scheme, while there is a vertex waiting to be simplified this function returns it, otherwise it returns 0.
Implemented in a48::ContainerBasedAP< Traits >.
virtual halfedge_type* a48::BaseAdaptivePolicy< Traits >::next_refine_halfedge | ( | void | ) | [pure virtual] |
Next refine halfedge.
Dynamic 4-8 adaptation scheme, while there is a halfedge waiting to be refined this function returns it, otherwise it returns 0.
Implemented in a48::ContainerBasedAP< Traits >.