Classes | Static Public Attributes | List of all members
mesh_filter::StereoCameraModel Class Reference

Model for Disparity based devices. E.g stereo camera systems or OpenNI compatible devices. More...

#include <stereo_camera_model.h>

Inheritance diagram for mesh_filter::StereoCameraModel:
Inheritance graph
[legend]

Classes

class  Parameters
 Parameters for Stereo-like devices. More...
 

Static Public Attributes

static const std::string filterFragmentShaderSource
 source code of the fragment shader used to filter the depth map More...
 
static const std::string filterVertexShaderSource
 source code of the vertex shader used to filter the depth map More...
 
static const StereoCameraModel::ParametersRegisteredPSDKParams
 predefined sensor model for OpenNI compatible devices (e.g., PrimeSense, Kinect, Asus Xtion) More...
 
static const std::string renderFragmentShaderSource
 source code of the fragment shader used to render the meshes More...
 
static const std::string renderVertexShaderSource
 source code of the vertex shader used to render the meshes More...
 

Additional Inherited Members

- Public Member Functions inherited from mesh_filter::SensorModel
 MOVEIT_CLASS_FORWARD (Parameters)
 
virtual ~SensorModel ()
 virtual destructor More...
 

Detailed Description

Model for Disparity based devices. E.g stereo camera systems or OpenNI compatible devices.

Author
Suat Gedikli gedik.nosp@m.li@w.nosp@m.illow.nosp@m.gara.nosp@m.ge.co.nosp@m.m

Definition at line 49 of file stereo_camera_model.h.

Member Data Documentation

const string mesh_filter::StereoCameraModel::filterFragmentShaderSource
static

source code of the fragment shader used to filter the depth map

Definition at line 164 of file stereo_camera_model.h.

const string mesh_filter::StereoCameraModel::filterVertexShaderSource
static
Initial value:
= "#version 120\n"
"void main ()"
"{"
" gl_FrontColor = gl_Color;"
" gl_TexCoord[0] = gl_MultiTexCoord0;"
" gl_Position = gl_Vertex;"
" gl_Position.w = 1.0;"
"}"

source code of the vertex shader used to filter the depth map

Definition at line 161 of file stereo_camera_model.h.

const mesh_filter::StereoCameraModel::Parameters & mesh_filter::StereoCameraModel::RegisteredPSDKParams
static
Initial value:
=
mesh_filter::StereoCameraModel::Parameters(640, 480, 0.4, 10.0, 525, 525, 319.5, 239.5, 0.075, 0.125)

predefined sensor model for OpenNI compatible devices (e.g., PrimeSense, Kinect, Asus Xtion)

Definition at line 152 of file stereo_camera_model.h.

const string mesh_filter::StereoCameraModel::renderFragmentShaderSource
static
Initial value:
= "#version 120\n"
"void main()"
"{"
" gl_FragColor = gl_Color;"
"}"

source code of the fragment shader used to render the meshes

Definition at line 158 of file stereo_camera_model.h.

const string mesh_filter::StereoCameraModel::renderVertexShaderSource
static
Initial value:
=
"#version 120\n"
"uniform vec3 padding_coefficients;"
"void main()"
"{"
" gl_FrontColor = gl_Color;"
" gl_BackColor = gl_Color;"
" vec4 vertex = gl_ModelViewMatrix * gl_Vertex;"
" vec3 normal = normalize(gl_NormalMatrix * gl_Normal);"
" float lambda = padding_coefficients.x * vertex.z * vertex.z + padding_coefficients.y * vertex.z + "
"padding_coefficients.z;"
" gl_Position = gl_ProjectionMatrix * (vertex + lambda * vec4(normal,0) );"
" gl_Position.y = -gl_Position.y;"
"}"

source code of the vertex shader used to render the meshes

Definition at line 155 of file stereo_camera_model.h.


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


perception
Author(s): Ioan Sucan , Jon Binney , Suat Gedikli
autogenerated on Sun Oct 18 2020 13:17:23