EZMap32f::DrawImage
Displays the internal image buffer
Namespace: Euresys::Open_eVision::Easy3D
[C++]
void DrawImage(
EDrawAdapter
* graphicContext,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
) const
void DrawImage(
EDrawAdapter
* graphicContext,
EC24Vector
* c24Vector,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
) const
void DrawImage(
EDrawAdapter
* graphicContext,
EBW8Vector
* bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
) const
[[deprecated]]
void DrawImage(
HDC graphicContext,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
) const
[[deprecated]]
void DrawImage(
HDC graphicContext,
EC24Vector
* c24Vector,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
) const
[[deprecated]]
void DrawImage(
HDC graphicContext,
EBW8Vector
* bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
) const
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 image 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
An image can be drawn (its pixels rendered) using a device context. EZMap32f::Draw
and EZMap32f::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.)
EZMap32f.DrawImage
Displays the internal image buffer
Namespace: Euresys.Open_eVision.Easy3D
[C#]
void DrawImage(
EDrawAdapter
graphicContext,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
)
void DrawImage(
EDrawAdapter
graphicContext,
EC24Vector
c24Vector,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
)
void DrawImage(
EDrawAdapter
graphicContext,
EBW8Vector
bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
)
[Obsolete]
void DrawImage(
IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
)
[Obsolete]
void DrawImage(
IntPtr graphicContext,
EC24Vector
c24Vector,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
)
[Obsolete]
void DrawImage(
IntPtr graphicContext,
EBW8Vector
bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
)
[Obsolete]
void DrawImage(
System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
)
[Obsolete]
void DrawImage(
System.Drawing.Graphics graphicContext,
EC24Vector
c24Vector,
float zoomX,
float zoomY,
float panX,
float panY,
EC24
colorUndefinedPixel
)
[Obsolete]
void DrawImage(
System.Drawing.Graphics 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 image 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
An image can be drawn (its pixels rendered) using a device context. EZMap32f.Draw
and EZMap32f.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.)
EZMap32f.DrawImage
Displays the internal image buffer
Module: open_evision.Easy3D
[Python]
DrawImage(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
panX: float
panY: float
colorUndefinedPixel: EC24
) -> None
DrawImage(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
panX: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
zoomX: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
) -> None
DrawImage(
graphicContext: EDrawAdapter
c24Vector: EC24Vector
zoomX: float
zoomY: float
panX: float
panY: float
colorUndefinedPixel: EC24
) -> None
DrawImage(
graphicContext: EDrawAdapter
c24Vector: EC24Vector
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
c24Vector: EC24Vector
zoomX: float
zoomY: float
panX: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
c24Vector: EC24Vector
zoomX: float
zoomY: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
c24Vector: EC24Vector
zoomX: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
c24Vector: EC24Vector
) -> None
DrawImage(
graphicContext: EDrawAdapter
bw8Vector: EBW8Vector
zoomX: float
zoomY: float
panX: float
panY: float
colorUndefinedPixel: EC24
) -> None
DrawImage(
graphicContext: EDrawAdapter
bw8Vector: EBW8Vector
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
bw8Vector: EBW8Vector
zoomX: float
zoomY: float
panX: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
bw8Vector: EBW8Vector
zoomX: float
zoomY: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
bw8Vector: EBW8Vector
zoomX: float
) -> None
DrawImage(
graphicContext: EDrawAdapter
bw8Vector: EBW8Vector
) -> None
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 image 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
An image can be drawn (its pixels rendered) using a device context. EZMap32f.Draw
and EZMap32f.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.)