Name
unproject_coordinatesT_unproject_coordinatesUnprojectCoordinatesUnprojectCoordinates — Calculates image coordinates for a point in a 3D plot window.
void UnprojectCoordinates(const HObject& Image, const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, HTuple* ImageRow, HTuple* ImageColumn, HTuple* Height)
void HImage::UnprojectCoordinates(const HWindow& WindowHandle, const HTuple& Row, const HTuple& Column, Hlong* ImageRow, Hlong* ImageColumn, HTuple* Height) const
void HImage::UnprojectCoordinates(const HWindow& WindowHandle, double Row, double Column, Hlong* ImageRow, Hlong* ImageColumn, Hlong* Height) const
void HWindow::UnprojectCoordinates(const HImage& Image, const HTuple& Row, const HTuple& Column, Hlong* ImageRow, Hlong* ImageColumn, HTuple* Height) const
void HWindow::UnprojectCoordinates(const HImage& Image, double Row, double Column, Hlong* ImageRow, Hlong* ImageColumn, Hlong* Height) const
static void HOperatorSet.UnprojectCoordinates(HObject image, HTuple windowHandle, HTuple row, HTuple column, out HTuple imageRow, out HTuple imageColumn, out HTuple height)
void HImage.UnprojectCoordinates(HWindow windowHandle, HTuple row, HTuple column, out int imageRow, out int imageColumn, out HTuple height)
void HImage.UnprojectCoordinates(HWindow windowHandle, double row, double column, out int imageRow, out int imageColumn, out int height)
void HWindow.UnprojectCoordinates(HImage image, HTuple row, HTuple column, out int imageRow, out int imageColumn, out HTuple height)
void HWindow.UnprojectCoordinates(HImage image, double row, double column, out int imageRow, out int imageColumn, out int height)
If ImageImageImageImageimage is displayed in WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle using a 3D plot
(i.e., '3d_plot'"3d_plot""3d_plot""3d_plot""3d_plot" was set using set_paintset_paintSetPaintSetPaintSetPaint),
unproject_coordinatesunproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesUnprojectCoordinates calculates the image coordinates
ImageRowImageRowImageRowImageRowimageRow, ImageColumnImageColumnImageColumnImageColumnimageColumn, and the HeightHeightHeightHeightheight for a given
point RowRowRowRowrow,ColumnColumnColumnColumncolumn in window coordinates.
The window coordinates RowRowRowRowrow, ColumnColumnColumnColumncolumn must be provided in
respect to the current image part. As a consequence, this coordinates are
subpixel coordinates. Given the current image part (row1,column1,row2,
column2), the upper left corner corresponds to the coordinates
(row1 - 0.5, col1 - 0.5). Accordingly, the bottom right corner
corresponds to the coordinates (row2 - 0.5, col2 - 0.5). Use
get_mposition_sub_pixget_mposition_sub_pixGetMpositionSubPixGetMpositionSubPixGetMpositionSubPix or get_mbutton_sub_pixget_mbutton_sub_pixGetMbuttonSubPixGetMbuttonSubPixGetMbuttonSubPix to obtain these
coordinates directly.
One of the window parameters 'save_depth_buffer'"save_depth_buffer""save_depth_buffer""save_depth_buffer""save_depth_buffer" or
'interactive_plot'"interactive_plot""interactive_plot""interactive_plot""interactive_plot" must be set to 'true'"true""true""true""true" using
set_window_paramset_window_paramSetWindowParamSetWindowParamSetWindowParam. Otherwise, unproject_coordinatesunproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesUnprojectCoordinates cannot
be used.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Row coordinate in the window.
Column coordinate in the window.
Row coordinate in the image.
Column coordinate in the image.
get_mbutton_sub_pixget_mbutton_sub_pixGetMbuttonSubPixGetMbuttonSubPixGetMbuttonSubPix,
get_mposition_sub_pixget_mposition_sub_pixGetMpositionSubPixGetMpositionSubPixGetMpositionSubPix,
disp_imagedisp_imageDispImageDispImageDispImage
disp_objdisp_objDispObjDispObjDispObj,
update_window_poseupdate_window_poseUpdateWindowPoseUpdateWindowPoseUpdateWindowPose,
set_paintset_paintSetPaintSetPaintSetPaint
Foundation