Decapod 0.7 Calibration and Dewarp Shared User Interface Configuration
Creation
Method |
|
---|---|
Description |
Instantiates the calibrator component, which is the top level component for Stereo 3D Calibration page. |
Parameters |
|
Returns |
The calibrator component |
Examples |
var calibrator = decapod.calibrator("#myContainer", { selectors: { title: ".mySelector" } }); |
Method |
|
---|---|
Description |
Instantiates the dewarper component, which is the top level component for the Stereo 3D Dewarp page. |
Parameters |
|
Returns |
The dewarper component |
Examples |
var dewarper = decapod.dewarper("#myContainer", { selectors: { title: ".mySelector" } }); |
Calibrator and Dewarper Shared Selectors
Selectors
Some information about selectors and how they can be configured can be found here: Component Configuration Options - Selectors
title
Description |
The element that will be used to display the main title for the calibrator/dewarper. This should be an |
---|---|
Default |
|
Example |
// Configure calibrator's title. decapod.calibrator(".myContainer", { selectors: { title: ".myTitle" } }); // Configure dewarper's title. decapod.dewarper(".myContainer", { selectors: { title: ".myTitle" } }); |
help
Description |
The element that will be used as a link to the help material for calibration/dewarping. |
---|---|
Default |
|
Example |
// Configure calibrator's help link text. decapod.calibrator(".myContainer", { selectors: { help: ".myHelp" } }); // Configure dewarper's help link text. decapod.dewarper(".myContainer", { selectors: { help: ".myHelp" } }); |
start
Description |
The element that will be used to start the process of calibration/dewarping itself. |
---|---|
Default |
|
Example |
// Configure calibrator's start calibration button. decapod.calibrator(".myContainer", { selectors: { start: ".myStart" } }); // Configure dewarper's start dewarping button. decapod.dewarper(".myContainer", { selectors: { start: ".myStart" } }); |
browse
Description |
The element that will be used to contain:
|
---|---|
Default |
|
Example |
// Configure calibrator's select archive step container. decapod.calibrator(".myContainer", { selectors: { browse: ".myBrowse" } }); // Configure dewarper's select captures archive step container. decapod.dewarper(".myContainer", { selectors: { browse: ".myBrowse" } }); |
status
Description |
The element that contains the status/progress box. |
---|---|
Default |
|
Example |
// Configure calibrator's status/progress box container. decapod.calibrator(".myContainer", { selectors: { status: ".myStatus" } }); // Configure dewarper's status/progress box container. decapod.dewarper(".myContainer", { selectors: { status: ".myStatus" } }); |
Dewarper Only Selectors
browseCalibration
Description |
The element that contains calibration archive selection step. |
---|---|
Default |
|
Example |
// Configure dewarper's select calibration archive step container. decapod.dewarper(".myContainer", { selectors: { browseCalibration: ".myBrowseCalibration" } }); |
colourPicker
Description |
The element that contains colour picker step. |
---|---|
Default |
|
Example |
// Configure dewarper's colour picker step container. decapod.dewarper(".myContainer", { selectors: { colourPicker: ".myColourPicker" } }); |
Styles
See the Decapod Styling guide for information on changing the appearance of Decapod.