OpenMesh.Tools.Subdivider.Adaptive.Composite.RuleInterfaceT
- struct
RuleHandleT
(R);
- Handle template for adaptive composite subdividion rules
\internal
Use typed handle of a rule, e.g. Tvv3.Handle.
- char[]
COMPOSITE_RULE
(char[] classname, char[] mesh_type);
- Defines the method type() (RuleInterfaceT.type()) and the
aliass Self and Handle.
Usage is mixin(
COMPOSITE_RULE
("MyClass", "MyMeshT") );
- class
RuleInterfaceT
(M);
- Base class for adaptive composite subdivision rules
See Also:
class CompositeT
- this(Mesh _mesh);
- Default constructor
- string
type
();
- Returns the name of the rule.
Use define COMPOSITE_RULE to overload this function in a derived class.
- void
raise
(M.FaceHandle _fh, state_t _target_state);
- \name Raise item
Raise item to target state \c target_state.
- int
subdiv_type
();
- Type of split operation, if it is a topological operator
- int
number
();
- Position in rule sequence
- void
set_coeff
(scalar_t _coeff);
- \name Parameterization of rule
Set coefficient - ignored by non-parameterized rules.
- scalar_t
coeff
();
- Get coefficient - ignored by non-parameterized rules.
|