Go to the source code of this file.
◆ computeFrustumPlanes()
◆ intersectFrustumAABB()
bool intersectFrustumAABB |
( |
const std::vector< glm::vec4 > & |
planes, |
|
|
const pcl::PointXYZ & |
boxMin, |
|
|
const pcl::PointXYZ & |
boxMax |
|
) |
| |
Tells whether or not b is intersecting f. http://www.txutxi.com/?p=584
- Parameters
-
planes | Viewing frustum. |
boxMin | The axis aligned bounding box min. |
boxMax | The axis aligned bounding box max. |
- Returns
- True if b intersects f, false otherwise.
Definition at line 349 of file scene.cpp.
◆ kFrustumScale
◆ kGraphFragmentShader
Initial value:=
"precision mediump float;\n"
"precision mediump int;\n"
"varying vec3 v_color;\n"
"void main() {\n"
" gl_FragColor = vec4(v_color.z, v_color.y, v_color.x, 1.0);\n"
"}\n"
Definition at line 61 of file scene.cpp.
◆ kGraphVertexShader
Initial value:=
"precision mediump float;\n"
"precision mediump int;\n"
"attribute vec3 vertex;\n"
"uniform vec3 color;\n"
"uniform mat4 mvp;\n"
"varying vec3 v_color;\n"
"void main() {\n"
" gl_Position = mvp*vec4(vertex.x, vertex.y, vertex.z, 1.0);\n"
" v_color = color;\n"
"}\n"
Definition at line 50 of file scene.cpp.
◆ kGridColor
◆ kHeightOffset
◆ kTraceColor