Developer Documentation
OpenMesh::Subdivider::Adaptive::EVc< M > Class Template Reference

#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Tools/Subdivider/Adaptive/Composite/RulesT.hh>

Inheritance diagram for OpenMesh::Subdivider::Adaptive::EVc< M >:
OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >

Public Types

typedef RuleInterfaceT< M > Inherited
 
- Public Types inherited from OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >
typedef M Mesh
 
typedef RuleInterfaceT< M > Self
 
typedef RuleHandleT< SelfRule
 
typedef M::Scalar scalar_t
 

Public Member Functions

 EVc (M &_mesh)
 
void raise (typename M::VertexHandle &_vh, state_t _target_state) override
 Raise item to target state _target_state. More...
 
double coeff (size_t _valence)
 
- Public Member Functions inherited from OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >
virtual ~RuleInterfaceT ()
 Destructor. More...
 
virtual const char * type () const =0
 
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...
 
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...
 
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...
 

Static Public Member Functions

static void init_coeffs (size_t _max_valence)
 
static const std::vector< double > & coeffs ()
 

Private Types

typedef RuleInterfaceT< M > Base
 

Private Member Functions

 COMPOSITE_RULE (EVc, M)
 

Static Private Attributes

static std::vector< double > coeffs_
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >
 RuleInterfaceT (Mesh &_mesh)
 Default constructor. More...
 
void set_prev_rule (Self *&_p)
 Set coefficient - ignored by non-parameterized rules. More...
 
Selfprev_rule ()
 Set coefficient - ignored by non-parameterized rules. More...
 
void set_subdiv_rule (Self *&_n)
 Set coefficient - ignored by non-parameterized rules. More...
 
Selfsubdiv_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...
 
- Protected Attributes inherited from OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >
Mesh & mesh_
 Set coefficient - ignored by non-parameterized rules. More...
 

Detailed Description

template<class M>
class OpenMesh::Subdivider::Adaptive::EVc< M >

Composite rule EVc

Definition at line 372 of file RulesT.hh.

Member Typedef Documentation

◆ Base

template<class M >
typedef RuleInterfaceT<M> OpenMesh::Subdivider::Adaptive::EVc< M >::Base
private

Definition at line 376 of file RulesT.hh.

◆ Inherited

template<class M >
typedef RuleInterfaceT<M> OpenMesh::Subdivider::Adaptive::EVc< M >::Inherited

Definition at line 380 of file RulesT.hh.

Constructor & Destructor Documentation

◆ EVc()

template<class M >
OpenMesh::Subdivider::Adaptive::EVc< M >::EVc ( M &  _mesh)
inlineexplicit

Definition at line 382 of file RulesT.hh.

Member Function Documentation

◆ coeff()

template<class M >
double OpenMesh::Subdivider::Adaptive::EVc< M >::coeff ( size_t  _valence)
inline

Definition at line 389 of file RulesT.hh.

◆ coeffs()

template<class M >
static const std::vector< double > & OpenMesh::Subdivider::Adaptive::EVc< M >::coeffs ( )
inlinestatic

Definition at line 387 of file RulesT.hh.

◆ raise()

template<class M >
void OpenMesh::Subdivider::Adaptive::EVc< M >::raise ( typename M::VertexHandle &  _vh,
state_t  _target_state 
)
overridevirtual

Raise item to target state _target_state.

Reimplemented from OpenMesh::Subdivider::Adaptive::RuleInterfaceT< M >.

Member Data Documentation

◆ coeffs_

template<class M >
std::vector<double> OpenMesh::Subdivider::Adaptive::EVc< M >::coeffs_
staticprivate

Definition at line 397 of file RulesT.hh.


The documentation for this class was generated from the following file: