public class TLcyLspCameraLinkAddOn extends ALcyPreferencesAddOn
This add-on provides the functionality to create a Lightspeed tracking camera and link it to one or more moving objects. A set of default cameras is already installed and configured through the add-on's default config file and are by default added to the pop-up menu which appears when you right click one or more objects of a Lightspeed map.
These default cameras can be disabled through the config file: this file contains a list with camera types to install; simply removing camera types from this list will make sure they are not available through Lucy.
Next to adding default cameras, this add-on also allows to plug-in your own cameras: a camera linker factory
, which produces
custom ALcyCameraLinker
, should be registered in the
Lucy back-end. After also reconfiguring the config file to take into account the custom camera,
this add-on will simply pick it up and plug it in, as any other default tracking camera.
Registering a custom factory which produces cameras of a default type (but therefore not with default functionality) will override the default factory, if it is plugged in with a higher priority. In that case the configuration file should not be altered.
For more information on the default types of tracking cameras, refer to the Lightspeed tracking camera section in the user guide and to the config file. For a more elaborate explanation on how to plug-in your custom camera, refer to the developer guide.
ALcyLspCameraLinker2D
,
ALcyLspCameraLinker3D
Constructor and Description |
---|
TLcyLspCameraLinkAddOn()
Creates a new
TLcyLspCameraLinkAddOn . |
Modifier and Type | Method and Description |
---|---|
void |
plugInto(ILcyLucyEnv aLucyEnv)
Plug into the lucy environment.
|
void |
unplugFrom(ILcyLucyEnv aLucyEnv)
Unplug from the lucy environment.
|
createPreferencesTool, getLongPrefix, getLucyEnv, getPreferences, getPreferencesTool, getShortPrefix
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
public TLcyLspCameraLinkAddOn()
TLcyLspCameraLinkAddOn
.public void plugInto(ILcyLucyEnv aLucyEnv)
plugInto
in class ALcyPreferencesAddOn
aLucyEnv
- the Lucy environment to plug intoALcyPreferencesAddOn
public void unplugFrom(ILcyLucyEnv aLucyEnv)
unplugFrom
in class ALcyPreferencesAddOn
aLucyEnv
- the Lucy environmentALcyPreferencesAddOn