Package boofcv.gui.mesh
Interface Swing3dCameraControl
- All Known Implementing Classes:
FirstPersonCameraControl
,OrbitAroundPointControl
public interface Swing3dCameraControl
Interface for controlling a camera which is viewing a 3D scene.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attachControls
(JComponent parent) Attaches controls to the componentvoid
detachControls
(JComponent parent) Detaches controls to the componentExplains how to use the controlTransform from world to cameravoid
reset()
Resets the view back to it's initial statevoid
Selects a reasonable initial location to view the specified meshvoid
setCamera
(CameraPinhole intrinsics) Specifies the camera used to render the scenevoid
setChangeHandler
(Runnable handler) This is called whenever the settings have changed and the rendering should be updated.
-
Method Details
-
attachControls
Attaches controls to the component -
detachControls
Detaches controls to the component -
selectInitialParameters
Selects a reasonable initial location to view the specified mesh -
reset
void reset()Resets the view back to it's initial state -
setCamera
Specifies the camera used to render the scene -
getWorldToCamera
Se3_F64 getWorldToCamera()Transform from world to camera -
setChangeHandler
This is called whenever the settings have changed and the rendering should be updated. -
getHelpText
String getHelpText()Explains how to use the control
-