unproject_coordinatesT_unproject_coordinatesUnprojectCoordinatesUnprojectCoordinates (Operator)

Name

unproject_coordinatesT_unproject_coordinatesUnprojectCoordinatesUnprojectCoordinates — 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)

Beschreibung

Wird ImageImageImageImageimage als 3D-Plot (d.h. '3d_plot'"3d_plot""3d_plot""3d_plot""3d_plot" wurde mittel set_paintset_paintSetPaintSetPaintSetPaint ausgewählt) im Fenster WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle angezeigt, berechnet unproject_coordinatesunproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesUnprojectCoordinates die Bildkoordinaten ImageRowImageRowImageRowImageRowimageRow und ImageColumnImageColumnImageColumnImageColumnimageColumn, sowie die Höhe HeightHeightHeightHeightheight für einen gegebenen Punkt RowRowRowRowrow,ColumnColumnColumnColumncolumn in Fensterkoordinaten. Die Fensterkoordinaten RowRowRowRowrow und ColumnColumnColumnColumncolumn 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_pixGetMpositionSubPixGetMpositionSubPixGetMpositionSubPix oder get_mbutton_sub_pixget_mbutton_sub_pixGetMbuttonSubPixGetMbuttonSubPixGetMbuttonSubPix 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" oder 'interactive_plot'"interactive_plot""interactive_plot""interactive_plot""interactive_plot" muss mittels set_window_paramset_window_paramSetWindowParamSetWindowParamSetWindowParam auf 'true'"true""true""true""true" gesetzt werden, damit unproject_coordinatesunproject_coordinatesUnprojectCoordinatesUnprojectCoordinatesUnprojectCoordinates benutzt werden kann.

Ausführungsinformationen

Parameter

ImageImageImageImageimage (input_object)  singlechannelimage objectHImageHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / vector_field)

Ausgegebenes Bild.

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Fenster-Handle.

RowRowRowRowrow (input_control)  integer HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinate im Fenster.

ColumnColumnColumnColumncolumn (input_control)  integer HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinate im Fenster.

ImageRowImageRowImageRowImageRowimageRow (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Zeilenkoordinate im Bild.

ImageColumnImageColumnImageColumnImageColumnimageColumn (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Spaltenkoordinate im Bild.

HeightHeightHeightHeightheight (output_control)  real HTupleHTupleHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double)

Höhenwert.

Vorgänger

get_mbutton_sub_pixget_mbutton_sub_pixGetMbuttonSubPixGetMbuttonSubPixGetMbuttonSubPix, get_mposition_sub_pixget_mposition_sub_pixGetMpositionSubPixGetMpositionSubPixGetMpositionSubPix, disp_imagedisp_imageDispImageDispImageDispImage

Siehe auch

disp_objdisp_objDispObjDispObjDispObj, update_window_poseupdate_window_poseUpdateWindowPoseUpdateWindowPoseUpdateWindowPose, set_paintset_paintSetPaintSetPaintSetPaint

Modul

Foundation