QuaternionSplineControlValues

struct HPS::QuaternionSplineControlValues

Public Functions

bool operator!=(QuaternionSplineControlValues const &in_that) const

Check if the source QuaternionSplineControlValues is different from this QuaternionSplineControlValues.

Parameters

in_that – The source QuaternionSplineControlValues to compare to this QuaternionSplineControlValues.

Returns

true if the objects are different, false otherwise.

bool operator==(QuaternionSplineControlValues const &in_that) const

Check if the source QuaternionSplineControlValues is equal to this QuaternionSplineControlValues.

Parameters

in_that – The source QuaternionSplineControlValues to compare to this QuaternionSplineControlValues.

Returns

true if the objects are equal, false otherwise.

QuaternionSplineControlValues(Quaternion const &in_input, Quaternion const &in_output)

Creates a new QuaternionSplineControlValues object used to desribe control values for an individual QuaternionKeyframe when interpolating across a series of keyframes in a QuaternionSampler using Spline interpolation.

Parameters
  • in_input – The value subtracted from the associated keyframe value to develop the input tangent.

  • in_output – The value from which the associated keyframe value is subtracted to develop the output tangent.

Public Members

Quaternion input
Quaternion output