sugr.test
Class ProjectiveCameraTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bysugr.test.ProjectiveCameraTest
All Implemented Interfaces:
junit.framework.Test

public class ProjectiveCameraTest
extends junit.framework.TestCase

Author:
Thomas Laebe, ipb

Field Summary
 int MAXITER
           
 
Constructor Summary
ProjectiveCameraTest(java.lang.String arg0)
          Constructor for ProjectiveCameraTest.
 
Method Summary
 void testGetCalibrationMatrix()
          Test for Matrix getCalibrationMatrix()
 void testGetDegreesOfFreedom()
          Test for int getDegreeOfFreedom()
 void testGetDimCol()
          Test for int GetDimCol()
 void testGetDimRow()
          Test for int getDimRow()
 void testGetDualLineMatrix()
          Test for Matrix getDualLineMatrix()
 void testGetInversePointMatrix()
          Test for Matrix getInversePointMatrix(Vector)
 void testGetJacobianAfterFirst()
          Test for Matrix getJacobianAfterFirst()
 void testGetJacobianAfterSecond()
          Test for Matrix getJacobianAfterSecond()
 void testGetLineMatrix()
          Test for Matrix getLineMatrix()
 void testGetPointMatrix()
          Test for Matrix getPointMatrix()
 void testGetPrincipalPlane()
          Test for Plane_3D getPrincipalPlane
 void testGetProjectionCenter()
          Test for Point_3D getProjectionCenter()
 void testGetRotationMatrix()
          Test for Matrix getRotationMatrix()
 void testProjectiveCamera()
          Test for void ProjectiveCamera()
 void testProjectiveCameradouble()
          Test for void ProjectiveCamera(double)
 void testProjectiveCameradoubleArray()
          Test for void ProjectiveCamera(double[])
 void testProjectiveCameradoubleArrayMatrix()
          Test for void ProjectiveCamera(double[], Matrix)
 void testProjectiveCameradoubledoubledouble()
          Test for void ProjectiveCamera(double, double, double)
 void testProjectiveCameradoubledoubledoubledoubledouble()
          Test for void ProjectiveCamera(double, double, double, double, double)
 void testProjectiveCameradoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledouble()
          Test for void ProjectiveCamera(double, double, double, double, double, double, double, double, double, double, double, double)
 void testProjectiveCameradoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubleMatrix()
          Test for void ProjectiveCamera(double, double, double, double, double, double, double, double, double, double, double, double, Matrix)
 void testProjectiveCameradoubledoubledoubledoubledoubleMatrix()
          Test for void ProjectiveCamera(double, double, double, double, double, Matrix)
 void testProjectiveCameradoubledoubledoubleMatrix()
          Test for void ProjectiveCamera(double, double, double, Matrix)
 void testProjectiveCameradoubleMatrix()
          Test for void ProjectiveCamera(double, Matrix)
 void testProjectiveCameraMatrix()
          Test for void ProjectiveCamera(Matrix)
 void testProjectiveCameraMatrixMatrix()
          Test for void ProjectiveCamera(Matrix, Matrix)
 void testProjectiveCameraMatrixMatrixMatrix()
          Test for void ProjectiveCamera(Matrix, Matrix, Matrix)
 void testProjectiveCameraMatrixMotion_3D()
          Test for void ProjectiveCamera(Matrix, Motion_3D)
 void testProjectiveCameraMatrixMotion_3DMatrix()
          Test for void ProjectiveCamera(Matrix, Motion_3D, Matrix)
 void testProjectiveCameraMotion_3D()
          Test for void ProjectiveCamera(Motion_3D)
 void testProjectiveCameraMotion_3DMatrix()
          Test for void ProjectiveCamera(Motion_3D, Matrix)
 void testProjectiveCameraReader()
          Test for void ProjectiveCamera(Reader)
 void testProjectiveCameraTranslation_3DRotation_3D()
          Test for void ProjectiveCamera(Translation_3D, Rotation_3D)
 void testProjectiveCameraTranslation_3DRotation_3DMatrix()
          Test for void ProjectiveCamera(Translation_3D, Rotation_3D, Matrix)
 void testSwapRC()
          Test for void swapRC()
 void testTransformEntity()
          Test for Entity transform(Entity) No test needed as submethods are used only
 void testTransformLine_2D()
          Test for Plane_3D transform(Line_2D)
 void testTransformLine_3D()
          Test for Line_2D transform(Line_3D)
 void testTransformPoint_2D()
          Test for Line_3D transform(Point_2D)
 void testTransformPoint_3D()
          Test for Point_2D transform(Point_3D)
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAXITER

public int MAXITER
Constructor Detail

ProjectiveCameraTest

public ProjectiveCameraTest(java.lang.String arg0)
Constructor for ProjectiveCameraTest.

Parameters:
arg0 -
Method Detail

testGetDegreesOfFreedom

public void testGetDegreesOfFreedom()
Test for int getDegreeOfFreedom()


testTransformEntity

public void testTransformEntity()
Test for Entity transform(Entity) No test needed as submethods are used only


testGetDimRow

public void testGetDimRow()
Test for int getDimRow()


testGetDimCol

public void testGetDimCol()
Test for int GetDimCol()


testGetJacobianAfterFirst

public void testGetJacobianAfterFirst()
Test for Matrix getJacobianAfterFirst()


testGetJacobianAfterSecond

public void testGetJacobianAfterSecond()
Test for Matrix getJacobianAfterSecond()


testProjectiveCamera

public void testProjectiveCamera()
Test for void ProjectiveCamera()


testProjectiveCameraMatrix

public void testProjectiveCameraMatrix()
Test for void ProjectiveCamera(Matrix)


testProjectiveCameraReader

public void testProjectiveCameraReader()
Test for void ProjectiveCamera(Reader)


testProjectiveCameraMatrixMatrix

public void testProjectiveCameraMatrixMatrix()
Test for void ProjectiveCamera(Matrix, Matrix)


testProjectiveCameraMatrixMatrixMatrix

public void testProjectiveCameraMatrixMatrixMatrix()
Test for void ProjectiveCamera(Matrix, Matrix, Matrix)


testProjectiveCameraMotion_3D

public void testProjectiveCameraMotion_3D()
Test for void ProjectiveCamera(Motion_3D)


testProjectiveCameraMotion_3DMatrix

public void testProjectiveCameraMotion_3DMatrix()
Test for void ProjectiveCamera(Motion_3D, Matrix)


testProjectiveCameraMatrixMotion_3D

public void testProjectiveCameraMatrixMotion_3D()
Test for void ProjectiveCamera(Matrix, Motion_3D)


testProjectiveCameraMatrixMotion_3DMatrix

public void testProjectiveCameraMatrixMotion_3DMatrix()
Test for void ProjectiveCamera(Matrix, Motion_3D, Matrix)


testProjectiveCameradoubledoubledoubledoubledouble

public void testProjectiveCameradoubledoubledoubledoubledouble()
Test for void ProjectiveCamera(double, double, double, double, double)


testProjectiveCameradoubledoubledoubledoubledoubleMatrix

public void testProjectiveCameradoubledoubledoubledoubledoubleMatrix()
Test for void ProjectiveCamera(double, double, double, double, double, Matrix)


testProjectiveCameraTranslation_3DRotation_3D

public void testProjectiveCameraTranslation_3DRotation_3D()
Test for void ProjectiveCamera(Translation_3D, Rotation_3D)


testProjectiveCameraTranslation_3DRotation_3DMatrix

public void testProjectiveCameraTranslation_3DRotation_3DMatrix()
Test for void ProjectiveCamera(Translation_3D, Rotation_3D, Matrix)


testProjectiveCameradoubleArray

public void testProjectiveCameradoubleArray()
Test for void ProjectiveCamera(double[])


testProjectiveCameradoubleArrayMatrix

public void testProjectiveCameradoubleArrayMatrix()
Test for void ProjectiveCamera(double[], Matrix)


testProjectiveCameradouble

public void testProjectiveCameradouble()
Test for void ProjectiveCamera(double)


testProjectiveCameradoubleMatrix

public void testProjectiveCameradoubleMatrix()
Test for void ProjectiveCamera(double, Matrix)


testProjectiveCameradoubledoubledouble

public void testProjectiveCameradoubledoubledouble()
Test for void ProjectiveCamera(double, double, double)


testProjectiveCameradoubledoubledoubleMatrix

public void testProjectiveCameradoubledoubledoubleMatrix()
Test for void ProjectiveCamera(double, double, double, Matrix)


testProjectiveCameradoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledouble

public void testProjectiveCameradoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledouble()
Test for void ProjectiveCamera(double, double, double, double, double, double, double, double, double, double, double, double)


testProjectiveCameradoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubleMatrix

public void testProjectiveCameradoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubleMatrix()
Test for void ProjectiveCamera(double, double, double, double, double, double, double, double, double, double, double, double, Matrix)


testGetPointMatrix

public void testGetPointMatrix()
Test for Matrix getPointMatrix()


testGetLineMatrix

public void testGetLineMatrix()
Test for Matrix getLineMatrix()


testGetDualLineMatrix

public void testGetDualLineMatrix()
Test for Matrix getDualLineMatrix()


testSwapRC

public void testSwapRC()
Test for void swapRC()


testGetInversePointMatrix

public void testGetInversePointMatrix()
Test for Matrix getInversePointMatrix(Vector)


testGetRotationMatrix

public void testGetRotationMatrix()
Test for Matrix getRotationMatrix()


testGetCalibrationMatrix

public void testGetCalibrationMatrix()
Test for Matrix getCalibrationMatrix()


testGetPrincipalPlane

public void testGetPrincipalPlane()
Test for Plane_3D getPrincipalPlane


testGetProjectionCenter

public void testGetProjectionCenter()
Test for Point_3D getProjectionCenter()


testTransformPoint_2D

public void testTransformPoint_2D()
Test for Line_3D transform(Point_2D)


testTransformLine_2D

public void testTransformLine_2D()
Test for Plane_3D transform(Line_2D)


testTransformPoint_3D

public void testTransformPoint_3D()
Test for Point_2D transform(Point_3D)


testTransformLine_3D

public void testTransformLine_3D()
Test for Line_2D transform(Line_3D)