MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ configure()

void MayaFlux::Kinesis::CurveEvaluator::configure ( InterpolationMode  mode,
double  tension 
)

Re-resolve the kernel.

A no-op when both arguments are unchanged.

Parameters
modeInterpolation mode.
tensionTension, consumed only by CATMULL_ROM.

Definition at line 455 of file MotionCurves.cpp.

456{
457 if (mode == m_mode && tension == m_tension) {
458 return;
459 }
460
461 m_mode = mode;
464}
InterpolationMode mode() const
Currently configured mode.
double tension() const
Currently configured tension.

References m_mode, m_tension, mode(), rebuild_kernel(), and tension().

Referenced by MayaFlux::Nodes::GpuSync::TopologyGeneratorNode::build_interpolated_path(), and MayaFlux::Nodes::GpuSync::PathGeneratorNode::write_curve_segment().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: