EZMap8::Draw

Draws an EZMap8 in a device context.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

void Draw(
   EDrawAdapter* graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   EDrawAdapter* graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   EC24 colorUndefinedPixel
)

void Draw(
   EDrawAdapter* graphicContext,
   EC24Vector* c24Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   EDrawAdapter* graphicContext,
   EC24Vector* c24Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   EC24 colorUndefinedPixel
)

void Draw(
   EDrawAdapter* graphicContext,
   EBW8Vector* bw8Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   EDrawAdapter* graphicContext,
   EBW8Vector* bw8Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   EC24 colorUndefinedPixel
)

void Draw(
   HDC graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   HDC graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   EC24 colorUndefinedPixel
)

void Draw(
   HDC graphicContext,
   EC24Vector* c24Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   HDC graphicContext,
   EC24Vector* c24Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   EC24 colorUndefinedPixel
)

void Draw(
   HDC graphicContext,
   EBW8Vector* bw8Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   HDC graphicContext,
   EBW8Vector* bw8Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   EC24 colorUndefinedPixel
)

Parameters

graphicContext

Handle to the device context of the destination window.

zoomX

Magnification factor for zooming in or out in the horizontal direction. By default, the ZMap is displayed in 1:1 scale.

zoomY

Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

colorUndefinedPixel

An optional parameter to choose the drawing color of undefined pixels.

c24Vector

When supplied, this parameter allows using a LUT that maps from Depth to C24 when drawing (false colors).

bw8Vector

When supplied, this parameter allows using a LUT that maps from Depth to BW8 when drawing.

Remarks

A ZMap can be drawn (its pixels rendered) using a device context. EZMap8::Draw and EZMap8::DrawImage produce the same output.
The horizontal and vertical zooming factors can be different but must be in the 1/16..16 range.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.) Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

EZMap8.Draw

Draws an EZMap8 in a device context.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

void Draw(
   Euresys.Open_eVision.EDrawAdapter graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   Euresys.Open_eVision.EDrawAdapter graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 colorUndefinedPixel
)

void Draw(
   Euresys.Open_eVision.EDrawAdapter graphicContext,
   Euresys.Open_eVision.EC24Vector c24Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   Euresys.Open_eVision.EDrawAdapter graphicContext,
   Euresys.Open_eVision.EC24Vector c24Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 colorUndefinedPixel
)

void Draw(
   Euresys.Open_eVision.EDrawAdapter graphicContext,
   Euresys.Open_eVision.EBW8Vector bw8Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   Euresys.Open_eVision.EDrawAdapter graphicContext,
   Euresys.Open_eVision.EBW8Vector bw8Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 colorUndefinedPixel
)

void Draw(
   IntPtr graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   IntPtr graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 colorUndefinedPixel
)

void Draw(
   IntPtr graphicContext,
   Euresys.Open_eVision.EC24Vector c24Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   IntPtr graphicContext,
   Euresys.Open_eVision.EC24Vector c24Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 colorUndefinedPixel
)

void Draw(
   IntPtr graphicContext,
   Euresys.Open_eVision.EBW8Vector bw8Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   IntPtr graphicContext,
   Euresys.Open_eVision.EBW8Vector bw8Vector,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 colorUndefinedPixel
)

Parameters

graphicContext

Handle to the device context of the destination window.

zoomX

Magnification factor for zooming in or out in the horizontal direction. By default, the ZMap is displayed in 1:1 scale.

zoomY

Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

colorUndefinedPixel

An optional parameter to choose the drawing color of undefined pixels.

c24Vector

When supplied, this parameter allows using a LUT that maps from Depth to C24 when drawing (false colors).

bw8Vector

When supplied, this parameter allows using a LUT that maps from Depth to BW8 when drawing.

Remarks

A ZMap can be drawn (its pixels rendered) using a device context. EZMap8::Draw and EZMap8::DrawImage produce the same output.
The horizontal and vertical zooming factors can be different but must be in the 1/16..16 range.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.) Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.