unproject_coordinatesT_unproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesunproject_coordinates (Operator)

Name

unproject_coordinatesT_unproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesunproject_coordinates — Zurückliefern der Bildkoordinaten eines Punktes in einem 3D-Plot-Fenster

Signatur

unproject_coordinates(Image : : WindowHandle, Row, Column : ImageRow, ImageColumn, Height)

Herror T_unproject_coordinates(const Hobject Image, const Htuple WindowHandle, const Htuple Row, const Htuple Column, Htuple* ImageRow, Htuple* ImageColumn, Htuple* Height)

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)

def unproject_coordinates(image: HObject, window_handle: HHandle, row: Union[float, int], column: Union[float, int]) -> Tuple[int, int, Union[int, float]]

Beschreibung

Wird ImageImageImageImageimageimage als 3D-Plot (d.h. '3d_plot'"3d_plot""3d_plot""3d_plot""3d_plot""3d_plot" wurde mittel set_paintset_paintSetPaintSetPaintSetPaintset_paint ausgewählt) im Fenster WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle angezeigt, berechnet unproject_coordinatesunproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesUnprojectCoordinatesunproject_coordinates die Bildkoordinaten ImageRowImageRowImageRowImageRowimageRowimage_row und ImageColumnImageColumnImageColumnImageColumnimageColumnimage_column, sowie die Höhe HeightHeightHeightHeightheightheight für einen gegebenen Punkt RowRowRowRowrowrow,ColumnColumnColumnColumncolumncolumn in Fensterkoordinaten. Die Fensterkoordinaten RowRowRowRowrowrow und ColumnColumnColumnColumncolumncolumn müssen so angegeben werden, dass sie dem gesetzten Bildausschnitt entsprechen und damit auch subpixelgenau sind. Ist der Bildausschnitt durch (Zeile1,Spalte1,Zeile2, Spalte2) gegeben, entspricht die linke obere Ecke den Koordinaten (Zeile1 - 0.5, Spalte1 - 0.5), die rechte untere Ecke den Koordinaten (Zeile2 - 0.5, Spalte2 - 0.5). Die Operatoren get_mposition_sub_pixget_mposition_sub_pixGetMpositionSubPixGetMpositionSubPixGetMpositionSubPixget_mposition_sub_pix oder get_mbutton_sub_pixget_mbutton_sub_pixGetMbuttonSubPixGetMbuttonSubPixGetMbuttonSubPixget_mbutton_sub_pix können verwendet werden, um diese Koordinaten direkt zu erhalten.

Einer der Fensterparameter 'save_depth_buffer'"save_depth_buffer""save_depth_buffer""save_depth_buffer""save_depth_buffer""save_depth_buffer" oder 'interactive_plot'"interactive_plot""interactive_plot""interactive_plot""interactive_plot""interactive_plot" muss mittels set_window_paramset_window_paramSetWindowParamSetWindowParamSetWindowParamset_window_param auf 'true'"true""true""true""true""true" gesetzt werden, damit unproject_coordinatesunproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesUnprojectCoordinatesunproject_coordinates benutzt werden kann.

Ausführungsinformationen

Parameter

ImageImageImageImageimageimage (input_object)  singlechannelimage objectHImageHObjectHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / vector_field)

Ausgegebenes Bild.

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Fenster-Handle.

RowRowRowRowrowrow (input_control)  integer HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinate im Fenster.

ColumnColumnColumnColumncolumncolumn (input_control)  integer HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinate im Fenster.

ImageRowImageRowImageRowImageRowimageRowimage_row (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Zeilenkoordinate im Bild.

ImageColumnImageColumnImageColumnImageColumnimageColumnimage_column (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Spaltenkoordinate im Bild.

HeightHeightHeightHeightheightheight (output_control)  real HTupleUnion[int, float]HTupleHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double)

Höhenwert.

Vorgänger

get_mbutton_sub_pixget_mbutton_sub_pixGetMbuttonSubPixGetMbuttonSubPixGetMbuttonSubPixget_mbutton_sub_pix, get_mposition_sub_pixget_mposition_sub_pixGetMpositionSubPixGetMpositionSubPixGetMpositionSubPixget_mposition_sub_pix, disp_imagedisp_imageDispImageDispImageDispImagedisp_image

Siehe auch

disp_objdisp_objDispObjDispObjDispObjdisp_obj, update_window_poseupdate_window_poseUpdateWindowPoseUpdateWindowPoseUpdateWindowPoseupdate_window_pose, set_paintset_paintSetPaintSetPaintSetPaintset_paint

Modul

Foundation