Developer Documentation
|
Public Types | |
typedef M | Mesh |
typedef RuleInterfaceT< M > | Self |
typedef RuleHandleT< Self > | Rule |
typedef M::Scalar | scalar_t |
Public Member Functions | |
virtual | ~RuleInterfaceT () |
Destructor. More... | |
virtual const char * | type () const =0 |
Raise item | |
virtual void | raise (typename M::FaceHandle &_fh, state_t _target_state) |
Raise item to target state _target_state . More... | |
virtual void | raise (typename M::EdgeHandle &_eh, state_t _target_state) |
Raise item to target state _target_state . More... | |
virtual void | raise (typename M::VertexHandle &_vh, state_t _target_state) |
Raise item to target state _target_state . More... | |
void | update (typename M::FaceHandle &_fh, state_t _target_state) |
Raise item to target state _target_state . More... | |
void | update (typename M::EdgeHandle &_eh, state_t _target_state) |
Raise item to target state _target_state . More... | |
void | update (typename M::VertexHandle &_vh, state_t _target_state) |
Raise item to target state _target_state . More... | |
int | subdiv_type () const |
Type of split operation, if it is a topological operator. More... | |
int | number () const |
Position in rule sequence. More... | |
Protected Member Functions | |
RuleInterfaceT (Mesh &_mesh) | |
Default constructor. More... | |
Parameterization of rule | |
class | CompositeT< M > |
Set coefficient - ignored by non-parameterized rules. More... | |
Mesh & | mesh_ |
Set coefficient - ignored by non-parameterized rules. More... | |
Self * | prev_rule_ |
Set coefficient - ignored by non-parameterized rules. More... | |
Self * | subdiv_rule_ |
Set coefficient - ignored by non-parameterized rules. More... | |
int | subdiv_type_ |
Set coefficient - ignored by non-parameterized rules. More... | |
int | number_ |
Set coefficient - ignored by non-parameterized rules. More... | |
int | n_rules_ |
Set coefficient - ignored by non-parameterized rules. More... | |
scalar_t | coeff_ |
Set coefficient - ignored by non-parameterized rules. More... | |
void | set_prev_rule (Self *&_p) |
Set coefficient - ignored by non-parameterized rules. More... | |
Self * | prev_rule () |
Set coefficient - ignored by non-parameterized rules. More... | |
void | set_subdiv_rule (Self *&_n) |
Set coefficient - ignored by non-parameterized rules. More... | |
Self * | subdiv_rule () const |
Set coefficient - ignored by non-parameterized rules. More... | |
void | set_number (int _n) |
Set coefficient - ignored by non-parameterized rules. More... | |
void | set_n_rules (int _n) |
Set coefficient - ignored by non-parameterized rules. More... | |
int | n_rules () const |
Set coefficient - ignored by non-parameterized rules. More... | |
void | set_subdiv_type (int _n) |
Set coefficient - ignored by non-parameterized rules. More... | |
virtual void | set_coeff (scalar_t _coeff) |
Set coefficient - ignored by non-parameterized rules. More... | |
scalar_t | coeff () const |
Get coefficient - ignored by non-parameterized rules. More... | |
RuleInterfaceT (const RuleInterfaceT &) | |
Set coefficient - ignored by non-parameterized rules. | |
RuleInterfaceT & | operator= (const RuleInterfaceT &) |
Set coefficient - ignored by non-parameterized rules. | |
Base class for adaptive composite subdivision rules
Definition at line 108 of file RuleInterfaceT.hh.
typedef M OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::Mesh |
Definition at line 112 of file RuleInterfaceT.hh.
typedef RuleHandleT< Self > OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::Rule |
Definition at line 114 of file RuleInterfaceT.hh.
typedef M::Scalar OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::scalar_t |
Definition at line 116 of file RuleInterfaceT.hh.
typedef RuleInterfaceT<M> OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >::Self |
Definition at line 113 of file RuleInterfaceT.hh.
|
inlineprotected |
Default constructor.
Definition at line 121 of file RuleInterfaceT.hh.
|
inlinevirtual |
Destructor.
Definition at line 126 of file RuleInterfaceT.hh.
|
inline |
Get coefficient - ignored by non-parameterized rules.
Definition at line 351 of file RuleInterfaceT.hh.
|
inlineprotected |
Set coefficient - ignored by non-parameterized rules.
Definition at line 366 of file RuleInterfaceT.hh.
|
inline |
Position in rule sequence.
Definition at line 342 of file RuleInterfaceT.hh.
|
inlineprotected |
Set coefficient - ignored by non-parameterized rules.
Definition at line 358 of file RuleInterfaceT.hh.
|
inlinevirtual |
Raise item to target state _target_state
.
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 146 of file RuleInterfaceT.hh.
|
inlinevirtual |
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 138 of file RuleInterfaceT.hh.
|
inlinevirtual |
Raise item to target state _target_state
.
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 154 of file RuleInterfaceT.hh.
|
inlinevirtual |
Set coefficient - ignored by non-parameterized rules.
Definition at line 348 of file RuleInterfaceT.hh.
|
inlineprotected |
Set coefficient - ignored by non-parameterized rules.
Definition at line 365 of file RuleInterfaceT.hh.
|
inlineprotected |
Set coefficient - ignored by non-parameterized rules.
Definition at line 363 of file RuleInterfaceT.hh.
|
inlineprotected |
Set coefficient - ignored by non-parameterized rules.
Definition at line 357 of file RuleInterfaceT.hh.
|
inlineprotected |
Set coefficient - ignored by non-parameterized rules.
Definition at line 360 of file RuleInterfaceT.hh.
|
inlineprotected |
Set coefficient - ignored by non-parameterized rules.
Definition at line 368 of file RuleInterfaceT.hh.
|
inlineprotected |
Set coefficient - ignored by non-parameterized rules.
Definition at line 361 of file RuleInterfaceT.hh.
|
inline |
Type of split operation, if it is a topological operator.
Definition at line 338 of file RuleInterfaceT.hh.
|
pure virtual |
Returns the name of the rule. Use define COMPOSITE_RULE to overload this function in a derived class.
|
inline |
Raise item to target state _target_state
.
Definition at line 257 of file RuleInterfaceT.hh.
|
inline |
Raise item to target state _target_state
.
Definition at line 163 of file RuleInterfaceT.hh.
|
inline |
Raise item to target state _target_state
.
Definition at line 289 of file RuleInterfaceT.hh.
|
friend |
Set coefficient - ignored by non-parameterized rules.
Definition at line 368 of file RuleInterfaceT.hh.
|
private |
Set coefficient - ignored by non-parameterized rules.
Definition at line 386 of file RuleInterfaceT.hh.
|
protected |
Set coefficient - ignored by non-parameterized rules.
Definition at line 375 of file RuleInterfaceT.hh.
|
private |
Set coefficient - ignored by non-parameterized rules.
Definition at line 384 of file RuleInterfaceT.hh.
|
private |
Set coefficient - ignored by non-parameterized rules.
Definition at line 383 of file RuleInterfaceT.hh.
|
private |
Set coefficient - ignored by non-parameterized rules.
Definition at line 379 of file RuleInterfaceT.hh.
|
private |
Set coefficient - ignored by non-parameterized rules.
Definition at line 380 of file RuleInterfaceT.hh.
|
private |
Set coefficient - ignored by non-parameterized rules.
Definition at line 382 of file RuleInterfaceT.hh.