|
| | __init__ (self, pnd, prd, w, h, p, gamma, overlapWidth, side, isDual, monitorWidth) |
| | Constructor for Config class.
|
| |
| | getProjectionDistance (self) |
| | Retrieve the projection distance.
|
| |
| | getProjectorDistance (self) |
| | Retrieve the projector distance.
|
| |
| | getImgWidth (self) |
| | Retrieve the image width.
|
| |
| | getImgHeight (self) |
| | Retrieve the image height.
|
| |
| | getImgPath (self) |
| | Retrieve the image path.
|
| |
| | getGamma (self) |
| | Retrieve the gamma value.
|
| |
| | getOverlapWidth (self) |
| | Retrieve the overlap width.
|
| |
| | getSide (self) |
| | Retrieve the side of projection.
|
| |
| | getIsDualMonitor (self) |
| |
| | getMonitorWidth (self) |
| |
◆ __init__()
| config.Config.__init__ |
( |
| self, |
|
|
| pnd, |
|
|
| prd, |
|
|
| w, |
|
|
| h, |
|
|
| p, |
|
|
| gamma, |
|
|
| overlapWidth, |
|
|
| side, |
|
|
| isDual, |
|
|
| monitorWidth ) |
Constructor for Config class.
- Parameters
-
| pnd | Projection distance. |
| prd | Projector distance. |
| w | Image width. |
| h | Image height. |
| p | Path to the image. |
| gamma | Gamma value for adjustments. |
| overlapWidth | Width of the overlap area. |
| side | Side of projection. |
◆ getGamma()
| config.Config.getGamma |
( |
| self | ) |
|
Retrieve the gamma value.
- Returns
- : Gamma value as a float.
◆ getImgHeight()
| config.Config.getImgHeight |
( |
| self | ) |
|
Retrieve the image height.
- Returns
- : Image height as an integer.
◆ getImgPath()
| config.Config.getImgPath |
( |
| self | ) |
|
Retrieve the image path.
- Returns
- : Image path as a string.
◆ getImgWidth()
| config.Config.getImgWidth |
( |
| self | ) |
|
Retrieve the image width.
- Returns
- : Image width as an integer.
◆ getIsDualMonitor()
| config.Config.getIsDualMonitor |
( |
| self | ) |
|
◆ getMonitorWidth()
| config.Config.getMonitorWidth |
( |
| self | ) |
|
◆ getOverlapWidth()
| config.Config.getOverlapWidth |
( |
| self | ) |
|
Retrieve the overlap width.
- Returns
- : Overlap width as an integer.
◆ getProjectionDistance()
| config.Config.getProjectionDistance |
( |
| self | ) |
|
Retrieve the projection distance.
- Returns
- : Projection distance as an integer.
◆ getProjectorDistance()
| config.Config.getProjectorDistance |
( |
| self | ) |
|
Retrieve the projector distance.
- Returns
- : Projector distance as an integer.
◆ getSide()
| config.Config.getSide |
( |
| self | ) |
|
Retrieve the side of projection.
- Returns
- : Side as a string.
◆ readConfigFile()
| config.Config.readConfigFile |
( |
| ) |
|
|
static |
Reads the configuration from a config.ini file and returns a Config object.
- Returns
- : Config object with settings loaded from config.ini.
The documentation for this class was generated from the following file: