RobWorkProject  24.5.15-
Static Public Member Functions | List of all members
RenderUtil Class Reference

collection of utillities for rendering More...

#include <RenderUtil.hpp>

Static Public Member Functions

static rw::core::Ptr< RenderLinesmakeCameraViewRender (double w, double h, double fovy, double near=0, double far=2.0)
 create a camera view render for a pinhole camera. The camera looks in the negative direction of the z-axis. More...
 
static rw::core::Ptr< RenderLinesmakeWorldGridRender (float size, float resolution)
 creates a rectangular grid of size size with resolution as the size of each grid mask More...
 

Detailed Description

collection of utillities for rendering

Member Function Documentation

◆ makeCameraViewRender()

static rw::core::Ptr<RenderLines> makeCameraViewRender ( double  w,
double  h,
double  fovy,
double  near = 0,
double  far = 2.0 
)
static

create a camera view render for a pinhole camera. The camera looks in the negative direction of the z-axis.

Parameters
w[in] focal width
h[in] focal height
fovy[in] horisontal field of view in degree
near[in] near clipping plane
far[in] far clipping plane
Returns
render that renders the camera view with lines

◆ makeWorldGridRender()

static rw::core::Ptr<RenderLines> makeWorldGridRender ( float  size,
float  resolution 
)
static

creates a rectangular grid of size size with resolution as the size of each grid mask

Parameters
size
resolution
Returns
render that renders a rectangular grid

The documentation for this class was generated from the following file: