RobWorkProject  23.9.11-
Public Types | Public Member Functions | List of all members
RenderCameraFrustum Class Reference

Render drawing a collection of lines. More...

#include <RenderCameraFrustum.hpp>

Inherits Render.

Public Types

typedef rw::core::Ptr< RenderCameraFrustumPtr
 smart pointer type to this class
 
- Public Types inherited from Render
typedef rw::core::Ptr< RenderPtr
 smart pointer type to this class
 
typedef DrawableNode::DrawType DrawType
 when calling render on the draw mode or type can be specified. See DrawableNode::DrawType
 

Public Member Functions

 RenderCameraFrustum ()
 Constructs RenderLine with no lines.
 
virtual ~RenderCameraFrustum ()
 Descructor.
 
void draw (const rw::graphics::DrawableNode::RenderInfo &info, rw::graphics::DrawableNode::DrawType type, double alpha) const
 
void setPerspective (double aspect, double fovy_deg, double vnear, double depth)
 sets how the parameters of a perspective view model More...
 
- Public Member Functions inherited from Render
virtual ~Render ()
 destructor
 

Additional Inherited Members

- Protected Member Functions inherited from Render
 Render ()
 Only instances of classes inheriting Render is allowed.
 

Detailed Description

Render drawing a collection of lines.

Member Function Documentation

◆ draw()

void draw ( const rw::graphics::DrawableNode::RenderInfo info,
rw::graphics::DrawableNode::DrawType  type,
double  alpha 
) const
virtual

Parameters
info[in] state and rendering specific info
type[in] the drawtype which is being used
alpha[in] the alpha value to render with

Implements Render.

◆ setPerspective()

void setPerspective ( double  aspect,
double  fovy_deg,
double  vnear,
double  depth 
)

sets how the parameters of a perspective view model

Parameters
aspect[in] aspect ratio
fovy_deg[in] vertical field of view in degree
vnear[in] near clipping plane
depth[in] far clipping plane (where to stop drawing the camera lines)

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