a48  2.0.2
a48::BaseAdaptivePolicy< Traits > Class Template Reference

Base mesh adaptive policy. More...

#include <adaptivemesht.hh>

Inheritance diagram for a48::BaseAdaptivePolicy< Traits >:
a48::ContainerBasedAP< Traits > a48::RangeLevelAP< Traits > a48::UniformLevelAP< Traits >

List of all members.

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.

Detailed Description

template<class Traits = DefaultAdaptiveTraits>
class a48::BaseAdaptivePolicy< Traits >

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

Template Parameters:
Traitstemplate argument to define mesh traits

Definition at line 53 of file adaptivemesht.hh.


Member Function Documentation

template<class Traits = DefaultAdaptiveTraits>
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.

Parameters:
[in]vVertex weld in the simplification method

Implemented in a48::ContainerBasedAP< Traits >.

template<class Traits = DefaultAdaptiveTraits>
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.

Parameters:
[in]hBase halfedge while welding the vertex

Implemented in a48::ContainerBasedAP< Traits >.

template<class Traits = DefaultAdaptiveTraits>
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 >.

template<class Traits = DefaultAdaptiveTraits>
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.

Parameters:
[in]hHalfedge split in the refinement method

Implemented in a48::ContainerBasedAP< Traits >.

template<class Traits = DefaultAdaptiveTraits>
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.

Parameters:
[in]vVertex created while splitting the halfedge

Implemented in a48::ContainerBasedAP< Traits >.

template<class Traits = DefaultAdaptiveTraits>
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 >.

template<class Traits = DefaultAdaptiveTraits>
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.

Returns:
Next vertex to be simplified

Implemented in a48::ContainerBasedAP< Traits >.

template<class Traits = DefaultAdaptiveTraits>
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.

Returns:
Next halfedge to be refined

Implemented in a48::ContainerBasedAP< Traits >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Typedefs