E3DViewer::SetRenderSource
Changes the content of a render source with a new point cloud, mesh or ZMap.
Namespace: Euresys::Open_eVision::Easy3D
[C++]
void SetRenderSource(
const std::string& name,
const EPointCloud& source
)
void SetRenderSource(
const std::string& name,
const EMesh& source
)
void SetRenderSource(
const std::string& name,
const EZMap* source
)
void SetRenderSource(
const std::string& name,
const E3DSphere& sphere,
EC24 color,
OEV_UINT8 opacity
)
void SetRenderSource(
const std::string& name,
const E3DBox& box,
EC24 color,
OEV_UINT8 opacity
)
void SetRenderSource(
const std::string& name,
const E3DLine& line,
EC24 color
)
void SetRenderSource(
const std::string& name,
const E3DPlane& plane,
EC24 color,
OEV_UINT8 opacity
)
Parameters
name
The name of the render source to be changed.
source
An EPointCloud, an EMesh or an EZMap to replace the existing render source.
sphere
An E3DSphere to replace the existing render source.
color
The color of the E3DSphere, E3DBox, E3DLine or E3DPlane.
opacity
The opacity of the E3DSphere, E3DBox or E3DPlane.
box
An E3DBox to replace the existing render source.
line
An E3DLine to replace the existing render source.
plane
An E3DPlane to replace the existing render source.
E3DViewer.SetRenderSource
Changes the content of a render source with a new point cloud, mesh or ZMap.
Namespace: Euresys.Open_eVision.Easy3D
[C#]
void SetRenderSource(
string name,
Euresys.Open_eVision.Easy3D.EPointCloud source
)
void SetRenderSource(
string name,
Euresys.Open_eVision.Easy3D.EMesh source
)
void SetRenderSource(
string name,
Euresys.Open_eVision.Easy3D.EZMap source
)
void SetRenderSource(
string name,
Euresys.Open_eVision.Easy3D.E3DSphere sphere,
Euresys.Open_eVision.EC24 color,
byte opacity
)
void SetRenderSource(
string name,
Euresys.Open_eVision.Easy3D.E3DBox box,
Euresys.Open_eVision.EC24 color,
byte opacity
)
void SetRenderSource(
string name,
Euresys.Open_eVision.Easy3D.E3DLine line,
Euresys.Open_eVision.EC24 color
)
void SetRenderSource(
string name,
Euresys.Open_eVision.Easy3D.E3DPlane plane,
Euresys.Open_eVision.EC24 color,
byte opacity
)
Parameters
name
The name of the render source to be changed.
source
An EPointCloud, an EMesh or an EZMap to replace the existing render source.
sphere
An E3DSphere to replace the existing render source.
color
The color of the E3DSphere, E3DBox, E3DLine or E3DPlane.
opacity
The opacity of the E3DSphere, E3DBox or E3DPlane.
box
An E3DBox to replace the existing render source.
line
An E3DLine to replace the existing render source.
plane
An E3DPlane to replace the existing render source.