VisionWorks Toolkit Reference

December 18, 2015 | 1.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Render3D

Detailed Description

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.

Data Structures

struct  nvxio::Render3D::PlaneStyle
 Holds the plane style. More...
 
struct  nvxio::Render3D::PointCloudStyle
 Holds the point cloud style. More...
 
class  nvxio::Render3D
 Render3D interface. More...
 

Functions

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. More...
 

Data Structure Documentation

struct nvxio::Render3D::PlaneStyle
Data Fields
vx_float32 minDistance Holds the minimal distance that a plane can have.

It corresponds to the red color.

vx_float32 maxDistance Holds the maximal distance that a plane can have.

It corresponds to the green color.

struct nvxio::Render3D::PointCloudStyle
Data Fields
vx_float32 minDistance Holds the minimal distance that a point can have.

It corresponds to the red color.

vx_float32 maxDistance Holds the maximal distance that a point can have.

It corresponds to the green color.

Function Documentation

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]contextSpecifies the context.
[in]xPosSpecifies the x-coordinate of the top-left corner of the Render3D window.
[in]yPosSpecifies the y-coordinate of the top-left corner of the Render3D window.
[in]titleA reference to the title of the window.
[in]widthSpecifies the width of the window.
[in]heightSpecifies the height of the window.
See also
NVXIO APIs