collection of utillities for rendering  
 More...
#include <RenderUtil.hpp>
collection of utillities for rendering 
◆ 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()
creates a rectangular grid of size size with resolution as the size of each grid mask 
- Parameters
- 
  
  
- Returns
- render that renders a rectangular grid 
 
 
The documentation for this class was generated from the following file: