edu.stanford.rsl.konrad.geometry.test
Class ProjectionTest

java.lang.Object
  extended by edu.stanford.rsl.konrad.geometry.test.ProjectionTest

public class ProjectionTest
extends java.lang.Object


Constructor Summary
ProjectionTest()
           
 
Method Summary
 void testComputeCameraCenter()
           
 void testComputeDepth()
           
 void testComputeGLMatricesIntIntIntIntAbstractVectorAbstractVectorDoubleArrayDoubleArray()
           
 void testComputeGLMatricesIntIntIntIntDoubleDoubleDoubleArrayDoubleArray()
           
 void testComputeOffset()
           
 void testComputeP()
           
 void testComputePrincipalAxis()
           
 void testComputeRayDirection()
           
 void testComputeSourceToDetectorDistance()
           
 void testGetPrincipalPoint()
           
 void testGetRt()
           
 void testGetViewingDirection()
           
 void testIntersectRayWithCuboid()
           
 void testProject()
           
 void testProjection()
           
 void testProjectionAbstractMatrix()
           
 void testProjectionDoubleArrayDoubleArrayIntArray()
           
 void testSetFromGL()
           
 void testSetFromP()
           
 void testSetFromPSingularMatrix()
           
 void testSetFromPWrongSizeMatrix()
           
 void testSetK()
           
 void testSetKFromDistancesSpacingsSizeOffset()
           
 void testSetKFromDistancesSpacingsSizeOffsetDirNotPmOne()
           
 void testSetKFromDistancesSpacingsSizeOffsetNonPosDist()
           
 void testSetKFromDistancesSpacingsSizeOffsetNonPosSpacingU()
           
 void testSetKFromDistancesSpacingsSizeOffsetNonPosSpacingV()
           
 void testSetKFromDistancesSpacingsSizeOffsetWrongSize1()
           
 void testSetKFromDistancesSpacingsSizeOffsetWrongSize2()
           
 void testSetKFromDistancesSpacingsSizeOffsetWrongSize3()
           
 void testSetKNonTriangular10()
           
 void testSetKNonTriangular20()
           
 void testSetKNonTriangular21()
           
 void testSetKWrongDiag0()
           
 void testSetKWrongDiag1()
           
 void testSetKWrongDiag2()
           
 void testSetKWrongSize()
           
 void testSetPrincipalPoint()
           
 void testSetPrincipalPointWrongSize()
           
 void testSetR()
           
 void testSetRNonSOButO()
           
 void testSetRt()
           
 void testSetRtFromCircularTrajectory1()
           
 void testSetRtFromCircularTrajectory2()
           
 void testSetRtFromCircularTrajectoryCenterToCameraAtZeroAngleNull()
           
 void testSetRtFromCircularTrajectoryNonPosRadius()
           
 void testSetRtFromCircularTrajectoryRotationAxisNull()
           
 void testSetRtFromCircularTrajectoryUVDirection1()
           
 void testSetRtFromCircularTrajectoryUVDirection2()
           
 void testSetRtNonSOButO()
           
 void testSetRtWrongLastRow0()
           
 void testSetRtWrongLastRow1()
           
 void testSetRtWrongLastRow2()
           
 void testSetRtWrongLastRow3()
           
 void testSetRWrongSize()
           
 void testSetS()
           
 void testSetSKRT()
           
 void testSetSNonPositive()
           
 void testSetT()
           
 void testSetToExampleCamera()
           
 void testSetTWrongSize()
           
 void testSetViewingDirection()
           
 void testSetViewingDirectionNotPmOne()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectionTest

public ProjectionTest()
Method Detail

testProjection

public void testProjection()

testProjectionAbstractMatrix

public void testProjectionAbstractMatrix()

testProjectionDoubleArrayDoubleArrayIntArray

public void testProjectionDoubleArrayDoubleArrayIntArray()

testSetToExampleCamera

public void testSetToExampleCamera()

testSetFromP

public void testSetFromP()

testSetFromPSingularMatrix

public void testSetFromPSingularMatrix()

testSetFromPWrongSizeMatrix

public void testSetFromPWrongSizeMatrix()

testSetFromGL

public void testSetFromGL()

testSetSKRT

public void testSetSKRT()

testSetS

public void testSetS()

testSetSNonPositive

public void testSetSNonPositive()

testSetK

public void testSetK()

testSetKWrongSize

public void testSetKWrongSize()

testSetKNonTriangular10

public void testSetKNonTriangular10()

testSetKNonTriangular20

public void testSetKNonTriangular20()

testSetKNonTriangular21

public void testSetKNonTriangular21()

testSetKWrongDiag0

public void testSetKWrongDiag0()

testSetKWrongDiag1

public void testSetKWrongDiag1()

testSetKWrongDiag2

public void testSetKWrongDiag2()

testSetR

public void testSetR()

testSetRWrongSize

public void testSetRWrongSize()

testSetRNonSOButO

public void testSetRNonSOButO()

testSetT

public void testSetT()

testSetTWrongSize

public void testSetTWrongSize()

testSetRt

public void testSetRt()

testSetRtNonSOButO

public void testSetRtNonSOButO()

testSetRtWrongLastRow0

public void testSetRtWrongLastRow0()

testSetRtWrongLastRow1

public void testSetRtWrongLastRow1()

testSetRtWrongLastRow2

public void testSetRtWrongLastRow2()

testSetRtWrongLastRow3

public void testSetRtWrongLastRow3()

testSetPrincipalPoint

public void testSetPrincipalPoint()

testSetPrincipalPointWrongSize

public void testSetPrincipalPointWrongSize()

testSetViewingDirection

public void testSetViewingDirection()

testSetViewingDirectionNotPmOne

public void testSetViewingDirectionNotPmOne()

testGetRt

public void testGetRt()

testGetPrincipalPoint

public void testGetPrincipalPoint()

testGetViewingDirection

public void testGetViewingDirection()

testComputeP

public void testComputeP()

testComputeCameraCenter

public void testComputeCameraCenter()

testComputePrincipalAxis

public void testComputePrincipalAxis()

testComputeRayDirection

public void testComputeRayDirection()

testComputeGLMatricesIntIntIntIntDoubleDoubleDoubleArrayDoubleArray

public void testComputeGLMatricesIntIntIntIntDoubleDoubleDoubleArrayDoubleArray()

testComputeGLMatricesIntIntIntIntAbstractVectorAbstractVectorDoubleArrayDoubleArray

public void testComputeGLMatricesIntIntIntIntAbstractVectorAbstractVectorDoubleArrayDoubleArray()

testComputeDepth

public void testComputeDepth()

testProject

public void testProject()

testIntersectRayWithCuboid

public void testIntersectRayWithCuboid()

testSetKFromDistancesSpacingsSizeOffset

public void testSetKFromDistancesSpacingsSizeOffset()

testSetKFromDistancesSpacingsSizeOffsetNonPosDist

public void testSetKFromDistancesSpacingsSizeOffsetNonPosDist()

testSetKFromDistancesSpacingsSizeOffsetWrongSize1

public void testSetKFromDistancesSpacingsSizeOffsetWrongSize1()

testSetKFromDistancesSpacingsSizeOffsetNonPosSpacingU

public void testSetKFromDistancesSpacingsSizeOffsetNonPosSpacingU()

testSetKFromDistancesSpacingsSizeOffsetNonPosSpacingV

public void testSetKFromDistancesSpacingsSizeOffsetNonPosSpacingV()

testSetKFromDistancesSpacingsSizeOffsetWrongSize2

public void testSetKFromDistancesSpacingsSizeOffsetWrongSize2()

testSetKFromDistancesSpacingsSizeOffsetWrongSize3

public void testSetKFromDistancesSpacingsSizeOffsetWrongSize3()

testSetKFromDistancesSpacingsSizeOffsetDirNotPmOne

public void testSetKFromDistancesSpacingsSizeOffsetDirNotPmOne()

testSetRtFromCircularTrajectory1

public void testSetRtFromCircularTrajectory1()

testSetRtFromCircularTrajectory2

public void testSetRtFromCircularTrajectory2()

testSetRtFromCircularTrajectoryRotationAxisNull

public void testSetRtFromCircularTrajectoryRotationAxisNull()

testSetRtFromCircularTrajectoryNonPosRadius

public void testSetRtFromCircularTrajectoryNonPosRadius()

testSetRtFromCircularTrajectoryCenterToCameraAtZeroAngleNull

public void testSetRtFromCircularTrajectoryCenterToCameraAtZeroAngleNull()

testSetRtFromCircularTrajectoryUVDirection1

public void testSetRtFromCircularTrajectoryUVDirection1()

testSetRtFromCircularTrajectoryUVDirection2

public void testSetRtFromCircularTrajectoryUVDirection2()

testComputeSourceToDetectorDistance

public void testComputeSourceToDetectorDistance()

testComputeOffset

public void testComputeOffset()