geolib2
Public Member Functions | Protected Attributes | Friends | List of all members
geo::RenderOptions Class Reference

#include <DepthCamera.h>

Public Member Functions

 RenderOptions ()
 
void setBackFaceCulling (bool b)
 
void setMesh (const geo::Mesh &mesh, const geo::Pose3D &pose=geo::Pose3D::identity())
 setMesh: set mesh to be rendered More...
 

Protected Attributes

bool back_face_culling_
 back_face_culling_ flag to optimise rendering mesh triangles facing away from the camera. More...
 
const geo::Meshmesh_
 mesh_ mesh to be rendered More...
 
Pose3D pose_
 pose_ pose of the mesh with respect to the virtual camera More...
 

Friends

class DepthCamera
 

Detailed Description

Contains instructions on how to render a depth image

Definition at line 41 of file DepthCamera.h.

Constructor & Destructor Documentation

◆ RenderOptions()

geo::RenderOptions::RenderOptions ( )
inline

Definition at line 47 of file DepthCamera.h.

Member Function Documentation

◆ setBackFaceCulling()

void geo::RenderOptions::setBackFaceCulling ( bool  b)
inline

Definition at line 59 of file DepthCamera.h.

◆ setMesh()

void geo::RenderOptions::setMesh ( const geo::Mesh mesh,
const geo::Pose3D pose = geo::Pose3D::identity() 
)
inline

setMesh: set mesh to be rendered

Parameters
meshmesh describing the shape to be rendered
posepose of the origin of the mesh with respect to the virtual camera (default: Identity)

Definition at line 54 of file DepthCamera.h.

Friends And Related Function Documentation

◆ DepthCamera

friend class DepthCamera
friend

Definition at line 43 of file DepthCamera.h.

Member Data Documentation

◆ back_face_culling_

bool geo::RenderOptions::back_face_culling_
protected

back_face_culling_ flag to optimise rendering mesh triangles facing away from the camera.

Definition at line 76 of file DepthCamera.h.

◆ mesh_

const geo::Mesh* geo::RenderOptions::mesh_
protected

mesh_ mesh to be rendered

Definition at line 66 of file DepthCamera.h.

◆ pose_

Pose3D geo::RenderOptions::pose_
protected

pose_ pose of the mesh with respect to the virtual camera

Definition at line 71 of file DepthCamera.h.


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