Package boofcv.gui.mesh
Class OrbitAroundPoint
java.lang.Object
boofcv.gui.mesh.OrbitAroundPoint
Contains the mathematics for controlling a camera by orbiting around a point in 3D space
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
mouseDragRotate
(double x0, double y0, double x1, double y1) void
mouseDragTranslate
(double x0, double y0, double x1, double y1) Uses mouse drag motion to translate the viewvoid
mouseDragZoomRoll
(double x0, double y0, double x1, double y1) Drag will move in the +z direction and roll the cameravoid
mouseWheel
(double ticks, double scale) void
void
-
Constructor Details
-
OrbitAroundPoint
public OrbitAroundPoint()
-
-
Method Details
-
resetView
public void resetView() -
updateTransform
public void updateTransform() -
mouseWheel
public void mouseWheel(double ticks, double scale) -
mouseDragRotate
public void mouseDragRotate(double x0, double y0, double x1, double y1) -
mouseDragTranslate
public void mouseDragTranslate(double x0, double y0, double x1, double y1) Uses mouse drag motion to translate the view -
mouseDragZoomRoll
public void mouseDragZoomRoll(double x0, double y0, double x1, double y1) Drag will move in the +z direction and roll the camera
-