#include <RuleInterfaceT.hh>

Public Types | |
| typedef M | Mesh |
| typedef RuleHandleT< Self > | Rule |
| typedef M::Scalar | scalar_t |
| typedef RuleInterfaceT< M > | Self |
Public Member Functions | |
| int | number () const |
| Position in rule sequence. | |
| int | subdiv_type () const |
| Type of split operation, if it is a topological operator. | |
| virtual const char * | type () const =0 |
| void | update (typename M::VertexHandle &_vh, state_t _target_state) |
| void | update (typename M::EdgeHandle &_eh, state_t _target_state) |
| void | update (typename M::FaceHandle &_fh, state_t _target_state) |
| virtual | ~RuleInterfaceT () |
| Destructor. | |
Parameterization of rule | |
| scalar_t | coeff () const |
| Get coefficient - ignored by non-parameterized rules. | |
| virtual void | set_coeff (scalar_t _coeff) |
| Set coefficient - ignored by non-parameterized rules. | |
Raise item | |
| virtual void | raise (typename M::VertexHandle &_vh, state_t _target_state) |
| virtual void | raise (typename M::EdgeHandle &_eh, state_t _target_state) |
| virtual void | raise (typename M::FaceHandle &_fh, state_t _target_state) |
Raise item to target state _target_state. | |
Protected Member Functions | |
| int | n_rules () |
| Self * | prev_rule () |
| RuleInterfaceT (Mesh &_mesh) | |
| Default constructor. | |
| void | set_n_rules (int _n) |
| void | set_number (int _n) |
| void | set_prev_rule (Self *&_p) |
| void | set_subdiv_rule (Self *&_n) |
| void | set_subdiv_type (int _n) |
| Self * | subdiv_rule () |
Protected Attributes | |
| Mesh & | mesh_ |
Private Member Functions | |
| RuleInterfaceT & | operator= (const RuleInterfaceT &) |
| RuleInterfaceT (const RuleInterfaceT &) | |
Private Attributes | |
| scalar_t | coeff_ |
| int | n_rules_ |
| int | number_ |
| Self * | prev_rule_ |
| Self * | subdiv_rule_ |
| int | subdiv_type_ |
Friends | |
| class | CompositeT< M > |
Base class for adaptive composite subdivision rules
Definition at line 106 of file RuleInterfaceT.hh.
| typedef M OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::Mesh |
Definition at line 110 of file RuleInterfaceT.hh.
| typedef RuleHandleT< Self > OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::Rule |
Definition at line 112 of file RuleInterfaceT.hh.
| typedef M::Scalar OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::scalar_t |
Definition at line 114 of file RuleInterfaceT.hh.
| typedef RuleInterfaceT<M> OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::Self |
Definition at line 111 of file RuleInterfaceT.hh.
| OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::RuleInterfaceT | ( | Mesh & | _mesh | ) | [inline, protected] |
Default constructor.
Definition at line 119 of file RuleInterfaceT.hh.
| virtual OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::~RuleInterfaceT | ( | ) | [inline, virtual] |
Destructor.
Definition at line 124 of file RuleInterfaceT.hh.
| OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::RuleInterfaceT | ( | const RuleInterfaceT< M > & | ) | [private] |
| scalar_t OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::coeff | ( | ) | const [inline] |
Get coefficient - ignored by non-parameterized rules.
Definition at line 349 of file RuleInterfaceT.hh.
| int OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::n_rules | ( | ) | [inline, protected] |
Definition at line 364 of file RuleInterfaceT.hh.
| int OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::number | ( | ) | const [inline] |
Position in rule sequence.
Definition at line 340 of file RuleInterfaceT.hh.
| RuleInterfaceT& OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::operator= | ( | const RuleInterfaceT< M > & | ) | [private] |
| Self* OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::prev_rule | ( | ) | [inline, protected] |
Definition at line 356 of file RuleInterfaceT.hh.
| virtual void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::raise | ( | typename M::VertexHandle & | _vh, | |
| state_t | _target_state | |||
| ) | [inline, virtual] |
Reimplemented in OpenMesh::Subdivider::Adaptive::Tvv3< M >, OpenMesh::Subdivider::Adaptive::Tvv4< M >, OpenMesh::Subdivider::Adaptive::FV< M >, OpenMesh::Subdivider::Adaptive::FVc< M >, OpenMesh::Subdivider::Adaptive::VV< M >, OpenMesh::Subdivider::Adaptive::VVc< M >, OpenMesh::Subdivider::Adaptive::EV< M >, and OpenMesh::Subdivider::Adaptive::EVc< M >.
Definition at line 152 of file RuleInterfaceT.hh.
| virtual void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::raise | ( | typename M::EdgeHandle & | _eh, | |
| state_t | _target_state | |||
| ) | [inline, virtual] |
Reimplemented in OpenMesh::Subdivider::Adaptive::Tvv4< M >, OpenMesh::Subdivider::Adaptive::VE< M >, OpenMesh::Subdivider::Adaptive::VdE< M >, OpenMesh::Subdivider::Adaptive::VdEc< M >, OpenMesh::Subdivider::Adaptive::FE< M >, OpenMesh::Subdivider::Adaptive::EdE< M >, and OpenMesh::Subdivider::Adaptive::EdEc< M >.
Definition at line 144 of file RuleInterfaceT.hh.
| virtual void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::raise | ( | typename M::FaceHandle & | _fh, | |
| state_t | _target_state | |||
| ) | [inline, virtual] |
Raise item to target state _target_state.
Reimplemented in OpenMesh::Subdivider::Adaptive::Tvv3< M >, OpenMesh::Subdivider::Adaptive::Tvv4< M >, OpenMesh::Subdivider::Adaptive::VF< M >, OpenMesh::Subdivider::Adaptive::FF< M >, OpenMesh::Subdivider::Adaptive::FFc< M >, and OpenMesh::Subdivider::Adaptive::EF< M >.
Definition at line 136 of file RuleInterfaceT.hh.
| virtual void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::set_coeff | ( | scalar_t | _coeff | ) | [inline, virtual] |
Set coefficient - ignored by non-parameterized rules.
Definition at line 346 of file RuleInterfaceT.hh.
| void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::set_n_rules | ( | int | _n | ) | [inline, protected] |
Definition at line 363 of file RuleInterfaceT.hh.
| void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::set_number | ( | int | _n | ) | [inline, protected] |
Definition at line 361 of file RuleInterfaceT.hh.
| void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::set_prev_rule | ( | Self *& | _p | ) | [inline, protected] |
Definition at line 355 of file RuleInterfaceT.hh.
| void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::set_subdiv_rule | ( | Self *& | _n | ) | [inline, protected] |
Definition at line 358 of file RuleInterfaceT.hh.
| void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::set_subdiv_type | ( | int | _n | ) | [inline, protected] |
Definition at line 366 of file RuleInterfaceT.hh.
| Self* OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::subdiv_rule | ( | ) | [inline, protected] |
Definition at line 359 of file RuleInterfaceT.hh.
| int OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::subdiv_type | ( | ) | const [inline] |
Type of split operation, if it is a topological operator.
Definition at line 336 of file RuleInterfaceT.hh.
| virtual const char* OpenMesh::Subdivider::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.
| void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::update | ( | typename M::VertexHandle & | _vh, | |
| state_t | _target_state | |||
| ) | [inline] |
Definition at line 287 of file RuleInterfaceT.hh.
| void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::update | ( | typename M::EdgeHandle & | _eh, | |
| state_t | _target_state | |||
| ) | [inline] |
Definition at line 255 of file RuleInterfaceT.hh.
| void OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::update | ( | typename M::FaceHandle & | _fh, | |
| state_t | _target_state | |||
| ) | [inline] |
Definition at line 161 of file RuleInterfaceT.hh.
friend class CompositeT< M > [friend] |
Definition at line 369 of file RuleInterfaceT.hh.
scalar_t OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::coeff_ [private] |
Definition at line 384 of file RuleInterfaceT.hh.
Mesh& OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::mesh_ [protected] |
Definition at line 373 of file RuleInterfaceT.hh.
int OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::n_rules_ [private] |
Definition at line 382 of file RuleInterfaceT.hh.
int OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::number_ [private] |
Definition at line 381 of file RuleInterfaceT.hh.
Self* OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::prev_rule_ [private] |
Definition at line 377 of file RuleInterfaceT.hh.
Self* OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::subdiv_rule_ [private] |
Definition at line 378 of file RuleInterfaceT.hh.
int OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::subdiv_type_ [private] |
Definition at line 380 of file RuleInterfaceT.hh.