E3DObjectExtractor::Draw
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
Namespace: Euresys::Open_eVision::Easy3D
[C++]
void Draw(
EDrawAdapter* graphicContext,
Euresys::Open_eVision::Easy3D::E3DObjectFeature feature,
const ERGBColor& color,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
HDC graphicContext,
Euresys::Open_eVision::Easy3D::E3DObjectFeature feature,
const ERGBColor& color,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Graphic context on which to draw.
feature
The feature to draw.
color
The color in which to draw the feature (optional).
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to
panX
Horizontal panning value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
Remarks
Drawing is done in the device context associated to the desired window. 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.
E3DObjectExtractor.Draw
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
Namespace: Euresys.Open_eVision.Easy3D
[C#]
void Draw(
Euresys.Open_eVision.EDrawAdapter graphicContext,
Euresys.Open_eVision.Easy3D.E3DObjectFeature feature,
Euresys.Open_eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
IntPtr graphicContext,
Euresys.Open_eVision.Easy3D.E3DObjectFeature feature,
Euresys.Open_eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Graphic context on which to draw.
feature
The feature to draw.
color
The color in which to draw the feature (optional).
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to
panX
Horizontal panning value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
Remarks
Drawing is done in the device context associated to the desired window. 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.