eVision .NET API
Loading...
Searching...
No Matches
eVision.Easy3D.E3DViewer Class Reference

Manages a viewer window for EPointCloud. More...

Inheritance diagram for eVision.Easy3D.E3DViewer:
Collaboration diagram for eVision.Easy3D.E3DViewer:

Public Member Functions

 E3DViewer (int orgX, int orgY, int width, int height, IntPtr parent)
 Creates an E3DViewer object.
 E3DViewer (int orgX, int orgY, int width, int height)
 Creates an E3DViewer object.
 E3DViewer (eVision.Easy3D.EUIAPI uiApi, int orgX, int orgY, int width, int height, IntPtr parent)
 Creates an E3DViewer object.
 E3DViewer (eVision.Easy3D.EUIAPI uiApi, int orgX, int orgY, int width, int height)
 Creates an E3DViewer object.
 E3DViewer (eVision.Easy3D.EUIAPI uiApi)
 Creates an E3DViewer object.
 E3DViewer ()
 Creates an E3DViewer object.
void InitRendering ()
 Initializes the rendering state, must be called one time before the first E3DViewer.Show.
bool IsInitialized ()
 Indicates if 3DViewer has already been initialized.
void Terminate ()
 Closes and frees allocated resources. Must be called when the object should be destroyed.
void AddRenderSource (string name, eVision.Easy3D.EPointCloud source)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.EMesh source)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.EZMap source)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DSphere sphere, eVision.EC24 color, byte opacity)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DSphere sphere, eVision.EC24 color)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DSphere sphere)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DBox box, eVision.EC24 color, byte opacity)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DBox box, eVision.EC24 color)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DBox box)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DLine line, eVision.EC24 color)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DLine line)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DPlane plane, eVision.EC24 color, byte opacity)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DPlane plane, eVision.EC24 color)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void AddRenderSource (string name, eVision.Easy3D.E3DPlane plane)
 Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.
void SetRenderSource (string name, eVision.Easy3D.EPointCloud source)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.EMesh source)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.EZMap source)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DSphere sphere, eVision.EC24 color, byte opacity)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DSphere sphere, eVision.EC24 color)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DSphere sphere)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DBox box, eVision.EC24 color, byte opacity)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DBox box, eVision.EC24 color)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DBox box)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DLine line, eVision.EC24 color)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DLine line)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DPlane plane, eVision.EC24 color, byte opacity)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DPlane plane, eVision.EC24 color)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void SetRenderSource (string name, eVision.Easy3D.E3DPlane plane)
 Changes the content of a render source with a new point cloud, mesh or ZMap.
void RemoveRenderSource (string name)
 Removes the given render source.
void RemoveAllRenderSources ()
 Removes all render sources. The E3DViewer display will be empty.
bool HasRenderSource (string name)
 Is the given render source name exists ?
string GetRenderSourceName (int index)
 Returns the name of the ith render source.
void HideRenderSource (string name)
 Hides the given render source.
void ShowRenderSource (string name)
 Shows the given render source.
bool IsRenderSourceVisible (string name)
 Returns true if the render source is currently visible.
bool IsShapeRenderSource (string name)
 Returns true if the render source is a shape.
void SetRenderSourceColorMode (string name, eVision.Easy3D.ESourceColorMode colorMode)
 Sets the Source Color Mode. The Source Color Mode defines how the colors of the point cloud or mesh are chosen. See ESourceColorMode.
eVision.Easy3D.ESourceColorMode GetRenderSourceColorMode (string name)
 Gets the Source Color Mode. The Source Color Mode defines how the colors of the point cloud or mesh are chosen. See ESourceColorMode.
void SetRenderSourceConstantColor (string name, eVision.EC24 color)
 Sets the constant color used to display a point cloud or a mesh, when ESourceColorMode is set to ESourceColorMode.ESourceColorMode_Constant.
eVision.EC24 GetRenderSourceConstantColor (string name)
 Gets the constant color used to display a point cloud or a mesh, when ESourceColorMode is set to ESourceColorMode.ESourceColorMode_Constant.
void SetRenderSourceOpacity (string name, byte opacity)
 Sets the opacity used to display the render source. Only compatible with ESourceColorMode.ESourceColorMode_Constant.
byte GetRenderSourceOpacity (string name)
 Gets the opacity used to display the render source. Only compatible with ESourceColorMode.ESourceColorMode_Constant.
void SetRenderSourcePointSize (string name, int size)
 Sets the point size used to display the point clouds.
int GetRenderSourcePointSize (string name)
 Gets the point size used to display the point clouds.
void SetRenderSourceWireFrame (string name, bool state)
 Sets the wireframe mode used to render a mesh.
bool GetRenderSourceWireFrame (string name)
 Gets the wireframe mode used to render a mesh.
void SetRenderSourceWireFrameColor (string name, eVision.EC24 color)
 Sets the wireframe color.
eVision.EC24 GetRenderSourceWireFrameColor (string name)
 Gets the wireframe color.
void ConfigureRenderSource (eVision.Easy3D.EZMap sourceObject, bool keepCurrentView)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EZMap sourceObject)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EPointCloud sourceObject, bool keepCurrentView)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EPointCloud sourceObject)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EMesh sourceObject, bool keepCurrentView)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EMesh sourceObject)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EZMap8 sourceObject, bool keepCurrentView)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EZMap8 sourceObject)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EZMap16 sourceObject, bool keepCurrentView)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EZMap16 sourceObject)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EZMap32f sourceObject, bool keepCurrentView)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ConfigureRenderSource (eVision.Easy3D.EZMap32f sourceObject)
 Sets a unique 3D source to be rendered. It replaces the current object.
void ClearRenderSource ()
 Clears the 3D data, nothing will be displayed.
void GenerateColors (eVision.Easy3D.EColorRampMode mode)
 Choose the current color ramp mode. Colors are calculated from point coordinates or attributes, several mappings are exposed in EColorRampMode.
void ShowColorRampLegend ()
 Enables the display of a color ramp legend.
void HideColorRampLegend ()
 Disables the display of a color ramp legend.
bool IsColorRampLegendVisible ()
 Whether the color ramp legend is visible or not.
void SetColorRampLocation (eVision.EPoint botLeft, eVision.EPoint topRight)
 Sets the location of the color ramp.
void SetColorRampLocation (float xmin, float xmax, float ymin, float ymax)
 Sets the location of the color ramp.
void GetColorRampLocation (ref eVision.EPoint botLeft, ref eVision.EPoint topRight)
 Gets the location of the color ramp.
void GetColorRampLocation (out float xmin, out float xmax, out float ymin, out float ymax)
 Gets the location of the color ramp.
void DisableFixColorRampBounds ()
 Disables the fix color ramp bounds.
void SetFixColorRampBounds (float min, float max)
 Sets the bounds of the color ramp.
void GetFixColorRampBounds (out float min, out float max)
 Gets the bounds of the color ramp.
void LockRotationInitialPosition (int x, int y)
 Starts a rotation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is pressed.
void UpdateRotationPosition (int x, int y)
 Updates a rotation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when the mouse moves.
void LockRotationFinalPosition (int x, int y)
 Finalizes a rotation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is released.
void LockTranslationInitialPosition (int x, int y)
 Starts a translation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is pressed.
void UpdateTranslationPosition (int x, int y)
 Updates a translation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is pressed.
void LockTranslationFinalPosition (int x, int y)
 Finalizes a rotation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is released.
void UpdateViewDistance (float delta)
 Applies a delta factor to the view distance. Usually this control is mapped on the mouse wheel.
void ResetView (eVision.Easy3D.EViewDirection viewDirection)
 Resets the view point to a view that frame the object.
void ResetView ()
 Resets the view point to a view that frame the object.
void SetViewTarget (float targetX, float targetY, float targetZ)
 Sets view target position (by default, the camera position is 'look at center of the point cloud').
void GetViewTarget (out float targetX, out float targetY, out float targetZ)
 Gets view target position (by default, the camera position is 'look at center of the point cloud').
void SetViewAngle (float angleX, float angleY)
 Sets view angles.
void SetViewAngle (float angleX, float angleY, float angleZ)
 Sets view angles.
void GetViewAngle (out float angleX, out float angleY, out float angleZ)
 Gets view angles.
void SetRotationMatrix (eVision.Easy3D.E3DTransformMatrix matrix)
 Sets the view rotation matrix.
void GetRotationMatrix (eVision.Easy3D.E3DTransformMatrix matrix)
 Gets the view rotation matrix.
void SetPosition (int orgX, int orgY, int width, int height, IntPtr hWndInsertAfter)
 Sets the position of the 3D viewer window.
void SetPosition (int orgX, int orgY, int width, int height)
 Sets the position of the 3D viewer window.
void Resize (int width, int height)
 Update the size of the 3D viewer window.
void IncPointSize ()
 Increases the displayed point size.
void DecPointSize ()
 Decreases the displayed point size.
void ToggleWireframeMode ()
 Toggles the display of wireframe triangles.
void ToggleRenderAxis ()
 Toggles the display of the axis.
void SetAutoRotate (float vx, float vy, float vz)
 Enables and configures the auto rotate display.
void GetAutoRotate (out float vx, out float vy, out float vz)
 Gets the auto rotate speeds.
void StopAutoRotate ()
 Stops the display automatic rotation.
bool IsAutoRotate ()
 Returns true if the auto rotation is active.
int AddTextLabel (eVision.Easy3D.TextLabel label)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, string text, bool showAnchor, eVision.EC24A backgroundcolor, eVision.Easy3D.ETextLabelAlignment alignment)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, string text, bool showAnchor, eVision.EC24A backgroundcolor)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, string text, bool showAnchor)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, string text)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text, bool fixLabelPosition, bool showAnchor, eVision.EC24A backgroundcolor, eVision.Easy3D.ETextLabelAlignment alignment)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text, bool fixLabelPosition, bool showAnchor, eVision.EC24A backgroundcolor)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text, bool fixLabelPosition, bool showAnchor)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text, bool fixLabelPosition)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (float posX, float posY, eVision.EC24 color, float size, string text, eVision.EC24A backgroundcolor, eVision.Easy3D.ETextLabelAlignment alignment)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (float posX, float posY, eVision.EC24 color, float size, string text, eVision.EC24A backgroundcolor)
 Adds a text label linked to an E3DPoint.
int AddTextLabel (float posX, float posY, eVision.EC24 color, float size, string text)
 Adds a text label linked to an E3DPoint.
void EditTextLabel (int id, eVision.Easy3D.TextLabel label)
 Edits a text label.
void EditTextLabel (int id, float posX, float posY, eVision.EC24 color, float size, string text, bool showAnchor, eVision.EC24 backgroundcolor, eVision.Easy3D.ETextLabelAlignment alignment)
 Edits a text label.
void EditTextLabel (int id, float posX, float posY, eVision.EC24 color, float size, string text, bool showAnchor, eVision.EC24 backgroundcolor)
 Edits a text label.
void EditTextLabel (int id, float posX, float posY, eVision.EC24 color, float size, string text, bool showAnchor)
 Edits a text label.
void EditTextLabel (int id, float posX, float posY, eVision.EC24 color, float size, string text)
 Edits a text label.
void EditTextLabel (int id, eVision.EC24 color, float size, string text, bool fixLabelPosition, bool showAnchor, eVision.EC24 backgroundcolor, eVision.Easy3D.ETextLabelAlignment alignment)
 Edits a text label.
void EditTextLabel (int id, eVision.EC24 color, float size, string text, bool fixLabelPosition, bool showAnchor, eVision.EC24 backgroundcolor)
 Edits a text label.
void EditTextLabel (int id, eVision.EC24 color, float size, string text, bool fixLabelPosition, bool showAnchor)
 Edits a text label.
void EditTextLabel (int id, eVision.EC24 color, float size, string text, bool fixLabelPosition)
 Edits a text label.
void EditTextLabel (int id, eVision.EC24 color, float size, string text)
 Edits a text label.
eVision.Easy3D.TextLabel GetTextLabel (int id)
 Gets the text label information.
void GetTextLabel (int id, out eVision.Easy3D.E3DPoint anchor, out float posX, out float posY, out eVision.EC24 color, out float size, out string text, out bool fixLabelPosition, out bool showAnchor, ref eVision.EC24A backgroundcolor)
 Gets the text label information.
void GetTextLabel (int id, out eVision.Easy3D.E3DPoint anchor, out float posX, out float posY, out eVision.EC24 color, out float size, out string text, out bool fixLabelPosition, out bool showAnchor)
 Gets the text label information.
void RemoveTextLabel (int id)
 Removes a text label.
void ClearTextLabels ()
 Removes all text labels.
void Show ()
 Shows the viewer window, refresh the display.
void SetFocus ()
 The viewer window takes the focus.
bool IsEDLShadingSupported ()
 Indicates whether Eye-Dome-Lighting shading mode is supported.
void Register3DObjects (eVision.Easy3D.E3DObject[] objects)
 Sets the list of E3DObject from which their features can be rendered.
void Add3DObjects (eVision.Easy3D.E3DObject[] objects)
 Add the given E3DObject to the list of rendered E3DObject.
bool Has3DObjects ()
 Return true if at least one 3D object is registered.
void RemoveCurrent3DObjects ()
 Removes all E3DObject currently registered.
void ShowFeatureForAll3DObjects (eVision.Easy3D.E3DObjectFeature feature)
 Sets the E3DObjectFeature of all the registered E3DObject to be rendered.
void HideFeatureForAll3DObjects (eVision.Easy3D.E3DObjectFeature feature)
 Sets the E3DObjectFeature of all the registered E3DObject to be not rendered.
void ShowFeatureFor3DObject (int idx, eVision.Easy3D.E3DObjectFeature feature)
 Sets the E3DObjectFeature of the registered E3DObject at the specified location idx to be rendered. If the feature wasn't computed in the corresponding E3DObject, this has no effect.
void HideFeatureFor3DObject (int idx, eVision.Easy3D.E3DObjectFeature feature)
 Sets the E3DObjectFeature of the registered E3DObject at the specified location idx to be not rendered. If the feature wasn't computed in the corresponding E3DObject, this has no effect.
bool IsFeatureVisibleFor3DObject (int idx, eVision.Easy3D.E3DObjectFeature feature)
 Whether the E3DObjectFeature of the registered E3DObject si rendered or not. If the feature wasn't computed in the corresponding E3DObject, the visibility of the feature has no effect.
void SetFeatureStyleForAll3DObjects (eVision.Easy3D.ERenderStyle style, eVision.Easy3D.E3DObjectFeature feature)
 Sets how the E3DObjectFeature of all the registered E3DObject should be rendered. If the feature wasn't computed in the corresponding E3DObject, this has no effect.
void SetFeatureStyleFor3DObject (int idx, eVision.Easy3D.ERenderStyle style, eVision.Easy3D.E3DObjectFeature feature)
 Sets how the E3DObjectFeature of the registered E3DObject at the specified location idx should be rendered. If the feature wasn't computed in the corresponding E3DObject, this has no effect.
eVision.Easy3D.ERenderStyle GetFeatureStyleFor3DObject (int idx, eVision.Easy3D.E3DObjectFeature feature)
 Gets how the E3DObjectFeature of the registered E3DObject at the specified location idx should be rendered. If the feature wasn't computed in the corresponding E3DObject, its feature style has no effect.
eVision.Easy3D.E3DPoint Pick3DPoint (int x, int y)
 Returns and displays the picked E3DPoint in the EPointCloud.
void ResetPicking ()
 Resets the last picked point and disable the coordinate display.
void SetPickedPointCallBack (IntPtr pickedPointCallBack, IntPtr context, bool callCallBackWhenPointNotFound)
 Sets a callback function that will be called when a new E3DPoint is picked.
void SetPickedPointCallBack (IntPtr pickedPointCallBack, IntPtr context)
 Sets a callback function that will be called when a new E3DPoint is picked.
void SetPickedPointCallBack (IntPtr pickedPointCallBack)
 Sets a callback function that will be called when a new E3DPoint is picked.

Properties

string FontPath [get, set]
 Configure the TrueType font used to display text on the 3D Viewer.
eVision.ERGBColor BackgroundColor [get, set]
 Sets/Gets the 3D viewer background color.
int NumRenderSources [get]
 Returns the number of render sources.
eVision.Easy3D.EColorRampMode ColorRampMode [get, set]
 Set/Gets the current color ramp mode.
eVision.ERGBColor ColorRampGraduationColor [get, set]
 Sets/Gets the graduation color.
bool EnableSmartColorRamp [get, set]
 Sets/Gets the state of the smart generation of color. If the smart generation of color is active, then the outliers inside the pointcloud will not be taken into account in the color ramp.
bool EnableFixColorRampBounds [get]
 Gets the state of the fix color ramp bounds.
eVision.EFloatRange FixColorRampBounds [get, set]
 Gets/Sets the bounds of the color ramp.
eVision.Easy3D.E3DPoint ViewTarget [get, set]
 Gets/Sets view target position (by default, the camera position is 'look at center of the point cloud').
eVision.Easy3D.E3DPoint ViewAngle [get, set]
 Gets/Sets view angles.
float ViewDistance [get, set]
 Sets/Gets view distance.
int PointSize [get, set]
 Displays size of the points, in pixels.
int RenderDecimationLevel [get, set]
 Sets or Gets the point cloud decimation level used during the rendering.
bool WireframeMode [get, set]
 Enables or disables the display of wireframe triangles.
bool RenderAxis [get, set]
 Enables or disables the display of the axis.
eVision.Easy3D.EAxisOriginMode AxisOrigin [get, set]
 Sets and Gets the axis origin mode.
bool RenderGrid [get, set]
 Enables or disables the display of Grid.
float RenderGridStep [get, set]
 Sets/Gets the same grid step for each axis.
eVision.Easy3D.E3DAxisDisplay RenderAxisConfiguration [get, set]
 Sets/Gets the axis configuration.
eVision.Easy3D.E3DPoint AutoRotate [get, set]
 Retrieves, enables and configures the auto rotate display.
float FieldOfView [get, set]
 Sets/Gets the field of view.
eVision.Easy3D.EProjectionType ProjectionType [get, set]
 Sets/Gets the projection type.
bool EnableEDLShading [get, set]
 Gets/Sets if Eye-Dome-Lighting shading mode is enabled. In this mode, every pixel is shaded by how much closer its neighbor pixels are to the camera.
float EDLShadingFactor [get, set]
 Gets/Sets how strong Eye-Dome-Lighting shading is. In this mode, every pixel is shaded by how much closer its neighbor pixels are to the camera.
int Num3DObjects [get]
 Return the number of 3D objects registered.
bool PickingDisplay [get, set]
 Enables or disables the display of the picked point.
float PickingLabelSize [get, set]
 Sets or gets the size of the picked point label.
eVision.EC24 PickingLabelColor [get, set]
 Sets or gets the color of the picked point label.
bool PickingLabelFixed [get, set]
 Sets or gets the state to fix or not the label.
float PickingDistanceThreshold [get, set]
 Sets or gets the distance threshold for the picking.
eVision.Easy3D.E3DPoint LastPickedPoint [get]
 Returns the last picked E3DPoint if there is one. Otherwise, it throws an EException.

Detailed Description

Manages a viewer window for EPointCloud.

Call to E3DViewer.Terminate is mandatory after usage to ensure all resources used by this class are properly released.

License(s): Easy3D

Constructor & Destructor Documentation

◆ E3DViewer() [1/6]

eVision.Easy3D.E3DViewer.E3DViewer ( int orgX,
int orgY,
int width,
int height,
IntPtr parent )

Creates an E3DViewer object.

Parameters
orgXX coordinate of the top left corner of the viewer window (only if uiApi is EUIAPI_Win32).
orgYY coordinate of the top left corner of the viewer window (only if uiApi is EUIAPI_Win32).
widthWidth of the viewer window (only if uiApi is EUIAPI_Win32).
heightHeight of the viewer window (only if uiApi is EUIAPI_Win32).
parentHandle of the parent window of the viewer. If NULL, the viewer is built as a independent floating window (only if uiApi is EUIAPI_Win32).

The origin point (orgX, orgY) defines the offset of the top left corner of the viewer from the top left corner of its parent window client area. If the window has no parent, it defines the offset from the top left corner of the screen. If the parent window is too small to contain the viewer, the viewer will be cropped accordingly.

When the parent application that use E3DViewer is a Qt application, call the constructor with EUIAPI_Qt.

◆ E3DViewer() [2/6]

eVision.Easy3D.E3DViewer.E3DViewer ( int orgX,
int orgY,
int width,
int height )

Creates an E3DViewer object.

Parameters
orgXX coordinate of the top left corner of the viewer window (only if uiApi is EUIAPI_Win32).
orgYY coordinate of the top left corner of the viewer window (only if uiApi is EUIAPI_Win32).
widthWidth of the viewer window (only if uiApi is EUIAPI_Win32).
heightHeight of the viewer window (only if uiApi is EUIAPI_Win32).

The origin point (orgX, orgY) defines the offset of the top left corner of the viewer from the top left corner of its parent window client area. If the window has no parent, it defines the offset from the top left corner of the screen. If the parent window is too small to contain the viewer, the viewer will be cropped accordingly.

When the parent application that use E3DViewer is a Qt application, call the constructor with EUIAPI_Qt.

◆ E3DViewer() [3/6]

eVision.Easy3D.E3DViewer.E3DViewer ( eVision.Easy3D.EUIAPI uiApi,
int orgX,
int orgY,
int width,
int height,
IntPtr parent )

Creates an E3DViewer object.

Parameters
uiApiThe User Interface API used by the parent application. See EUIAPI.
orgXX coordinate of the top left corner of the viewer window (only if uiApi is EUIAPI_Win32).
orgYY coordinate of the top left corner of the viewer window (only if uiApi is EUIAPI_Win32).
widthWidth of the viewer window (only if uiApi is EUIAPI_Win32).
heightHeight of the viewer window (only if uiApi is EUIAPI_Win32).
parentHandle of the parent window of the viewer. If NULL, the viewer is built as a independent floating window (only if uiApi is EUIAPI_Win32).

The origin point (orgX, orgY) defines the offset of the top left corner of the viewer from the top left corner of its parent window client area. If the window has no parent, it defines the offset from the top left corner of the screen. If the parent window is too small to contain the viewer, the viewer will be cropped accordingly.

When the parent application that use E3DViewer is a Qt application, call the constructor with EUIAPI_Qt.

◆ E3DViewer() [4/6]

eVision.Easy3D.E3DViewer.E3DViewer ( eVision.Easy3D.EUIAPI uiApi,
int orgX,
int orgY,
int width,
int height )

Creates an E3DViewer object.

Parameters
uiApiThe User Interface API used by the parent application. See EUIAPI.
orgXX coordinate of the top left corner of the viewer window (only if uiApi is EUIAPI_Win32).
orgYY coordinate of the top left corner of the viewer window (only if uiApi is EUIAPI_Win32).
widthWidth of the viewer window (only if uiApi is EUIAPI_Win32).
heightHeight of the viewer window (only if uiApi is EUIAPI_Win32).

The origin point (orgX, orgY) defines the offset of the top left corner of the viewer from the top left corner of its parent window client area. If the window has no parent, it defines the offset from the top left corner of the screen. If the parent window is too small to contain the viewer, the viewer will be cropped accordingly.

When the parent application that use E3DViewer is a Qt application, call the constructor with EUIAPI_Qt.

◆ E3DViewer() [5/6]

eVision.Easy3D.E3DViewer.E3DViewer ( eVision.Easy3D.EUIAPI uiApi)

Creates an E3DViewer object.

Parameters
uiApiThe User Interface API used by the parent application. See EUIAPI.

The origin point (orgX, orgY) defines the offset of the top left corner of the viewer from the top left corner of its parent window client area. If the window has no parent, it defines the offset from the top left corner of the screen. If the parent window is too small to contain the viewer, the viewer will be cropped accordingly.

When the parent application that use E3DViewer is a Qt application, call the constructor with EUIAPI_Qt.

◆ E3DViewer() [6/6]

eVision.Easy3D.E3DViewer.E3DViewer ( )

Creates an E3DViewer object.

The origin point (orgX, orgY) defines the offset of the top left corner of the viewer from the top left corner of its parent window client area. If the window has no parent, it defines the offset from the top left corner of the screen. If the parent window is too small to contain the viewer, the viewer will be cropped accordingly.

When the parent application that use E3DViewer is a Qt application, call the constructor with EUIAPI_Qt.

Member Function Documentation

◆ Add3DObjects()

void eVision.Easy3D.E3DViewer.Add3DObjects ( eVision.Easy3D.E3DObject[] objects)

Add the given E3DObject to the list of rendered E3DObject.

Parameters
objectsList of E3DObject

The features that need to be visualize are set with show methods. The registered features have a default style. Previously set styles are ignored. Objects in which E3DObjectFeature.E3DObjectFeature_BoundingBox was not computed are ignored.

◆ AddRenderSource() [1/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DBox box )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
boxAn E3DBox to be added as render source.

◆ AddRenderSource() [2/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DBox box,
eVision.EC24 color )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
boxAn E3DBox to be added as render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.

◆ AddRenderSource() [3/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DBox box,
eVision.EC24 color,
byte opacity )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
boxAn E3DBox to be added as render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.
opacityThe opacity of the E3DSphere, E3DBox or E3DPlane.

◆ AddRenderSource() [4/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DLine line )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
lineAn E3DLine to be added as render source.

◆ AddRenderSource() [5/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DLine line,
eVision.EC24 color )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
lineAn E3DLine to be added as render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.

◆ AddRenderSource() [6/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DPlane plane )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
planeAn E3DPlane to be added as render source.

◆ AddRenderSource() [7/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DPlane plane,
eVision.EC24 color )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
planeAn E3DPlane to be added as render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.

◆ AddRenderSource() [8/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DPlane plane,
eVision.EC24 color,
byte opacity )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
planeAn E3DPlane to be added as render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.
opacityThe opacity of the E3DSphere, E3DBox or E3DPlane.

◆ AddRenderSource() [9/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DSphere sphere )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
sphereAn E3DSphere to be added as render source.

◆ AddRenderSource() [10/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DSphere sphere,
eVision.EC24 color )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
sphereAn E3DSphere to be added as render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.

◆ AddRenderSource() [11/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.E3DSphere sphere,
eVision.EC24 color,
byte opacity )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
sphereAn E3DSphere to be added as render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.
opacityThe opacity of the E3DSphere, E3DBox or E3DPlane.

◆ AddRenderSource() [12/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.EMesh source )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
sourceAn EPointCloud, EMesh or EZMap to be added as render source.

◆ AddRenderSource() [13/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.EPointCloud source )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
sourceAn EPointCloud, EMesh or EZMap to be added as render source.

◆ AddRenderSource() [14/14]

void eVision.Easy3D.E3DViewer.AddRenderSource ( string name,
eVision.Easy3D.EZMap source )

Adds a new Render Source. The given render source (point cloud, mesh, ZMap, sphere, box, plane or line) is added to the current display.

Parameters
nameA name for the render source, to be used to access and configure the render source.
sourceAn EPointCloud, EMesh or EZMap to be added as render source.

◆ AddTextLabel() [1/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text )

Adds a text label linked to an E3DPoint.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [2/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition )

Adds a text label linked to an E3DPoint.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [3/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition,
bool showAnchor )

Adds a text label linked to an E3DPoint.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [4/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition,
bool showAnchor,
eVision.EC24A backgroundcolor )

Adds a text label linked to an E3DPoint.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundcolorIf specified, the background of the label is set to this color (default: black).

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [5/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition,
bool showAnchor,
eVision.EC24A backgroundcolor,
eVision.Easy3D.ETextLabelAlignment alignment )

Adds a text label linked to an E3DPoint.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundcolorIf specified, the background of the label is set to this color (default: black).
alignmentThe ETextLabelAlignment used to align the text.

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [6/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.E3DPoint anchor,
float posX,
float posY,
eVision.EC24 color,
float size,
string text )

Adds a text label linked to an E3DPoint.

Parameters
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [7/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.E3DPoint anchor,
float posX,
float posY,
eVision.EC24 color,
float size,
string text,
bool showAnchor )

Adds a text label linked to an E3DPoint.

Parameters
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [8/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.E3DPoint anchor,
float posX,
float posY,
eVision.EC24 color,
float size,
string text,
bool showAnchor,
eVision.EC24A backgroundcolor )

Adds a text label linked to an E3DPoint.

Parameters
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundcolorIf specified, the background of the label is set to this color (default: black).

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [9/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.E3DPoint anchor,
float posX,
float posY,
eVision.EC24 color,
float size,
string text,
bool showAnchor,
eVision.EC24A backgroundcolor,
eVision.Easy3D.ETextLabelAlignment alignment )

Adds a text label linked to an E3DPoint.

Parameters
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundcolorIf specified, the background of the label is set to this color (default: black).
alignmentThe ETextLabelAlignment used to align the text.

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [10/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( eVision.Easy3D.TextLabel label)

Adds a text label linked to an E3DPoint.

Parameters
labelThe label to add.

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

◆ AddTextLabel() [11/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( float posX,
float posY,
eVision.EC24 color,
float size,
string text )

Adds a text label linked to an E3DPoint.

Parameters
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [12/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( float posX,
float posY,
eVision.EC24 color,
float size,
string text,
eVision.EC24A backgroundcolor )

Adds a text label linked to an E3DPoint.

Parameters
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
backgroundcolorIf specified, the background of the label is set to this color (default: black).

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ AddTextLabel() [13/13]

int eVision.Easy3D.E3DViewer.AddTextLabel ( float posX,
float posY,
eVision.EC24 color,
float size,
string text,
eVision.EC24A backgroundcolor,
eVision.Easy3D.ETextLabelAlignment alignment )

Adds a text label linked to an E3DPoint.

Parameters
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
backgroundcolorIf specified, the background of the label is set to this color (default: black).
alignmentThe ETextLabelAlignment used to align the text.

See also E3DViewer.EditTextLabel. and E3DViewer.GetTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ ClearRenderSource()

void eVision.Easy3D.E3DViewer.ClearRenderSource ( )

Clears the 3D data, nothing will be displayed.

See also E3DViewer.ConfigureRenderSource

◆ ClearTextLabels()

void eVision.Easy3D.E3DViewer.ClearTextLabels ( )

Removes all text labels.

◆ ConfigureRenderSource() [1/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EMesh sourceObject)

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [2/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EMesh sourceObject,
bool keepCurrentView )

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.
keepCurrentViewAn optional boolean, use true to keep the current view or false to reset the view and center the new object.

The default value resets the view.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [3/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EPointCloud sourceObject)

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [4/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EPointCloud sourceObject,
bool keepCurrentView )

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.
keepCurrentViewAn optional boolean, use true to keep the current view or false to reset the view and center the new object.

The default value resets the view.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [5/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EZMap sourceObject)

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [6/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EZMap sourceObject,
bool keepCurrentView )

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.
keepCurrentViewAn optional boolean, use true to keep the current view or false to reset the view and center the new object.

The default value resets the view.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [7/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EZMap16 sourceObject)

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [8/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EZMap16 sourceObject,
bool keepCurrentView )

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.
keepCurrentViewAn optional boolean, use true to keep the current view or false to reset the view and center the new object.

The default value resets the view.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [9/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EZMap32f sourceObject)

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [10/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EZMap32f sourceObject,
bool keepCurrentView )

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.
keepCurrentViewAn optional boolean, use true to keep the current view or false to reset the view and center the new object.

The default value resets the view.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [11/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EZMap8 sourceObject)

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ ConfigureRenderSource() [12/12]

void eVision.Easy3D.E3DViewer.ConfigureRenderSource ( eVision.Easy3D.EZMap8 sourceObject,
bool keepCurrentView )

Sets a unique 3D source to be rendered. It replaces the current object.

Parameters
sourceObjectA 3D source (EPointCloud, EMesh, EZMap) to render.
keepCurrentViewAn optional boolean, use true to keep the current view or false to reset the view and center the new object.

The default value resets the view.

For display performance purposes, the object geometry is copied into the viewer.

Subsequent modifications on the object will thus not be visible until a new call to E3DViewer.ConfigureRenderSource has been made.

The initial viewing position looks at the object center.

◆ DecPointSize()

void eVision.Easy3D.E3DViewer.DecPointSize ( )

Decreases the displayed point size.

◆ DisableFixColorRampBounds()

void eVision.Easy3D.E3DViewer.DisableFixColorRampBounds ( )

Disables the fix color ramp bounds.

See also E3DViewer.FixColorRampBounds

◆ EditTextLabel() [1/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
eVision.Easy3D.TextLabel label )

Edits a text label.

Parameters
idThe id of the text label to edit.
labelThe new value of the label.

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

◆ EditTextLabel() [2/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
eVision.EC24 color,
float size,
string text )

Edits a text label.

Parameters
idThe id of the text label to edit.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ EditTextLabel() [3/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition )

Edits a text label.

Parameters
idThe id of the text label to edit.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ EditTextLabel() [4/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition,
bool showAnchor )

Edits a text label.

Parameters
idThe id of the text label to edit.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ EditTextLabel() [5/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition,
bool showAnchor,
eVision.EC24 backgroundcolor )

Edits a text label.

Parameters
idThe id of the text label to edit.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundcolorIf specified, the background of the label is set to this color (default: black).

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ EditTextLabel() [6/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition,
bool showAnchor,
eVision.EC24 backgroundcolor,
eVision.Easy3D.ETextLabelAlignment alignment )

Edits a text label.

Parameters
idThe id of the text label to edit.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundcolorIf specified, the background of the label is set to this color (default: black).
alignmentThe ETextLabelAlignment used to align the text.

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ EditTextLabel() [7/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
float posX,
float posY,
eVision.EC24 color,
float size,
string text )

Edits a text label.

Parameters
idThe id of the text label to edit.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ EditTextLabel() [8/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
float posX,
float posY,
eVision.EC24 color,
float size,
string text,
bool showAnchor )

Edits a text label.

Parameters
idThe id of the text label to edit.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ EditTextLabel() [9/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
float posX,
float posY,
eVision.EC24 color,
float size,
string text,
bool showAnchor,
eVision.EC24 backgroundcolor )

Edits a text label.

Parameters
idThe id of the text label to edit.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundcolorIf specified, the background of the label is set to this color (default: black).

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ EditTextLabel() [10/10]

void eVision.Easy3D.E3DViewer.EditTextLabel ( int id,
float posX,
float posY,
eVision.EC24 color,
float size,
string text,
bool showAnchor,
eVision.EC24 backgroundcolor,
eVision.Easy3D.ETextLabelAlignment alignment )

Edits a text label.

Parameters
idThe id of the text label to edit.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
showAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundcolorIf specified, the background of the label is set to this color (default: black).
alignmentThe ETextLabelAlignment used to align the text.

See also E3DViewer.AddTextLabel and E3DViewer.GetTextLabel.

If you want to modify only a subset of the fields of a TextLabel, please call E3DViewer.GetTextLabel, modify the TextLabel and then pass it to E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ GenerateColors()

void eVision.Easy3D.E3DViewer.GenerateColors ( eVision.Easy3D.EColorRampMode mode)

Choose the current color ramp mode. Colors are calculated from point coordinates or attributes, several mappings are exposed in EColorRampMode.

Parameters
modeThe color ramp mode from EColorRampMode.
Deprecated

Use E3DViewer.ColorRampMode.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ GetAutoRotate()

void eVision.Easy3D.E3DViewer.GetAutoRotate ( out float vx,
out float vy,
out float vz )

Gets the auto rotate speeds.

Parameters
vxRotation speed around axis X.
vyRotation speed around axis Y.
vzRotation speed around axis Z.
Deprecated

Use E3DViewer.AutoRotate instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ GetColorRampLocation() [1/2]

void eVision.Easy3D.E3DViewer.GetColorRampLocation ( out float xmin,
out float xmax,
out float ymin,
out float ymax )

Gets the location of the color ramp.

Parameters
xminThe left most coordinate of the color ramp.
xmaxThe right most coordinate of the color ramp.
yminThe bottom most coordinate of the color ramp.
ymaxThe top most coordinate of the color ramp.
Deprecated

Use the overload taking EPoint as arguments instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ GetColorRampLocation() [2/2]

void eVision.Easy3D.E3DViewer.GetColorRampLocation ( ref eVision.EPoint botLeft,
ref eVision.EPoint topRight )

Gets the location of the color ramp.

Parameters
botLeftThe left most and bottom most point of the color ramp.
topRightThe right most and top most point of the color ramp.

◆ GetFeatureStyleFor3DObject()

eVision.Easy3D.ERenderStyle eVision.Easy3D.E3DViewer.GetFeatureStyleFor3DObject ( int idx,
eVision.Easy3D.E3DObjectFeature feature )

Gets how the E3DObjectFeature of the registered E3DObject at the specified location idx should be rendered. If the feature wasn't computed in the corresponding E3DObject, its feature style has no effect.

Parameters
idxthe position in the list of registered E3DObject
featurethe feature

◆ GetFixColorRampBounds()

void eVision.Easy3D.E3DViewer.GetFixColorRampBounds ( out float min,
out float max )

Gets the bounds of the color ramp.

Parameters
minWhere the lowest value of the color ramp will be stored.
maxWhere the highest value of the color ramp will be stored.

See also E3DViewer.DisableFixColorRampBounds

Deprecated

Use E3DViewer.FixColorRampBounds instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ GetRenderSourceColorMode()

eVision.Easy3D.ESourceColorMode eVision.Easy3D.E3DViewer.GetRenderSourceColorMode ( string name)

Gets the Source Color Mode. The Source Color Mode defines how the colors of the point cloud or mesh are chosen. See ESourceColorMode.

Parameters
nameThe name of the render source to be considered.

See also E3DViewer.GetRenderSourceConstantColor and E3DViewer.GenerateColors.

◆ GetRenderSourceConstantColor()

eVision.EC24 eVision.Easy3D.E3DViewer.GetRenderSourceConstantColor ( string name)

Gets the constant color used to display a point cloud or a mesh, when ESourceColorMode is set to ESourceColorMode.ESourceColorMode_Constant.

Parameters
nameThe name of the render source to be considered.

See also E3DViewer.GetRenderSourceColorMode.

◆ GetRenderSourceName()

string eVision.Easy3D.E3DViewer.GetRenderSourceName ( int index)

Returns the name of the ith render source.

Parameters
indexThe index of the render source to consider.

The number of render sources is given by E3DViewer.NumRenderSources.

◆ GetRenderSourceOpacity()

byte eVision.Easy3D.E3DViewer.GetRenderSourceOpacity ( string name)

Gets the opacity used to display the render source. Only compatible with ESourceColorMode.ESourceColorMode_Constant.

Parameters
nameThe name of the render source to be considered.

◆ GetRenderSourcePointSize()

int eVision.Easy3D.E3DViewer.GetRenderSourcePointSize ( string name)

Gets the point size used to display the point clouds.

Parameters
nameThe name of the render source to be considered.

◆ GetRenderSourceWireFrame()

bool eVision.Easy3D.E3DViewer.GetRenderSourceWireFrame ( string name)

Gets the wireframe mode used to render a mesh.

Parameters
nameThe name of the render source to be considered.

◆ GetRenderSourceWireFrameColor()

eVision.EC24 eVision.Easy3D.E3DViewer.GetRenderSourceWireFrameColor ( string name)

Gets the wireframe color.

Parameters
nameThe name of the render source to be considered.

◆ GetRotationMatrix()

void eVision.Easy3D.E3DViewer.GetRotationMatrix ( eVision.Easy3D.E3DTransformMatrix matrix)

Gets the view rotation matrix.

Parameters
matrixA matrix representing the view orientation.

◆ GetTextLabel() [1/3]

eVision.Easy3D.TextLabel eVision.Easy3D.E3DViewer.GetTextLabel ( int id)

Gets the text label information.

Parameters
idThe id of the text label.

See also E3DViewer.AddTextLabel and E3DViewer.EditTextLabel.

◆ GetTextLabel() [2/3]

void eVision.Easy3D.E3DViewer.GetTextLabel ( int id,
out eVision.Easy3D.E3DPoint anchor,
out float posX,
out float posY,
out eVision.EC24 color,
out float size,
out string text,
out bool fixLabelPosition,
out bool showAnchor )

Gets the text label information.

Parameters
idThe id of the text label.
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
showAnchorIf set to true, a line is drawn between the anchor and the label.

See also E3DViewer.AddTextLabel and E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ GetTextLabel() [3/3]

void eVision.Easy3D.E3DViewer.GetTextLabel ( int id,
out eVision.Easy3D.E3DPoint anchor,
out float posX,
out float posY,
out eVision.EC24 color,
out float size,
out string text,
out bool fixLabelPosition,
out bool showAnchor,
ref eVision.EC24A backgroundcolor )

Gets the text label information.

Parameters
idThe id of the text label.
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
showAnchorIf set to true, a line is drawn between the anchor and the label.
backgroundcolorThe background color of the label.

See also E3DViewer.AddTextLabel and E3DViewer.EditTextLabel.

Deprecated

Use the overload taking an TextLabel instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ GetViewAngle()

void eVision.Easy3D.E3DViewer.GetViewAngle ( out float angleX,
out float angleY,
out float angleZ )

Gets view angles.

Parameters
angleXRotation around the X axis.
angleYRotation around the Y axis.
angleZRotation around the Z axis.
Deprecated

Use E3DViewer.ViewAngle instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ GetViewTarget()

void eVision.Easy3D.E3DViewer.GetViewTarget ( out float targetX,
out float targetY,
out float targetZ )

Gets view target position (by default, the camera position is 'look at center of the point cloud').

Parameters
targetXX axis target position.
targetYY axis target position.
targetZZ axis target position.
Deprecated

Use E3DViewer.ViewTarget instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ Has3DObjects()

bool eVision.Easy3D.E3DViewer.Has3DObjects ( )

Return true if at least one 3D object is registered.

See also E3DViewer.Register3DObjects.

◆ HasRenderSource()

bool eVision.Easy3D.E3DViewer.HasRenderSource ( string name)

Is the given render source name exists ?

Parameters
nameThe name of the render source to be checked.

◆ HideColorRampLegend()

void eVision.Easy3D.E3DViewer.HideColorRampLegend ( )

Disables the display of a color ramp legend.

See also E3DViewer.ShowColorRampLegend.

◆ HideFeatureFor3DObject()

void eVision.Easy3D.E3DViewer.HideFeatureFor3DObject ( int idx,
eVision.Easy3D.E3DObjectFeature feature )

Sets the E3DObjectFeature of the registered E3DObject at the specified location idx to be not rendered. If the feature wasn't computed in the corresponding E3DObject, this has no effect.

Parameters
idxthe position in the list of registered E3DObject
featurethe feature

◆ HideFeatureForAll3DObjects()

void eVision.Easy3D.E3DViewer.HideFeatureForAll3DObjects ( eVision.Easy3D.E3DObjectFeature feature)

Sets the E3DObjectFeature of all the registered E3DObject to be not rendered.

Parameters
featurethe feature

◆ HideRenderSource()

void eVision.Easy3D.E3DViewer.HideRenderSource ( string name)

Hides the given render source.

Parameters
nameThe name of the render source.

See also E3DViewer.ShowRenderSource.

◆ IncPointSize()

void eVision.Easy3D.E3DViewer.IncPointSize ( )

Increases the displayed point size.

◆ InitRendering()

void eVision.Easy3D.E3DViewer.InitRendering ( )

Initializes the rendering state, must be called one time before the first E3DViewer.Show.

◆ IsAutoRotate()

bool eVision.Easy3D.E3DViewer.IsAutoRotate ( )

Returns true if the auto rotation is active.

◆ IsColorRampLegendVisible()

bool eVision.Easy3D.E3DViewer.IsColorRampLegendVisible ( )

Whether the color ramp legend is visible or not.

See also E3DViewer.ShowColorRampLegend and E3DViewer.HideColorRampLegend.

◆ IsEDLShadingSupported()

bool eVision.Easy3D.E3DViewer.IsEDLShadingSupported ( )

Indicates whether Eye-Dome-Lighting shading mode is supported.

Support of Eye-Dome-Lighting shading is detected when E3DViewer.InitRendering is called. Before, this method will always return false.

◆ IsFeatureVisibleFor3DObject()

bool eVision.Easy3D.E3DViewer.IsFeatureVisibleFor3DObject ( int idx,
eVision.Easy3D.E3DObjectFeature feature )

Whether the E3DObjectFeature of the registered E3DObject si rendered or not. If the feature wasn't computed in the corresponding E3DObject, the visibility of the feature has no effect.

Parameters
idxthe position in the list of registered E3DObject
featurethe feature

◆ IsInitialized()

bool eVision.Easy3D.E3DViewer.IsInitialized ( )

Indicates if 3DViewer has already been initialized.

◆ IsRenderSourceVisible()

bool eVision.Easy3D.E3DViewer.IsRenderSourceVisible ( string name)

Returns true if the render source is currently visible.

Parameters
nameThe name of the render source to be queried.

See also E3DViewer.ShowRenderSource and E3DViewer.HideRenderSource.

◆ IsShapeRenderSource()

bool eVision.Easy3D.E3DViewer.IsShapeRenderSource ( string name)

Returns true if the render source is a shape.

Parameters
nameThe name of the render source to be queried.

◆ LockRotationFinalPosition()

void eVision.Easy3D.E3DViewer.LockRotationFinalPosition ( int x,
int y )

Finalizes a rotation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is released.

Parameters
xX coordinate.
yY coordinate.

See also E3DViewer.LockRotationInitialPosition and E3DViewer.UpdateRotationPosition.

◆ LockRotationInitialPosition()

void eVision.Easy3D.E3DViewer.LockRotationInitialPosition ( int x,
int y )

Starts a rotation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is pressed.

Parameters
xX coordinate.
yY coordinate.

See also E3DViewer.UpdateRotationPosition and E3DViewer.LockRotationFinalPosition.

◆ LockTranslationFinalPosition()

void eVision.Easy3D.E3DViewer.LockTranslationFinalPosition ( int x,
int y )

Finalizes a rotation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is released.

Parameters
xX coordinate.
yY coordinate.

See also E3DViewer.LockTranslationInitialPosition and E3DViewer.UpdateTranslationPosition.

◆ LockTranslationInitialPosition()

void eVision.Easy3D.E3DViewer.LockTranslationInitialPosition ( int x,
int y )

Starts a translation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is pressed.

Parameters
xX coordinate.
yY coordinate.

See also E3DViewer.UpdateTranslationPosition and E3DViewer.LockTranslationFinalPosition.

◆ Pick3DPoint()

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DViewer.Pick3DPoint ( int x,
int y )

Returns and displays the picked E3DPoint in the EPointCloud.

Parameters
xThe X pixel coordinate in the 3DViewer windows
yThe Y pixel coordinate in the 3DViewer windows

If there is no point close enough to the picking ray, an EException is thrown (see also E3DViewer.PickingDistanceThreshold). If a callback function is configured (see E3DViewer.SetPickedPointCallBack), then no EException is thrown when there is no point found.

◆ Register3DObjects()

void eVision.Easy3D.E3DViewer.Register3DObjects ( eVision.Easy3D.E3DObject[] objects)

Sets the list of E3DObject from which their features can be rendered.

Parameters
objectsList of E3DObject

The features that need to be visualize are set with show methods. The registered features have a default style. Previously set styles are ignored. Removes the currently registered E3DObject. Objects in which E3DObjectFeature.E3DObjectFeature_BoundingBox was not computed are ignored.

◆ RemoveAllRenderSources()

void eVision.Easy3D.E3DViewer.RemoveAllRenderSources ( )

Removes all render sources. The E3DViewer display will be empty.

◆ RemoveCurrent3DObjects()

void eVision.Easy3D.E3DViewer.RemoveCurrent3DObjects ( )

Removes all E3DObject currently registered.

◆ RemoveRenderSource()

void eVision.Easy3D.E3DViewer.RemoveRenderSource ( string name)

Removes the given render source.

Parameters
nameThe name of the render source to be changed.

◆ RemoveTextLabel()

void eVision.Easy3D.E3DViewer.RemoveTextLabel ( int id)

Removes a text label.

Parameters
idThe id of the text label.

See also E3DViewer.AddTextLabel.

◆ ResetPicking()

void eVision.Easy3D.E3DViewer.ResetPicking ( )

Resets the last picked point and disable the coordinate display.

◆ ResetView() [1/2]

void eVision.Easy3D.E3DViewer.ResetView ( )

Resets the view point to a view that frame the object.

The default view direction is from positive Z.

◆ ResetView() [2/2]

void eVision.Easy3D.E3DViewer.ResetView ( eVision.Easy3D.EViewDirection viewDirection)

Resets the view point to a view that frame the object.

Parameters
viewDirectionThe view direction from EViewDirection (optional)

The default view direction is from positive Z.

◆ Resize()

void eVision.Easy3D.E3DViewer.Resize ( int width,
int height )

Update the size of the 3D viewer window.

Parameters
widthWidth of the viewer window.
heightHeight of the viewer window.

◆ SetAutoRotate()

void eVision.Easy3D.E3DViewer.SetAutoRotate ( float vx,
float vy,
float vz )

Enables and configures the auto rotate display.

Parameters
vxRotation speed around axis X.
vyRotation speed around axis Y.
vzRotation speed around axis Z.
Deprecated

Use E3DViewer.AutoRotate instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ SetColorRampLocation() [1/2]

void eVision.Easy3D.E3DViewer.SetColorRampLocation ( eVision.EPoint botLeft,
eVision.EPoint topRight )

Sets the location of the color ramp.

Parameters
botLeftThe left most and bottom most point of the color ramp.
topRightThe right most and top most point of the color ramp.

By default, the color ramp is located at the right of the window. The color ramp is always vertical. The value should be between 0 (left/bottom) and 100 (right/top) and corresponds to the % of the window.

◆ SetColorRampLocation() [2/2]

void eVision.Easy3D.E3DViewer.SetColorRampLocation ( float xmin,
float xmax,
float ymin,
float ymax )

Sets the location of the color ramp.

Parameters
xminThe left most coordinate of the color ramp.
xmaxThe right most coordinate of the color ramp.
yminThe bottom most coordinate of the color ramp.
ymaxThe top most coordinate of the color ramp.

By default, the color ramp is located at the right of the window. The color ramp is always vertical. The value should be between 0 (left/bottom) and 100 (right/top) and corresponds to the % of the window.

Deprecated

Use the overload taking EPoint as arguments instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ SetFeatureStyleFor3DObject()

void eVision.Easy3D.E3DViewer.SetFeatureStyleFor3DObject ( int idx,
eVision.Easy3D.ERenderStyle style,
eVision.Easy3D.E3DObjectFeature feature )

Sets how the E3DObjectFeature of the registered E3DObject at the specified location idx should be rendered. If the feature wasn't computed in the corresponding E3DObject, this has no effect.

Parameters
idxthe index of the E3DObject
stylethe style
featurethe feature

◆ SetFeatureStyleForAll3DObjects()

void eVision.Easy3D.E3DViewer.SetFeatureStyleForAll3DObjects ( eVision.Easy3D.ERenderStyle style,
eVision.Easy3D.E3DObjectFeature feature )

Sets how the E3DObjectFeature of all the registered E3DObject should be rendered. If the feature wasn't computed in the corresponding E3DObject, this has no effect.

Parameters
stylethe style
featurethe feature

◆ SetFixColorRampBounds()

void eVision.Easy3D.E3DViewer.SetFixColorRampBounds ( float min,
float max )

Sets the bounds of the color ramp.

Parameters
minThe lowest value of the color ramp.
maxThe highest value of the color ramp.

This function also sets to false E3DViewer.EnableSmartColorRamp. See also E3DViewer.DisableFixColorRampBounds

Deprecated

Use E3DViewer.FixColorRampBounds instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ SetFocus()

void eVision.Easy3D.E3DViewer.SetFocus ( )

The viewer window takes the focus.

◆ SetPickedPointCallBack() [1/3]

void eVision.Easy3D.E3DViewer.SetPickedPointCallBack ( IntPtr pickedPointCallBack)

Sets a callback function that will be called when a new E3DPoint is picked.

Parameters
pickedPointCallBackA pointer to a function that will be called when a new E3DPoint is picked.

The function pointer should be of type: delegate void CallBackDelegate(IntPtr context, bool pickedPointFound, float pX, float pY, float pZ, int x, int y).

To obtain an IntPtr of the function, use: using System.Runtime.InteropServices;, delegate void CallBackDelegate(IntPtr context, bool pointFound, float pX, float pY, float pZ, int x, int y); void MyCallBackFunction(IntPtr context, bool pointFound, float pX, float pY, float pZ, int x, int y) {...} Marshal.GetFunctionPointerForDelegate(new CallBackDelegate(MyCallBackFunction)).

Where context is the context parameter that was given in argument, pickedPointFound is set to false if a there were no point close enough to the picking ray (true otherwise), pX, pY, pZ are the coordinates of the point that was picked, x and y are the position of the mouse in the window.

◆ SetPickedPointCallBack() [2/3]

void eVision.Easy3D.E3DViewer.SetPickedPointCallBack ( IntPtr pickedPointCallBack,
IntPtr context )

Sets a callback function that will be called when a new E3DPoint is picked.

Parameters
pickedPointCallBackA pointer to a function that will be called when a new E3DPoint is picked.
contextSome context information that will be given in argument to the callback pickedPointCallBack function.

The function pointer should be of type: delegate void CallBackDelegate(IntPtr context, bool pickedPointFound, float pX, float pY, float pZ, int x, int y).

To obtain an IntPtr of the function, use: using System.Runtime.InteropServices;, delegate void CallBackDelegate(IntPtr context, bool pointFound, float pX, float pY, float pZ, int x, int y); void MyCallBackFunction(IntPtr context, bool pointFound, float pX, float pY, float pZ, int x, int y) {...} Marshal.GetFunctionPointerForDelegate(new CallBackDelegate(MyCallBackFunction)).

Where context is the context parameter that was given in argument, pickedPointFound is set to false if a there were no point close enough to the picking ray (true otherwise), pX, pY, pZ are the coordinates of the point that was picked, x and y are the position of the mouse in the window.

◆ SetPickedPointCallBack() [3/3]

void eVision.Easy3D.E3DViewer.SetPickedPointCallBack ( IntPtr pickedPointCallBack,
IntPtr context,
bool callCallBackWhenPointNotFound )

Sets a callback function that will be called when a new E3DPoint is picked.

Parameters
pickedPointCallBackA pointer to a function that will be called when a new E3DPoint is picked.
contextSome context information that will be given in argument to the callback pickedPointCallBack function.
callCallBackWhenPointNotFoundSet to true to call the callback function even if there is not point picked. Default: false.

The function pointer should be of type: delegate void CallBackDelegate(IntPtr context, bool pickedPointFound, float pX, float pY, float pZ, int x, int y).

To obtain an IntPtr of the function, use: using System.Runtime.InteropServices;, delegate void CallBackDelegate(IntPtr context, bool pointFound, float pX, float pY, float pZ, int x, int y); void MyCallBackFunction(IntPtr context, bool pointFound, float pX, float pY, float pZ, int x, int y) {...} Marshal.GetFunctionPointerForDelegate(new CallBackDelegate(MyCallBackFunction)).

Where context is the context parameter that was given in argument, pickedPointFound is set to false if a there were no point close enough to the picking ray (true otherwise), pX, pY, pZ are the coordinates of the point that was picked, x and y are the position of the mouse in the window.

◆ SetPosition() [1/2]

void eVision.Easy3D.E3DViewer.SetPosition ( int orgX,
int orgY,
int width,
int height )

Sets the position of the 3D viewer window.

Parameters
orgXX coordinate of the top left corner of the viewer window.
orgYY coordinate of the top left corner of the viewer window.
widthWidth of the viewer window.
heightHeight of the viewer window.

◆ SetPosition() [2/2]

void eVision.Easy3D.E3DViewer.SetPosition ( int orgX,
int orgY,
int width,
int height,
IntPtr hWndInsertAfter )

Sets the position of the 3D viewer window.

Parameters
orgXX coordinate of the top left corner of the viewer window.
orgYY coordinate of the top left corner of the viewer window.
widthWidth of the viewer window.
heightHeight of the viewer window.
hWndInsertAfterA handle to the window to precede the positioned window in the Z order. Only useful with EUIAPI.EUIAPI_Win32. see SetWindowPos

◆ SetRenderSource() [1/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DBox box )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
boxAn E3DBox to replace the existing render source.

◆ SetRenderSource() [2/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DBox box,
eVision.EC24 color )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
boxAn E3DBox to replace the existing render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.

◆ SetRenderSource() [3/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DBox box,
eVision.EC24 color,
byte opacity )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
boxAn E3DBox to replace the existing render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.
opacityThe opacity of the E3DSphere, E3DBox or E3DPlane.

◆ SetRenderSource() [4/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DLine line )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
lineAn E3DLine to replace the existing render source.

◆ SetRenderSource() [5/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DLine line,
eVision.EC24 color )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
lineAn E3DLine to replace the existing render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.

◆ SetRenderSource() [6/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DPlane plane )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
planeAn E3DPlane to replace the existing render source.

◆ SetRenderSource() [7/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DPlane plane,
eVision.EC24 color )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
planeAn E3DPlane to replace the existing render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.

◆ SetRenderSource() [8/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DPlane plane,
eVision.EC24 color,
byte opacity )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
planeAn E3DPlane to replace the existing render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.
opacityThe opacity of the E3DSphere, E3DBox or E3DPlane.

◆ SetRenderSource() [9/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DSphere sphere )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
sphereAn E3DSphere to replace the existing render source.

◆ SetRenderSource() [10/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DSphere sphere,
eVision.EC24 color )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
sphereAn E3DSphere to replace the existing render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.

◆ SetRenderSource() [11/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.E3DSphere sphere,
eVision.EC24 color,
byte opacity )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
sphereAn E3DSphere to replace the existing render source.
colorThe color of the E3DSphere, E3DBox, E3DLine or E3DPlane.
opacityThe opacity of the E3DSphere, E3DBox or E3DPlane.

◆ SetRenderSource() [12/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.EMesh source )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
sourceAn EPointCloud, an EMesh or an EZMap to replace the existing render source.

◆ SetRenderSource() [13/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.EPointCloud source )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
sourceAn EPointCloud, an EMesh or an EZMap to replace the existing render source.

◆ SetRenderSource() [14/14]

void eVision.Easy3D.E3DViewer.SetRenderSource ( string name,
eVision.Easy3D.EZMap source )

Changes the content of a render source with a new point cloud, mesh or ZMap.

Parameters
nameThe name of the render source to be changed.
sourceAn EPointCloud, an EMesh or an EZMap to replace the existing render source.

◆ SetRenderSourceColorMode()

void eVision.Easy3D.E3DViewer.SetRenderSourceColorMode ( string name,
eVision.Easy3D.ESourceColorMode colorMode )

Sets the Source Color Mode. The Source Color Mode defines how the colors of the point cloud or mesh are chosen. See ESourceColorMode.

Parameters
nameThe name of the render source to be considered.
colorModeThe source color mode.

See also E3DViewer.SetRenderSourceConstantColor and E3DViewer.GenerateColors.

◆ SetRenderSourceConstantColor()

void eVision.Easy3D.E3DViewer.SetRenderSourceConstantColor ( string name,
eVision.EC24 color )

Sets the constant color used to display a point cloud or a mesh, when ESourceColorMode is set to ESourceColorMode.ESourceColorMode_Constant.

Parameters
nameThe name of the render source to be considered.
colorThe color.

See also E3DViewer.SetRenderSourceColorMode.

◆ SetRenderSourceOpacity()

void eVision.Easy3D.E3DViewer.SetRenderSourceOpacity ( string name,
byte opacity )

Sets the opacity used to display the render source. Only compatible with ESourceColorMode.ESourceColorMode_Constant.

Parameters
nameThe name of the render source to be considered.
opacityThe opacity between fully transparent (0) and fully opaque (255).

◆ SetRenderSourcePointSize()

void eVision.Easy3D.E3DViewer.SetRenderSourcePointSize ( string name,
int size )

Sets the point size used to display the point clouds.

Parameters
nameThe name of the render source to be considered.
sizeThe number of pixels used to render a point.

◆ SetRenderSourceWireFrame()

void eVision.Easy3D.E3DViewer.SetRenderSourceWireFrame ( string name,
bool state )

Sets the wireframe mode used to render a mesh.

Parameters
nameThe name of the render source to be considered.
stateEnable or disable the wireframe rendering mode.

◆ SetRenderSourceWireFrameColor()

void eVision.Easy3D.E3DViewer.SetRenderSourceWireFrameColor ( string name,
eVision.EC24 color )

Sets the wireframe color.

Parameters
nameThe name of the render source to be considered.
colorColor of the wireframe.

◆ SetRotationMatrix()

void eVision.Easy3D.E3DViewer.SetRotationMatrix ( eVision.Easy3D.E3DTransformMatrix matrix)

Sets the view rotation matrix.

Parameters
matrixA matrix representing the view orientation.

◆ SetViewAngle() [1/2]

void eVision.Easy3D.E3DViewer.SetViewAngle ( float angleX,
float angleY )

Sets view angles.

Parameters
angleXRotation around the X axis.
angleYRotation around the Y axis.

◆ SetViewAngle() [2/2]

void eVision.Easy3D.E3DViewer.SetViewAngle ( float angleX,
float angleY,
float angleZ )

Sets view angles.

Parameters
angleXRotation around the X axis.
angleYRotation around the Y axis.
angleZRotation around the Z axis. Default: 0
Deprecated

Use E3DViewer.ViewAngle instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ SetViewTarget()

void eVision.Easy3D.E3DViewer.SetViewTarget ( float targetX,
float targetY,
float targetZ )

Sets view target position (by default, the camera position is 'look at center of the point cloud').

Parameters
targetXX axis target position.
targetYY axis target position.
targetZZ axis target position.
Deprecated

Use E3DViewer.ViewTarget instead.

Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ Show()

void eVision.Easy3D.E3DViewer.Show ( )

Shows the viewer window, refresh the display.

◆ ShowColorRampLegend()

void eVision.Easy3D.E3DViewer.ShowColorRampLegend ( )

◆ ShowFeatureFor3DObject()

void eVision.Easy3D.E3DViewer.ShowFeatureFor3DObject ( int idx,
eVision.Easy3D.E3DObjectFeature feature )

Sets the E3DObjectFeature of the registered E3DObject at the specified location idx to be rendered. If the feature wasn't computed in the corresponding E3DObject, this has no effect.

Parameters
idxthe position in the list of registered E3DObject
featurethe feature

◆ ShowFeatureForAll3DObjects()

void eVision.Easy3D.E3DViewer.ShowFeatureForAll3DObjects ( eVision.Easy3D.E3DObjectFeature feature)

Sets the E3DObjectFeature of all the registered E3DObject to be rendered.

Parameters
featurethe feature

◆ ShowRenderSource()

void eVision.Easy3D.E3DViewer.ShowRenderSource ( string name)

Shows the given render source.

Parameters
nameThe name of the render source.

See also E3DViewer.HideRenderSource.

◆ StopAutoRotate()

void eVision.Easy3D.E3DViewer.StopAutoRotate ( )

Stops the display automatic rotation.

◆ Terminate()

void eVision.Easy3D.E3DViewer.Terminate ( )

Closes and frees allocated resources. Must be called when the object should be destroyed.

This method is always called implicitly during the destruction of the object. It is still recommended to call it explicitly in programming languages other than C++ to ensure the underlying resources are correctly released.

◆ ToggleRenderAxis()

void eVision.Easy3D.E3DViewer.ToggleRenderAxis ( )

Toggles the display of the axis.

◆ ToggleWireframeMode()

void eVision.Easy3D.E3DViewer.ToggleWireframeMode ( )

Toggles the display of wireframe triangles.

◆ UpdateRotationPosition()

void eVision.Easy3D.E3DViewer.UpdateRotationPosition ( int x,
int y )

Updates a rotation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when the mouse moves.

Parameters
xX coordinate.
yY coordinate.

See also E3DViewer.LockRotationInitialPosition and E3DViewer.LockRotationFinalPosition.

◆ UpdateTranslationPosition()

void eVision.Easy3D.E3DViewer.UpdateTranslationPosition ( int x,
int y )

Updates a translation transformation of the view point using the (x,y) coordinate. Usually (x,y) is the mouse cursor coordinate when a button is pressed.

Parameters
xX coordinate.
yY coordinate.

See also E3DViewer.LockTranslationInitialPosition and E3DViewer.LockTranslationFinalPosition.

◆ UpdateViewDistance()

void eVision.Easy3D.E3DViewer.UpdateViewDistance ( float delta)

Applies a delta factor to the view distance. Usually this control is mapped on the mouse wheel.

Parameters
deltaThe factor to change the view distance: move the view point closer to the object when delta is lower than 1 and further to the object when delta is larger than 1.

Property Documentation

◆ AutoRotate

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DViewer.AutoRotate
getset

Retrieves, enables and configures the auto rotate display.

◆ AxisOrigin

eVision.Easy3D.EAxisOriginMode eVision.Easy3D.E3DViewer.AxisOrigin
getset

Sets and Gets the axis origin mode.

The default mode is EAxisOriginMode.EAxisOriginMode_BoundingBoxOrigin.

◆ BackgroundColor

eVision.ERGBColor eVision.Easy3D.E3DViewer.BackgroundColor
getset

Sets/Gets the 3D viewer background color.

◆ ColorRampGraduationColor

eVision.ERGBColor eVision.Easy3D.E3DViewer.ColorRampGraduationColor
getset

Sets/Gets the graduation color.

The default color is white.

◆ ColorRampMode

eVision.Easy3D.EColorRampMode eVision.Easy3D.E3DViewer.ColorRampMode
getset

Set/Gets the current color ramp mode.

◆ EDLShadingFactor

float eVision.Easy3D.E3DViewer.EDLShadingFactor
getset

Gets/Sets how strong Eye-Dome-Lighting shading is. In this mode, every pixel is shaded by how much closer its neighbor pixels are to the camera.

Factor value ranges between 0 and 1. 0 means no shading, 1 means the strongest shading.

◆ EnableEDLShading

bool eVision.Easy3D.E3DViewer.EnableEDLShading
getset

Gets/Sets if Eye-Dome-Lighting shading mode is enabled. In this mode, every pixel is shaded by how much closer its neighbor pixels are to the camera.

Enabling Eye-Dome-Lighting shading has no effect when E3DViewer.IsEDLShadingSupported is equal to false.

◆ EnableFixColorRampBounds

bool eVision.Easy3D.E3DViewer.EnableFixColorRampBounds
get

Gets the state of the fix color ramp bounds.

To enable fix color ramp bounds, use E3DViewer.FixColorRampBounds.

◆ EnableSmartColorRamp

bool eVision.Easy3D.E3DViewer.EnableSmartColorRamp
getset

Sets/Gets the state of the smart generation of color. If the smart generation of color is active, then the outliers inside the pointcloud will not be taken into account in the color ramp.

Default: true. When set to true, fix color ramp bounds are disabled (see also E3DViewer.DisableFixColorRampBounds).

◆ FieldOfView

float eVision.Easy3D.E3DViewer.FieldOfView
getset

Sets/Gets the field of view.

If the projection type is EProjectionType_Orthographic, the field of view is not taken into account. See also E3DViewer.ProjectionType. For the angle unit see Easy.AngleUnit.

◆ FixColorRampBounds

eVision.EFloatRange eVision.Easy3D.E3DViewer.FixColorRampBounds
getset

Gets/Sets the bounds of the color ramp.

This function also sets to false E3DViewer.EnableSmartColorRamp. See also E3DViewer.DisableFixColorRampBounds

◆ FontPath

string eVision.Easy3D.E3DViewer.FontPath
getset

Configure the TrueType font used to display text on the 3D Viewer.

Setup a font file must be done before the E3DViewer.InitRendering method is called.

By default, the TTF file is:

  • on Windows: C:\Windows\Fonts\Arial.ttf
  • on Linux: /usr/share/fonts/liberation-sans/LiberationSans-Regular.ttf or
    • /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf" or - /usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"

◆ LastPickedPoint

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DViewer.LastPickedPoint
get

Returns the last picked E3DPoint if there is one. Otherwise, it throws an EException.

◆ Num3DObjects

int eVision.Easy3D.E3DViewer.Num3DObjects
get

Return the number of 3D objects registered.

See also E3DViewer.Register3DObjects.

◆ NumRenderSources

int eVision.Easy3D.E3DViewer.NumRenderSources
get

Returns the number of render sources.

See also E3DViewer.GetRenderSourceName.

◆ PickingDisplay

bool eVision.Easy3D.E3DViewer.PickingDisplay
getset

Enables or disables the display of the picked point.

See also E3DViewer.PickingLabelSize, E3DViewer.PickingLabelFixed and E3DViewer.PickingLabelColor.

◆ PickingDistanceThreshold

float eVision.Easy3D.E3DViewer.PickingDistanceThreshold
getset

Sets or gets the distance threshold for the picking.

See also E3DViewer.Pick3DPoint.

◆ PickingLabelColor

eVision.EC24 eVision.Easy3D.E3DViewer.PickingLabelColor
getset

Sets or gets the color of the picked point label.

See also E3DViewer.PickingDisplay, E3DViewer.PickingLabelFixed and E3DViewer.PickingLabelSize.

◆ PickingLabelFixed

bool eVision.Easy3D.E3DViewer.PickingLabelFixed
getset

Sets or gets the state to fix or not the label.

Default state is false.

See also E3DViewer.PickingDisplay, E3DViewer.PickingLabelSize and E3DViewer.PickingLabelColor.

◆ PickingLabelSize

float eVision.Easy3D.E3DViewer.PickingLabelSize
getset

Sets or gets the size of the picked point label.

Default value for size is 0.05.

See also E3DViewer.PickingDisplay, E3DViewer.PickingLabelFixed and E3DViewer.PickingLabelColor.

◆ PointSize

int eVision.Easy3D.E3DViewer.PointSize
getset

Displays size of the points, in pixels.

The size of the point (range value is 1 to 5 pixels, and 2 by default).

This value is used only to draw an EPointCloud, not for an EMesh.

◆ ProjectionType

eVision.Easy3D.EProjectionType eVision.Easy3D.E3DViewer.ProjectionType
getset

Sets/Gets the projection type.

If the projection type is EProjectionType_Perspective, then the field of view can be set with the method E3DViewer.FieldOfView.

◆ RenderAxis

bool eVision.Easy3D.E3DViewer.RenderAxis
getset

Enables or disables the display of the axis.

The default state is true.

◆ RenderAxisConfiguration

eVision.Easy3D.E3DAxisDisplay eVision.Easy3D.E3DViewer.RenderAxisConfiguration
getset

Sets/Gets the axis configuration.

◆ RenderDecimationLevel

int eVision.Easy3D.E3DViewer.RenderDecimationLevel
getset

Sets or Gets the point cloud decimation level used during the rendering.

The viewer will only render one point every [Decimation Level] points (1 by default, and need to be > 0).

This decimation depends on the order of the points in the EPointCloud.

Irrespectively from this parameter, the viewer decimates the rendered point clouds if it detects lags in its display.

◆ RenderGrid

bool eVision.Easy3D.E3DViewer.RenderGrid
getset

Enables or disables the display of Grid.

Display Grid with true (true by default).

◆ RenderGridStep

float eVision.Easy3D.E3DViewer.RenderGridStep
getset

Sets/Gets the same grid step for each axis.

The unit of the grid step value is the same as the one from the EPointCloud. If value is equal to 0, then the step is auto computed and if the value is smaller than 0, then there is no step on the axis.

Default value is the size of each axis divided by ten.

For the Get function, if the step is not the same for each axis, then the mean is returned.

◆ ViewAngle

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DViewer.ViewAngle
getset

Gets/Sets view angles.

◆ ViewDistance

float eVision.Easy3D.E3DViewer.ViewDistance
getset

Sets/Gets view distance.

Distance between the point of the view and the object.

◆ ViewTarget

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DViewer.ViewTarget
getset

Gets/Sets view target position (by default, the camera position is 'look at center of the point cloud').

◆ WireframeMode

bool eVision.Easy3D.E3DViewer.WireframeMode
getset

Enables or disables the display of wireframe triangles.

Display wireframe triangles with true (false by default).