![]() |
RobWorkProject
24.12.4-
|
Render drawing a collection of lines. More...
#include <RenderCameraFrustum.hpp>
Inherits Render.
Public Types | |
typedef rw::core::Ptr< RenderCameraFrustum > | Ptr |
smart pointer type to this class | |
![]() | |
typedef rw::core::Ptr< Render > | Ptr |
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... | |
![]() | |
virtual | ~Render () |
destructor | |
Additional Inherited Members | |
![]() | |
Render () | |
Only instances of classes inheriting Render is allowed. | |
Render drawing a collection of lines.
|
virtual |
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.
void setPerspective | ( | double | aspect, |
double | fovy_deg, | ||
double | vnear, | ||
double | depth | ||
) |
sets how the parameters of a perspective view model
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) |