<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="jit.axis2quat" module="jit" category="Jitter OpenGL">
	<digest>
		Convert angle-axis to quaternion
	</digest>
	<description>
		Convert an angle-axis representation of an orientation to a quaternion.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				angle axis in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				angle axis in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				quat out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output the quaternion
			</digest>
			<description>
				Output the resulting quaternion conversion.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="angle" type="float" />
				<arg name="x" type="float" />
				<arg name="y" type="float" />
				<arg name="z" type="float" />
			</arglist>
			<digest>
				Perform conversion and output
			</digest>
			<description>
				A four element list of floating point numbers interpreted as an angle in degrees and an axis, is converted to a quaternion and output.
			</description>
		</method>
	</methodlist>
	<jittermethodlist>
		<jittermethod name="exportattrs" />
		<jittermethod name="exportsummary" />
		<jittermethod name="getattributes" />
		<jittermethod name="getstate" />
		<jittermethod name="importattrs" />
		<jittermethod name="summary" />
	</jittermethodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="angleaxis" get="1" set="1" type="float" size="4">
			<digest>
				Angle-axis values
			</digest>
			<description>
				The angle-axis to be converted. (default = 0 0 0 1)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Angle Axis" />
			</attributelist>
		</attribute>
		<attribute name="normalize" get="1" set="1" type="int" size="1">
			<digest>
				Normalized quaternion
			</digest>
			<description>
				Normalize the quaternion before outputting (default = 0).
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Normalize" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="quat" get="1" set="0" type="float" size="4">
			<digest>
				Conversion results
			</digest>
			<description>
				The resulting quaternion after the conversion.
			</description>
		</attribute>
	</attributelist>
	<jitterattributelist />
	<!--EXAMPLE-->
	<examplelist>
		<example img="jit.axis2quat.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="jit.quat" />
		<seealso name="jit.quat2axis" />
		<seealso name="jit.quat2euler" />
		<seealso name="jit.euler2quat" />
		<seealso name="jit.anim.node" />
	</seealsolist>
	<discussion>
		A quaternion is a mathematical construct that is a four dimensional vector, and can be visualized as a rotation around an arbitrary axis. Quaternions are a useful representation of an orientation in 3D space.
	</discussion>
</c74object>
