#include <RuleInterfaceT.hh>
Inheritance diagram for OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >:
Public Member Functions | |
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 Member Functions | |
RuleInterfaceT (Mesh &_mesh) | |
Default constructor. |
|
Returns the name of the rule. Use define COMPOSITE_RULE to overload this function in a derived class. |