48 #ifndef DWVISUALIZATION_RENDERENGINE_H_    49 #define DWVISUALIZATION_RENDERENGINE_H_   151 #define DW_RENDER_ENGINE_MAX_PLOTS2D 20   368                                           uint32_t width, uint32_t height);
   435                                 dwRenderEngineHandle_t engine);
   458                                    dwRenderEngineHandle_t engine);
   479                                             uint32_t* secondTileId,
   483                                             dwRenderEngineHandle_t engine);
   505                                         dwRenderEngineHandle_t engine);
   519                                 dwConstRenderEngineHandle_t engine);
   533                                 dwRenderEngineHandle_t engine);
   546                                  dwConstRenderEngineHandle_t engine);
   559                                  dwRenderEngineHandle_t engine);
   575                                      dwConstRenderEngineHandle_t engine);
   590                                      dwRenderEngineHandle_t engine);
   606                                       dwConstRenderEngineHandle_t engine);
   621                                       dwRenderEngineHandle_t engine);
   638                                   dwRenderEngineHandle_t engine);
   667                                           dwRenderEngineHandle_t engine);
   687                                            dwRenderEngineHandle_t engine);
   707                                                  dwRenderEngineHandle_t engine);
   725                                     dwConstRenderEngineHandle_t engine);
   743                                           dwConstRenderEngineHandle_t engine);
   759                                     dwRenderEngineHandle_t engine);
   774                                   dwRenderEngineHandle_t engine);
   791                                   dwRenderEngineHandle_t engine);
   804                                  dwConstRenderEngineHandle_t engine);
   829                                            dwConstRenderEngineHandle_t engine);
   862                                         dwRenderEngineHandle_t engine);
   875                                 dwConstRenderEngineHandle_t engine);
   888                                 dwRenderEngineHandle_t engine);
   902                                      dwConstRenderEngineHandle_t engine);
   918                                      dwRenderEngineHandle_t engine);
   932                                      dwConstRenderEngineHandle_t engine);
   945                                      dwRenderEngineHandle_t engine);
   959                                              dwConstRenderEngineHandle_t engine);
   976                                              dwRenderEngineHandle_t engine);
   990                                   dwConstRenderEngineHandle_t engine);
  1003                                   dwRenderEngineHandle_t engine);
  1032                                      dwRenderEnginePrimitiveType type,
  1033                                      uint32_t vertexStrideBytes,
  1034                                      uint32_t offsetBytes,
  1035                                      uint32_t primitiveCount,
  1036                                      dwRenderEngineHandle_t engine);
  1049                                       dwRenderEngineHandle_t engine);
  1067                                                    dwRenderEngineHandle_t engine);
  1092                                   dwRenderEnginePrimitiveType type,
  1094                                   uint32_t vertexStrideBytes,
  1095                                   uint32_t offsetBytes,
  1096                                   uint32_t primitiveCount,
  1097                                   dwRenderEngineHandle_t engine);
  1116                                   uint32_t offsetBytes,
  1118                                   dwRenderEnginePrimitiveType type,
  1119                                   dwRenderEngineHandle_t engine);
  1133                                     dwRenderEnginePrimitiveType type,
  1134                                     dwRenderEngineHandle_t engine);
  1152                                      uint32_t primitiveCount,
  1153                                      dwRenderEngineHandle_t engine);
  1178                                                dwRenderEnginePrimitiveType type,
  1179                                                uint32_t vertexStrideBytes,
  1180                                                uint32_t offsetBytes,
  1181                                                const char** labels,
  1182                                                uint32_t primitiveCount,
  1183                                                dwRenderEngineHandle_t engine);
  1213                                uint32_t vertexStrideBytes,
  1214                                uint32_t offsetBytes,
  1215                                uint32_t primitiveCount,
  1216                                dwRenderEngineHandle_t engine);
  1247                                          uint32_t vertexStrideBytes,
  1248                                          uint32_t offsetBytes,
  1249                                          const char* labels[],
  1250                                          uint32_t primitiveCount,
  1251                                          dwRenderEngineHandle_t engine);
  1282                                         uint32_t vertexStrideBytes,
  1283                                         uint32_t offsetBytes,
  1285                                         uint32_t primitiveCount,
  1286                                         dwRenderEngineHandle_t engine);
  1301                                               const char* filename,
  1302                                               dwRenderEngineHandle_t engine);
  1315                                        dwRenderEngineHandle_t engine);
  1333                                       dwRenderEngineHandle_t engine);
  1351                                       dwRenderEngineHandle_t engine);
  1369                                      dwRenderEngineHandle_t engine);
  1387                                      dwRenderEngineHandle_t engine);
  1406                                               dwRenderEngineHandle_t engine);
  1424                                            dwRenderEngineHandle_t engine);
  1448                                               dwRenderEngineHandle_t engine);
  1470                                            dwRenderEngineHandle_t engine);
  1490                                                   dwRenderEngineHandle_t engine);
  1508                                                dwRenderEngineHandle_t engine);
  1532                                                   dwRenderEngineHandle_t engine);
  1554                                                dwRenderEngineHandle_t engine);
  1590                                      uint32_t vertexStrideBytes,
  1591                                      uint32_t offsetBytes,
  1592                                      uint32_t primitiveCount,
  1596                                      dwRenderEngineColorRGBA axesColor,
  1601                                      dwRenderEngineHandle_t engine);
  1642                                       const void** buffers,
  1643                                       const uint32_t* vertexStridesBytes,
  1644                                       const uint32_t* offsetsBytes,
  1645                                       const uint32_t* bufferCounts,
  1646                                       const dwRenderEngineColorRGBA* colors,
  1648                                       const char** labels,
  1649                                       uint32_t plotsCount,
  1652                                       dwRenderEngineColorRGBA axesColor,
  1657                                       dwRenderEngineHandle_t engine);
  1675                                         dwRenderEngineHandle_t engine);
  1692                                         dwRenderEngineHandle_t engine);
  1711                                                    dwConstRenderEngineHandle_t engine);
  1717 #endif // DW_VISUALIZATION_RENDERENGINE_H_ Render the color with the primitive interleaved This requires the data have RGBA values interleaved w...
Render according to tile current color. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getCoordinateRange2D(dwVector2f *range, dwConstRenderEngineHandle_t engine)
Gets the coordinate range for 2D rendering of the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getRenderViewport(dwRectf *viewport, dwConstRenderEngineHandle_t engine)
Gets the render viewport for the current tile. 
Layout the position relative to the top of the bounds. 
Layout the position relative to the right of the bounds. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_BLUE
Layout the position relative to the bottom right of the bounds. 
float float32_t
Specifies POD types. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_LIGHTGREY
float32_t lineWidth
The line width. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getBounds(dwRectf *bounds, dwRenderEngineHandle_t engine)
Gets the bounds for the entire render area. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_initTileState(dwRenderEngineTileState *params)
Initialize tile params to default state. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_addTile(uint32_t *tileId, const dwRenderEngineTileState *params, dwRenderEngineHandle_t engine)
Adds a render tile to the render engine. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_YELLOW
Interleaved is start x,start y,end y,end x Min vertex size is 4 floats. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_createBuffer(uint32_t *bufferId, dwRenderEnginePrimitiveType type, uint32_t vertexStrideBytes, uint32_t offsetBytes, uint32_t primitiveCount, dwRenderEngineHandle_t engine)
Creates a buffer for static drawing. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBufferPlanarGrid3D(uint32_t bufferId, dwRectf plane, float32_t xSpacing, float32_t ySpacing, const dwMatrix4f *modelMatrix, dwRenderEngineHandle_t engine)
Fills a buffer with a grid in 3D. 
Interleaved is x,y,z,x,y,z Min vertex size is 3 floats. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderText3D(const char *text, dwVector3f pos, dwRenderEngineHandle_t engine)
Renders text within the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderEllipticalGrid3D(dwRectf plane, float32_t xSpacing, float32_t ySpacing, const dwMatrix4f *modelMatrix, dwRenderEngineHandle_t engine)
Renders an elliptical grid in 3D. 
Defines a four-element single-precision floating point vector. 
Defines a three-element floating-point vector. 
Defines a two-element single-precision floating-point vector. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBufferPlanarGrid2D(uint32_t bufferId, dwRectf plane, float32_t xSpacing, float32_t ySpacing, dwRenderEngineHandle_t engine)
Fills a buffer with a grid in 2D. 
dwRenderEngineColorByValueMode colorByValueMode
Color by value mode. 
dwMatrix4f projectionMatrix
The projection matrix for the camera. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_initialize(dwRenderEngineHandle_t *engine, const dwRenderEngineParams *params, dwVisualizationContextHandle_t context)
Initializes a render engine handle. 
dwRectf viewport
The viewport for the tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderText2D(const char *text, dwVector2f pos, dwRenderEngineHandle_t engine)
Renders text within the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setViewport(dwRectf viewport, dwRenderEngineHandle_t engine)
Sets the user-defined viewport which is used in conjunction with the other layout parameters to compu...
dwRenderEngineFont
The font types for the render engine. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setFont(dwRenderEngineFont font, dwRenderEngineHandle_t engine)
Sets the font for text drawn in the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderWithLabel(dwRenderEnginePrimitiveType type, const void *buffer, uint32_t vertexStrideBytes, uint32_t offsetBytes, const char *label, uint32_t primitiveCount, dwRenderEngineHandle_t engine)
Render an external buffer with one label. 
struct dwRenderEngineObject * dwRenderEngineHandle_t
Handle for the render engine. 
NVIDIA DriveWorks GL API: Image Conversion and Streaming Functionality 
Layout the position relative to the bottom of the bounds. 
Layout the position relative to the top right of the bounds. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderPlanarGrid2D(dwRectf plane, float32_t xSpacing, float32_t ySpacing, dwRenderEngineHandle_t engine)
Renders a grid in 2D. 
dwMatrix4f modelViewMatrix
The model view matrix. 
float32_t aspectRatio
The aspect ratio for the tile. 
const uint32_t DW_RENDER_ENGINE_MAX_TILE_COUNT
Maximum number of tiles that can be added. 
Interleaved is x,y,x,y Min vertex size is 2 floats. 
Render the hue by distance in z direction. 
Layout the position relative to the top left of the bounds. 
Layout the position or size in a fixed position and size. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_release(dwRenderEngineHandle_t engine)
Releases the render engine handle. 
dwVector2f coordinateRange2D
The normalization factor for 2D rendering. 
Interleaved is x,y,z,width,height,depth,x,y,z,width,height,depth Min vertex size is 6 floats...
dwRenderEngineColorRGBA backgroundColor
The background color. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setState(const dwRenderEngineTileState *state, dwRenderEngineHandle_t engine)
Set the current tile state parameters. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_PINK
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setColorByValue(dwRenderEngineColorByValueMode mode, float32_t scale, dwRenderEngineHandle_t engine)
Sets the color of the primitives to be rendered based on their values. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_LIGHTBLUE
The initialization parameters for a render engine. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_addTilesByCount(uint32_t *outTileIds, uint32_t tileCount, uint32_t maxPerRow, const dwRenderEngineTileState *paramsList, dwRenderEngineHandle_t engine)
Evenly add render tiles to the screen from left to right. 
Interleaved is center x,y,x radius,y radius,x,y,x radius,y radius Min vertex size is 4 floats...
dwRenderEnginePlotType
An enum that controls the type of plot to render when calling dwRenderEngine_renderPlot2D. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_mapBuffer(uint32_t bufferId, void **buffer, uint32_t offsetBytes, uint32_t sizeBytes, dwRenderEnginePrimitiveType type, dwRenderEngineHandle_t engine)
maps internal buffer for data operations. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getColor(dwRenderEngineColorRGBA *color, dwConstRenderEngineHandle_t engine)
Gets the current tile color. 
dwRenderEngineColorRGBA color
Color of the rendering primitives in the tile. 
struct dwVisualizationContextObject * dwVisualizationContextHandle_t
Context handle. 
Render the hue by distance in y direction. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getProjection(dwMatrix4f *projectionMatrix, dwConstRenderEngineHandle_t engine)
Gets the projection matrix for the current tile. 
Render the hue by distance in x direction. 
Render plot as point values. Data layout is x,y,x,y. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_addSplitScreenTiles(uint32_t *firstTileId, uint32_t *secondTileId, bool horizontal, const dwRenderEngineTileState *firstParams, const dwRenderEngineTileState *secondParams, dwRenderEngineHandle_t engine)
Adds two render tiles to the render engine that each take up half of the render area (defined by boun...
Render the hue by distance in xy directions. 
Layout the position relative to the left of the bounds. 
dwStatus
Status definition. 
float32_t pointSize
The point size. 
dwRenderEngineTilePositionType
The layout indicator for position of each tile. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_BLACK
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_DARKPURPLE
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setPerspectiveProjection(float32_t fovRadsY, float32_t aspect, float32_t near, float32_t far, dwRenderEngineHandle_t engine)
Sets the projection matrix for the current tile as defined by the parameters. 
Interleaved is 8 sets of (x,y,z) representing the 8 vertices of an oriented box Min vertex size is 24...
Interleaved is x,y,z,x,y,z Min vertex size is 3 floats. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_reset(dwRenderEngineHandle_t engine)
Resets the state of all render tiles and clears the display. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setCoordinateRange2D(dwVector2f range, dwRenderEngineHandle_t engine)
Sets the coordinate range for 2D rendering of the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderPlot2D(dwRenderEnginePlotType type, const void *buffer, uint32_t vertexStrideBytes, uint32_t offsetBytes, uint32_t primitiveCount, const char *label, dwVector4f range, dwRectf plane, dwRenderEngineColorRGBA axesColor, float32_t axesWidth, const char *title, const char *xLabel, const char *yLabel, dwRenderEngineHandle_t engine)
Renders a plot in 2D. 
dwRectf bounds
The default display bounds. 
Interleaved is x,y,z,x,y,z Min vertex size is 3 floats. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setColor(dwRenderEngineColorRGBA color, dwRenderEngineHandle_t engine)
Sets the foreground drawing color of the current tile. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_GREEN
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getBufferMaxPrimitiveCount(uint32_t *maxPrimitiveCount, uint32_t bufferId, dwRenderEngineHandle_t engine)
Get the max renderable primitive count for a buffer. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_DARKGREY
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setLookAtByAngles(float32_t xAngleRadians, float32_t yAngleRadians, float32_t distance, dwVector3f center, dwVector3f up, dwRenderEngineHandle_t engine)
Defines the camera position on a sphere surface around a center point, with the camera looking toward...
dwRenderEngineFont font
The font. 
Interleaved is x,y,x,y Min vertex size is 2 floats. 
Interleaved is x,y,width,height,x,y,width,height Min vertex size is 4 floats. 
const struct dwRenderEngineObject * dwConstRenderEngineHandle_t
Const handle for the render engine. 
Interleaved is center x,y,z,x radius,y radius Min vertex size is 5 floats. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getBackgroundColor(dwRenderEngineColorRGBA *color, dwConstRenderEngineHandle_t engine)
Gets the current tile background color. 
The tile layout for the viewport. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_RED
Render plot as line strip. Data layout is x,y,x,y. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderBuffer(uint32_t bufferId, uint32_t primitiveCount, dwRenderEngineHandle_t engine)
Render the buffer. 
dwRenderEngineTilePositionType positionType
The position type that determines how the position coordinates are interpreted. 
Defines a 4x4 matrix of floating point numbers (column major). 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getState(dwRenderEngineTileState *state, dwConstRenderEngineHandle_t engine)
Get the current tile state parameters. 
The state for a render engine tile. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_DARKBROWN
Layout the position relative to the center of the bounds. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_removeTile(uint32_t tileId, dwRenderEngineHandle_t engine)
Removes a render tile from the render engine. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setProjection(const dwMatrix4f *projectionMatrix, dwRenderEngineHandle_t engine)
Sets the projection matrix for the current tile. 
#define DW_VIZ_API_PUBLIC
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderImage2D(const dwImageGL *img, dwRectf plane, dwRenderEngineHandle_t engine)
Renders a 2D image within the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setOrthoProjection(float32_t left, float32_t right, float32_t bottom, float32_t top, float32_t near, float32_t far, dwRenderEngineHandle_t engine)
Sets up an orthographic projection for the current tile. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_ORANGE
uint32_t maxBufferCount
Maximum static buffer count. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderBufferWithLabels(uint32_t bufferId, dwRenderEnginePrimitiveType type, uint32_t vertexStrideBytes, uint32_t offsetBytes, const char **labels, uint32_t primitiveCount, dwRenderEngineHandle_t engine)
Render the internal buffer with labels. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getViewport(dwRectf *viewport, dwConstRenderEngineHandle_t engine)
Gets the user-defined viewport for the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBuffer(uint32_t bufferId, dwRenderEnginePrimitiveType type, const void *buffer, uint32_t vertexStrideBytes, uint32_t offsetBytes, uint32_t primitiveCount, dwRenderEngineHandle_t engine)
Set the data for a buffer. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_WHITE
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getFont(dwRenderEngineFont *font, dwConstRenderEngineHandle_t engine)
Gets the current tile font. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderWithLabels(dwRenderEnginePrimitiveType type, const void *buffer, uint32_t vertexStrideBytes, uint32_t offsetBytes, const char *labels[], uint32_t primitiveCount, dwRenderEngineHandle_t engine)
Render an external buffer with labels. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_destroyBuffer(uint32_t bufferId, dwRenderEngineHandle_t engine)
Destroys a buffer for static drawing. 
dwRenderEngineTileState defaultTile
The default tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getLayout(dwRenderEngineTileLayout *layout, dwConstRenderEngineHandle_t engine)
Gets the layout of the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setLineWidth(float32_t lineWidth, dwRenderEngineHandle_t engine)
Sets the line width of the current tile. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_CYAN
dwRenderEngineTileLayoutType
The layout indicator for size and position of each tile. 
Layout the position in a grid. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBufferEllipticalGrid3D(uint32_t bufferId, dwRectf plane, float32_t xSpacing, float32_t ySpacing, const dwMatrix4f *modelMatrix, dwRenderEngineHandle_t engine)
Fills a buffer with an elliptical grid in 3D. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_render(dwRenderEnginePrimitiveType type, const void *buffer, uint32_t vertexStrideBytes, uint32_t offsetBytes, uint32_t primitiveCount, dwRenderEngineHandle_t engine)
Render an external buffer. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getTileByScreenCoordinates(uint32_t *tileId, dwVector2f pixelPosition, dwVector2f screenSize, dwConstRenderEngineHandle_t engine)
Gets the tile id that surrounds the input pixel position. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderImage3D(const dwImageGL *img, dwRectf plane, const dwMatrix4f *modelMatrix, dwRenderEngineHandle_t engine)
Renders a 2D image in 3D space within the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setLookAt(dwVector3f eye, dwVector3f center, dwVector3f up, dwRenderEngineHandle_t engine)
Sets the model view matrix for the current tile. 
Render plot as histogram. Data layout is y,y,y,y. 
Layout the position or size relative to the bounds of the render engine. 
Layout the position relative to the bottom left of the bounds. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_resetTile(dwRenderEngineHandle_t engine)
Resets the state of the current tile and clears the display. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setLayout(dwRenderEngineTileLayout layout, dwRenderEngineHandle_t engine)
Sets the layout of the current tile. 
dwRenderEngineTileLayout layout
The layout which includes the viewport. 
dwRenderEngineColorByValueMode
An enum that controls how primitive colors are rendered. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBounds(dwRectf bounds, dwRenderEngineHandle_t engine)
Sets the bounds for the entire render area. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getModelView(dwMatrix4f *modelViewMatrix, dwConstRenderEngineHandle_t engine)
Gets the model view matrix for the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setModelView(const dwMatrix4f *modelViewMatrix, dwRenderEngineHandle_t engine)
Sets the model view matrix for the current tile. 
Interleaved is x,y,x,y Min vertex size is 2 floats. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_destroyImageGL(const dwImageGL *image, dwRenderEngineHandle_t engine)
Releases the memory of a dwImageGL. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_DARKRED
Interleaved is x,y,x,y Min vertex size is 2 floats. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setPointSize(float32_t pointSize, dwRenderEngineHandle_t engine)
Sets the point size of the current tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getTile(uint32_t *tileId, dwConstRenderEngineHandle_t engine)
Gets the current render tile id. 
Interleaved is start x,start y,start z,end y,end x,end z Min vertex size is 6 floats. 
Render the hue by distance in xz directions. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderPlots2D(const dwRenderEnginePlotType *types, const void **buffers, const uint32_t *vertexStridesBytes, const uint32_t *offsetsBytes, const uint32_t *bufferCounts, const dwRenderEngineColorRGBA *colors, const float32_t *lineWidths, const char **labels, uint32_t plotsCount, dwVector4f range, dwRectf plane, dwRenderEngineColorRGBA axesColor, float32_t axesWidth, const char *title, const char *xLabel, const char *yLabel, dwRenderEngineHandle_t engine)
Renders multiple plots in one graph. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_screenToWorld3D(dwVector3f *worldPosition, dwVector2f pixelPosition, dwVector2f screenSize, dwRenderEngineHandle_t engine)
Get the world coordinate in 3D based on screen pixel input. 
dwRenderEnginePrimitiveType
When rendering 2D data the coordinate system is always from 0 to 1, unless changed by calling dwRende...
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_unmapBuffer(uint32_t bufferId, dwRenderEnginePrimitiveType type, dwRenderEngineHandle_t engine)
Unmaps the internal buffer. 
dwVector4f dwRenderEngineColorRGBA
RGBA render color. 
NVIDIA DriveWorks API: Renderer 
Render the hue by intensity value (Last value of primitives. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_initDefaultParams(dwRenderEngineParams *params, uint32_t width, uint32_t height)
Initialize params to default. 
bool useAspectRatio
Use aspect ratio. 
uint32_t bufferSize
Default buffer size for rendering primitives in bytes. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getLineWidth(float32_t *lineWidth, dwConstRenderEngineHandle_t engine)
Gets the current tile line width. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBufferEllipticalGrid2D(uint32_t bufferId, dwRectf plane, float32_t xSpacing, float32_t ySpacing, dwRenderEngineHandle_t engine)
Fills a buffer with an elliptical grid in 2D. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_world3DToScreen(dwVector2f *pixelPosition, dwVector3f worldPosition, dwVector2f screenSize, dwRenderEngineHandle_t engine)
Get the screen coordinate in based on world 3D input. 
Render the hue by distance to origin. 
Defines a GL texture image. 
Interleaved is x,y,z,x,y,z Min vertex size is 3 floats. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_DARKGREEN
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_createImageGLFromFile(dwImageGL *img, const char *filename, dwRenderEngineHandle_t engine)
Reads a file from disk and puts it into an dwImageGL. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_PURPLE
Render the hue by distance in yz directions. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_DARKBLUE
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getPointSize(float32_t *pointSize, dwConstRenderEngineHandle_t engine)
Gets the current tile point size. 
dwRenderEngineTileLayoutType sizeLayout
The layout indicator for size. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderEllipticalGrid2D(dwRectf plane, float32_t xSpacing, float32_t ySpacing, dwRenderEngineHandle_t engine)
Renders an elliptical grid in 2D. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderPlanarGrid3D(dwRectf plane, float32_t xSpacing, float32_t ySpacing, const dwMatrix4f *modelMatrix, dwRenderEngineHandle_t engine)
Renders a grid in 3D. 
static const dwRenderEngineColorRGBA DW_RENDER_ENGINE_COLOR_LIGHTGREEN
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setTile(uint32_t tileId, dwRenderEngineHandle_t engine)
Sets the state of the engine to be a particular tile. 
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBackgroundColor(dwRenderEngineColorRGBA color, dwRenderEngineHandle_t engine)
Sets the background color of the current tile. 
dwRenderEngineTileLayoutType positionLayout
The layout indicator for position.