This class is intended to display primitives in the 3D space.
Render3D implementation allows displaying images, using primitives (point clouds, planes), and handling keyboard/mouse events.
| struct nvxio::Render3D::PlaneStyle |
| Data Fields |
|
vx_float32 |
maxDistance |
Holds the maximal distance that a plane can have. It corresponds to the green color.
|
|
vx_float32 |
minDistance |
Holds the minimal distance that a plane can have. It corresponds to the red color.
|
| struct nvxio::Render3D::PointCloudStyle |
| Data Fields |
|
vx_float32 |
maxDistance |
Holds the maximal distance that a point can have. It corresponds to the green color.
|
|
vx_float32 |
minDistance |
Holds the minimal distance that a point can have. It corresponds to the red color.
|
| NVXIO_EXPORT std::unique_ptr<Render3D> nvxio::createDefaultRender3D |
( |
vx_context |
context, |
|
|
int |
xPos, |
|
|
int |
yPos, |
|
|
const std::string & |
title, |
|
|
vx_uint32 |
width, |
|
|
vx_uint32 |
height |
|
) |
| |
Creates Render3D.
- Parameters
-
| [in] | context | Specifies the context. |
| [in] | xPos | Specifies the x-coordinate of the top-left corner of the Render3D window. |
| [in] | yPos | Specifies the y-coordinate of the top-left corner of the Render3D window. |
| [in] | title | A reference to the title of the window. |
| [in] | width | Specifies the width of the window. |
| [in] | height | Specifies the height of the window. |
- See also
- NVXIO APIs