BowlerKernel
Static Public Member Functions | List of all members
com.neuronrobotics.bowlerstudio.physics.TransformFactory Class Reference

Static Public Member Functions

static Affine newAffine (double x, double y, double z)
 
static Affine nrToAffine (TransformNR input)
 
static TransformNR affineToNr (Affine input)
 
static TransformNR affineToNr (TransformNR outputValue, Affine rotations)
 
static Affine nrToAffine (TransformNR input, Affine rotations)
 
static void nrToBullet (TransformNR nr, com.bulletphysics.linearmath.Transform bullet)
 
static TransformNR bulletToNr (com.bulletphysics.linearmath.Transform bullet)
 
static void bulletToAffine (Affine affine, com.bulletphysics.linearmath.Transform bullet)
 
static void affineToBullet (Affine affine, com.bulletphysics.linearmath.Transform bullet)
 
static eu.mihosoft.vrl.v3d.Transform nrToCSG (TransformNR nr)
 
static TransformNR scale (TransformNR incoming, double scale)
 
static TransformNR csgToNR (eu.mihosoft.vrl.v3d.Transform csg)
 

Detailed Description

A factory for creating Transform objects.

Definition at line 20 of file TransformFactory.java.

Member Function Documentation

◆ affineToBullet()

static void com.neuronrobotics.bowlerstudio.physics.TransformFactory.affineToBullet ( Affine  affine,
com.bulletphysics.linearmath.Transform  bullet 
)
static

Definition at line 154 of file TransformFactory.java.

◆ affineToNr() [1/2]

static TransformNR com.neuronrobotics.bowlerstudio.physics.TransformFactory.affineToNr ( Affine  input)
static

Gets the transform.

Parameters
inputthe input
Returns
the transform

Definition at line 51 of file TransformFactory.java.

◆ affineToNr() [2/2]

static TransformNR com.neuronrobotics.bowlerstudio.physics.TransformFactory.affineToNr ( TransformNR  outputValue,
Affine  rotations 
)
static

Gets the transform.

Parameters
outputValuethe input
rotationsthe rotations
Returns
the transform

Definition at line 62 of file TransformFactory.java.

References com.neuronrobotics.sdk.addons.kinematics.math.TransformNR.getRotationMatrixArray(), and com.neuronrobotics.sdk.addons.kinematics.math.TransformNR.set().

Here is the call graph for this function:

◆ bulletToAffine()

static void com.neuronrobotics.bowlerstudio.physics.TransformFactory.bulletToAffine ( Affine  affine,
com.bulletphysics.linearmath.Transform  bullet 
)
static

◆ bulletToNr()

static TransformNR com.neuronrobotics.bowlerstudio.physics.TransformFactory.bulletToNr ( com.bulletphysics.linearmath.Transform  bullet)
static

◆ csgToNR()

static TransformNR com.neuronrobotics.bowlerstudio.physics.TransformFactory.csgToNR ( eu.mihosoft.vrl.v3d.Transform  csg)
static

◆ newAffine()

static Affine com.neuronrobotics.bowlerstudio.physics.TransformFactory.newAffine ( double  x,
double  y,
double  z 
)
static

Gets the transform.

Parameters
xthe x
ythe y
zthe z
Returns
the transform

Definition at line 30 of file TransformFactory.java.

◆ nrToAffine() [1/2]

static Affine com.neuronrobotics.bowlerstudio.physics.TransformFactory.nrToAffine ( TransformNR  input)
static

◆ nrToAffine() [2/2]

static Affine com.neuronrobotics.bowlerstudio.physics.TransformFactory.nrToAffine ( TransformNR  input,
Affine  rotations 
)
static

◆ nrToBullet()

static void com.neuronrobotics.bowlerstudio.physics.TransformFactory.nrToBullet ( TransformNR  nr,
com.bulletphysics.linearmath.Transform  bullet 
)
static

◆ nrToCSG()

static eu.mihosoft.vrl.v3d.Transform com.neuronrobotics.bowlerstudio.physics.TransformFactory.nrToCSG ( TransformNR  nr)
static

◆ scale()

static TransformNR com.neuronrobotics.bowlerstudio.physics.TransformFactory.scale ( TransformNR  incoming,
double  scale 
)
static

The documentation for this class was generated from the following file: