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 TypeMethodDescriptionvoidattachControls(JComponent parent) Attaches controls to the componentvoiddetachControls(JComponent parent) Detaches controls to the componentExplains how to use the controlTransform from world to cameravoidreset()Resets the view back to it's initial statevoidSelects a reasonable initial location to view the specified meshvoidsetCamera(CameraPinhole intrinsics) Specifies the camera used to render the scenevoidsetChangeHandler(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
-