HALCON Reference Manual 10.0.2
Table of Contents / Graphics / Parameters ClassesClassesClasses | | | Operators

get_shapeget_shapeget_shapeGetShapeGetShape (Operator)

Name

get_shapeget_shapeget_shapeGetShapeGetShape — Get the current region output shape.

Signature

get_shape( : : WindowHandle : DisplayShape)

Herror get_shape(const Hlong WindowHandle, char* DisplayShape)

Herror T_get_shape(const Htuple WindowHandle, Htuple* DisplayShape)

Herror get_shape(const HTuple& WindowHandle, char* DisplayShape)

HTuple HWindow::GetShape() const

void HOperatorSetX.GetShape(
[in] VARIANT WindowHandle, [out] VARIANT* DisplayShape)

BSTR HWindowX.GetShape()

static void HOperatorSet.GetShape(HTuple windowHandle, out HTuple displayShape)

string HWindow.GetShape()

Description

get_shapeget_shapeget_shapeGetShapeGetShape returns the shape in which regions are displayed. The available shapes can be queried with query_shapequery_shapequery_shapeQueryShapeQueryShape and then changed with set_shapeset_shapeset_shapeSetShapeSetShape.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Window_id.

DisplayShapeDisplayShapeDisplayShapeDisplayShapedisplayShape (output_control)  string HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Current region output shape.

Result

get_shapeget_shapeget_shapeGetShapeGetShape returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.

Possible Predecessors

query_shapequery_shapequery_shapeQueryShapeQueryShape

Possible Successors

set_shapeset_shapeset_shapeSetShapeSetShape, disp_regiondisp_regiondisp_regionDispRegionDispRegion

See also

set_shapeset_shapeset_shapeSetShapeSetShape, query_shapequery_shapequery_shapeQueryShapeQueryShape, disp_regiondisp_regiondisp_regionDispRegionDispRegion

Module

Foundation


Table of Contents / Graphics / Parameters ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH