public class Rotate3d extends AbstractBinaryHybridCFI1<org.joml.Vector3d,org.joml.Quaterniondc,org.joml.Vector3d> implements Ops.LinAlg.Rotate
SpecialOp.Flavor
NAME
Constructor and Description |
---|
Rotate3d() |
Modifier and Type | Method and Description |
---|---|
void |
compute(org.joml.Vector3d v,
org.joml.Quaterniondc q,
org.joml.Vector3d vDot)
Computes the output given two inputs.
|
org.joml.Vector3d |
createOutput(org.joml.Vector3d input1,
org.joml.Quaterniondc input2)
Create an output object given two inputs.
|
void |
mutate1(org.joml.Vector3d v,
org.joml.Quaterniondc q)
Mutates the first argument in-place.
|
in1, in2, out, setInput1, setInput2, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
getIndependentInstance, mutate, run, run
calculate, calculate, createOutput
compute
in, in1
in2, setInput, setInput1, setInput2
run, run
calculate, createOutput
compute
setOutput
candidates, filterArity, op
initialize
public void compute(org.joml.Vector3d v, org.joml.Quaterniondc q, org.joml.Vector3d vDot)
BinaryComputerOp
compute
in interface BinaryComputerOp<org.joml.Vector3d,org.joml.Quaterniondc,org.joml.Vector3d>
v
- first argument to the computation, which
must be non-nullq
- second argument to the computation, which
must be non-nullvDot
- object where the computation's result will be stored, which
must be non-null and a different object than
input1
and input2
public org.joml.Vector3d createOutput(org.joml.Vector3d input1, org.joml.Quaterniondc input2)
BinaryOutputFactory
createOutput
in interface BinaryOutputFactory<org.joml.Vector3d,org.joml.Quaterniondc,org.joml.Vector3d>
input1
- first input which determines how to create the outputinput2
- second input which determines how to create the outputpublic void mutate1(org.joml.Vector3d v, org.joml.Quaterniondc q)
BinaryInplace1Op
mutate1
in interface BinaryInplace1Op<org.joml.Vector3d,org.joml.Quaterniondc,org.joml.Vector3d>
v
- First argument of the BinaryInplace1Op
, which
will be mutated.q
- Second argument of the BinaryInplace1Op
, which will
not be mutated.Copyright © 2014–2022 ImageJ. All rights reserved.