Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Adaptive::RuleInterfaceT< M > Class Template Reference

Base class for adaptive composite subdivision rules. More...

#include <RuleInterfaceT.hh>

Inheritance diagram for Adaptive::RuleInterfaceT< M >:

Adaptive::EdE< M > Adaptive::EdEc< M > Adaptive::EF< M > Adaptive::EV< M > Adaptive::EVc< M > Adaptive::FE< M > Adaptive::FF< M > Adaptive::FFc< M > Adaptive::FV< M > Adaptive::FVc< M > Adaptive::Tvv3< M > Adaptive::Tvv4< M > Adaptive::VdE< M > Adaptive::VdEc< M > Adaptive::VE< M > Adaptive::VF< M > Adaptive::VV< M > Adaptive::VVc< M > List of all members.

Public Methods

virtual ~RuleInterfaceT ()
 Destructor.

virtual const char * type () const=0
 Returns the name of the rule.

int subdiv_type () const
 Type of split operation, if it is a topological operator.

int number () const
 Position in rule sequence.

Raise item
virtual void raise (typename M::FaceHandle &_fh, state_t _target_state)
 Raise item to target state _target_state.

virtual void raise (typename M::EdgeHandle &_eh, state_t _target_state)
 Raise item to target state _target_state.

virtual void raise (typename M::VertexHandle &_vh, state_t _target_state)
 Raise item to target state _target_state.

Parameterization of rule
virtual void set_coeff (scalar_t _coeff)
 Set coefficient - ignored by non-parameterized rules.

scalar_t coeff () const
 Get coefficient - ignored by non-parameterized rules.


Protected Methods

 RuleInterfaceT (Mesh &_mesh)
 Default constructor.


Detailed Description

template<typename M>
class Adaptive::RuleInterfaceT< M >

Base class for adaptive composite subdivision rules.

See also:
class CompositeT


Member Function Documentation

template<typename M>
virtual const char* Adaptive::RuleInterfaceT< M >::type   const [pure virtual]
 

Returns the name of the rule.

Use define COMPOSITE_RULE to overload this function in a derived class.


The documentation for this class was generated from the following file:
acg pic Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .