Package com.irurueta.geometry
Class ProjectiveTransformation3DTest
java.lang.Object
com.irurueta.geometry.ProjectiveTransformation3DTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) voidprivate static voidtransformDualQuadric(DualQuadric inputDualQuadric, DualQuadric outputDualQuadric, ProjectiveTransformation3D transformation) private static voidtransformLine(Line3D inputLine, Line3D outputLine, ProjectiveTransformation3D transformation) private static voidtransformPlane(Plane inputPlane, Plane outputPlane, ProjectiveTransformation3D transformation) private static voidtransformPoint(Point3D inputPoint, Point3D outputPoint, ProjectiveTransformation3D transformation) private static voidtransformQuadric(Quadric inputQuadric, Quadric outputQuadric, ProjectiveTransformation3D transformation)
-
Field Details
-
PINHOLE_CAMERA_ROWS
private static final int PINHOLE_CAMERA_ROWS- See Also:
-
PINHOLE_CAMERA_COLS
private static final int PINHOLE_CAMERA_COLS- See Also:
-
HOM_COORDS
private static final int HOM_COORDS- See Also:
-
MIN_ANGLE_DEGREES
private static final double MIN_ANGLE_DEGREES- See Also:
-
MAX_ANGLE_DEGREES
private static final double MAX_ANGLE_DEGREES- See Also:
-
MIN_RANDOM_VALUE
private static final double MIN_RANDOM_VALUE- See Also:
-
MAX_RANDOM_VALUE
private static final double MAX_RANDOM_VALUE- See Also:
-
MIN_SCALE
private static final double MIN_SCALE- See Also:
-
MAX_SCALE
private static final double MAX_SCALE- See Also:
-
MIN_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
MIN_RANDOM_POINT_VALUE
private static final double MIN_RANDOM_POINT_VALUE- See Also:
-
MAX_RANDOM_POINT_VALUE
private static final double MAX_RANDOM_POINT_VALUE- See Also:
-
MIN_FOCAL_LENGTH
private static final double MIN_FOCAL_LENGTH- See Also:
-
MAX_FOCAL_LENGTH
private static final double MAX_FOCAL_LENGTH- See Also:
-
MIN_SKEWNESS
private static final double MIN_SKEWNESS- See Also:
-
MAX_SKEWNESS
private static final double MAX_SKEWNESS- See Also:
-
MIN_PRINCIPAL_POINT
private static final double MIN_PRINCIPAL_POINT- See Also:
-
MAX_PRINCIPAL_POINT
private static final double MAX_PRINCIPAL_POINT- See Also:
-
MIN_ANGLE_DEGREES2
private static final double MIN_ANGLE_DEGREES2- See Also:
-
MAX_ANGLE_DEGREES2
private static final double MAX_ANGLE_DEGREES2- See Also:
-
TIMES
private static final int TIMES- See Also:
-
-
Constructor Details
-
ProjectiveTransformation3DTest
ProjectiveTransformation3DTest()
-
-
Method Details
-
testConstants
@Test void testConstants() -
testConstructor
- Throws:
com.irurueta.algebra.AlgebraExceptionRotationException
-
testGetSetT
@Test void testGetSetT() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testIsDegenerate
@Test void testIsDegenerate() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.LockedException, com.irurueta.algebra.NotReadyException, com.irurueta.algebra.DecomposerException, com.irurueta.algebra.NotAvailableException- Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.LockedExceptioncom.irurueta.algebra.NotReadyExceptioncom.irurueta.algebra.DecomposerExceptioncom.irurueta.algebra.NotAvailableException
-
testGetSetA
@Test void testGetSetA() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testNormalize
@Test void testNormalize() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testGetSetRotation
- Throws:
RotationExceptioncom.irurueta.algebra.AlgebraException
-
testAddRotation
- Throws:
RotationExceptioncom.irurueta.algebra.AlgebraException
-
testGetSetAffineParameters
@Test void testGetSetAffineParameters() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testGetSetProjectiveParameters
@Test void testGetSetProjectiveParameters() -
testGetSetTranslation
@Test void testGetSetTranslation() -
testAddTranslation
@Test void testAddTranslation() -
testAddTranslation2
@Test void testAddTranslation2() -
testAddTranslation3
@Test void testAddTranslation3() -
testGetSetTranslationX
@Test void testGetSetTranslationX() -
testGetSetTranslationY
@Test void testGetSetTranslationY() -
testGetSetTranslationZ
@Test void testGetSetTranslationZ() -
testSetTranslationCoordinates
@Test void testSetTranslationCoordinates() -
testGetSetTranslationPoint
@Test void testGetSetTranslationPoint() -
testAddTranslationX
@Test void testAddTranslationX() -
testAddTranslationY
@Test void testAddTranslationY() -
testAddTranslationZ
@Test void testAddTranslationZ() -
testGetSetScale
@Test void testGetSetScale() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testAsMatrix
@Test void testAsMatrix() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testTransformPoint
@Test void testTransformPoint() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testTransformPoints
@Test void testTransformPoints() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testTransformAndOverwritePoints
@Test void testTransformAndOverwritePoints() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testTransformQuadric
@Test void testTransformQuadric() throws NonSymmetricMatrixException, com.irurueta.algebra.AlgebraException- Throws:
NonSymmetricMatrixExceptioncom.irurueta.algebra.AlgebraException
-
testTransformQuadricAndPoints
@Test void testTransformQuadricAndPoints() throws com.irurueta.algebra.AlgebraException, GeometryException- Throws:
com.irurueta.algebra.AlgebraExceptionGeometryException
-
tesTransformDualQuadric
@Test void tesTransformDualQuadric() throws NonSymmetricMatrixException, com.irurueta.algebra.AlgebraException- Throws:
NonSymmetricMatrixExceptioncom.irurueta.algebra.AlgebraException
-
testTransformDualQuadricAndPlanes
@Test void testTransformDualQuadricAndPlanes() throws com.irurueta.algebra.AlgebraException, GeometryException- Throws:
com.irurueta.algebra.AlgebraExceptionGeometryException
-
testTransformPlane
@Test void testTransformPlane() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testTransformPlaneAndPoints
@Test void testTransformPlaneAndPoints() throws com.irurueta.algebra.AlgebraException, GeometryException- Throws:
com.irurueta.algebra.AlgebraExceptionGeometryException
-
testTransformPlanes
@Test void testTransformPlanes() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testTransformAndOverwritePlanes
@Test void testTransformAndOverwritePlanes() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testTransformLine
@Test void testTransformLine() throws CoincidentPointsException, CoincidentPlanesException, com.irurueta.algebra.AlgebraException- Throws:
CoincidentPointsExceptionCoincidentPlanesExceptioncom.irurueta.algebra.AlgebraException
-
testTransformLines
@Test void testTransformLines() throws CoincidentPlanesException, CoincidentPointsException, com.irurueta.algebra.AlgebraException- Throws:
CoincidentPlanesExceptionCoincidentPointsExceptioncom.irurueta.algebra.AlgebraException
-
testTransformAndOverwriteLines
@Test void testTransformAndOverwriteLines() throws CoincidentPointsException, CoincidentPlanesException, com.irurueta.algebra.AlgebraException- Throws:
CoincidentPointsExceptionCoincidentPlanesExceptioncom.irurueta.algebra.AlgebraException
-
testTransformPolygon
@Test void testTransformPolygon() throws NotEnoughVerticesException, com.irurueta.algebra.AlgebraException- Throws:
NotEnoughVerticesExceptioncom.irurueta.algebra.AlgebraException
-
testTransformTriangle
@Test void testTransformTriangle() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testTransformCamera
@Test void testTransformCamera() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testTransformCameraAndPoints
@Test void testTransformCameraAndPoints() throws com.irurueta.algebra.AlgebraException, GeometryException- Throws:
com.irurueta.algebra.AlgebraExceptionGeometryException
-
testInverse
@Test void testInverse() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testCombine
@Test void testCombine() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testSetTransformationFromPoints
@Test void testSetTransformationFromPoints() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.DecomposerException, CoincidentPointsException- Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.DecomposerExceptionCoincidentPointsException
-
testConstructorFromPoints
@Test void testConstructorFromPoints() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.DecomposerException, CoincidentPointsException- Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.DecomposerExceptionCoincidentPointsException
-
testSetTransformationFromPlanes
@Test void testSetTransformationFromPlanes() throws CoincidentPlanesException, com.irurueta.algebra.AlgebraException- Throws:
CoincidentPlanesExceptioncom.irurueta.algebra.AlgebraException
-
testConstructorFromPlanes
@Test void testConstructorFromPlanes() throws CoincidentPlanesException, com.irurueta.algebra.AlgebraException- Throws:
CoincidentPlanesExceptioncom.irurueta.algebra.AlgebraException
-
testSetTransformationFromLines
@Test void testSetTransformationFromLines() throws CoincidentLinesException, com.irurueta.algebra.AlgebraException, CoincidentPlanesException- Throws:
CoincidentLinesExceptioncom.irurueta.algebra.AlgebraExceptionCoincidentPlanesException
-
testConstructorFromLines
@Test void testConstructorFromLines() throws CoincidentLinesException, com.irurueta.algebra.AlgebraException, CoincidentPlanesException- Throws:
CoincidentLinesExceptioncom.irurueta.algebra.AlgebraExceptionCoincidentPlanesException
-
testSerializeAndDeserialize
@Test void testSerializeAndDeserialize() throws com.irurueta.algebra.WrongSizeException, IOException, ClassNotFoundException- Throws:
com.irurueta.algebra.WrongSizeExceptionIOExceptionClassNotFoundException
-
transformPoint
private static void transformPoint(Point3D inputPoint, Point3D outputPoint, ProjectiveTransformation3D transformation) throws com.irurueta.algebra.AlgebraException - Throws:
com.irurueta.algebra.AlgebraException
-
transformPlane
private static void transformPlane(Plane inputPlane, Plane outputPlane, ProjectiveTransformation3D transformation) throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.RankDeficientMatrixException, com.irurueta.algebra.DecomposerException - Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.RankDeficientMatrixExceptioncom.irurueta.algebra.DecomposerException
-
transformQuadric
private static void transformQuadric(Quadric inputQuadric, Quadric outputQuadric, ProjectiveTransformation3D transformation) throws com.irurueta.algebra.AlgebraException, NonSymmetricMatrixException - Throws:
com.irurueta.algebra.AlgebraExceptionNonSymmetricMatrixException
-
transformDualQuadric
private static void transformDualQuadric(DualQuadric inputDualQuadric, DualQuadric outputDualQuadric, ProjectiveTransformation3D transformation) throws com.irurueta.algebra.WrongSizeException, NonSymmetricMatrixException - Throws:
com.irurueta.algebra.WrongSizeExceptionNonSymmetricMatrixException
-
transformLine
private static void transformLine(Line3D inputLine, Line3D outputLine, ProjectiveTransformation3D transformation) throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.RankDeficientMatrixException, com.irurueta.algebra.DecomposerException, CoincidentPlanesException - Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.RankDeficientMatrixExceptioncom.irurueta.algebra.DecomposerExceptionCoincidentPlanesException
-