|
| CUDA_HOST_DEVICE | ROI (unsigned int in_beginX, unsigned int in_endX, unsigned int in_beginY, unsigned int in_endY) |
| | ROI constructor. More...
|
| |
| CUDA_HOST_DEVICE | ROI (const Range &in_rangeX, const Range &in_rangeY) |
| | ROI constructor. More...
|
| |
| CUDA_HOST_DEVICE unsigned int | width () const |
| | Get the ROI width. More...
|
| |
| CUDA_HOST_DEVICE unsigned int | height () const |
| | Get the ROI height. More...
|
| |
|
CUDA_HOST_DEVICE bool | isEmpty () const |
| |
| CUDA_HOST bool | contains (unsigned int in_x, unsigned int in_y) const |
| | Return true if the given 2d point is contained in the ROI. More...
|
| |
◆ ROI() [1/2]
| CUDA_HOST_DEVICE aliceVision::ROI::ROI |
( |
unsigned int |
in_beginX, |
|
|
unsigned int |
in_endX, |
|
|
unsigned int |
in_beginY, |
|
|
unsigned int |
in_endY |
|
) |
| |
|
inline |
ROI constructor.
- Parameters
-
| [in] | in_beginX | the range X begin index |
| [in] | in_endX | the range X end index |
| [in] | in_beginY | the range Y begin index |
| [in] | in_endY | the range Y end index |
◆ ROI() [2/2]
| CUDA_HOST_DEVICE aliceVision::ROI::ROI |
( |
const Range & |
in_rangeX, |
|
|
const Range & |
in_rangeY |
|
) |
| |
|
inline |
ROI constructor.
- Parameters
-
| [in] | in_rangeX | the X index range |
| [in] | in_rangeY | the Y index range |
◆ contains()
| CUDA_HOST bool aliceVision::ROI::contains |
( |
unsigned int |
in_x, |
|
|
unsigned int |
in_y |
|
) |
| const |
|
inline |
Return true if the given 2d point is contained in the ROI.
- Parameters
-
| [in] | in_x | the given 2d point X coordinate |
| [in] | in_y | the given 2d point Y coordinate |
- Returns
- true if the given 2d point is contained in the ROI
◆ height()
| CUDA_HOST_DEVICE unsigned int aliceVision::ROI::height |
( |
| ) |
const |
|
inline |
Get the ROI height.
- Returns
- the Y range size
◆ width()
| CUDA_HOST_DEVICE unsigned int aliceVision::ROI::width |
( |
| ) |
const |
|
inline |
Get the ROI width.
- Returns
- the X range size
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/alicevision/checkouts/latest/src/aliceVision/mvsData/ROI.hpp