KiCad PCB EDA Suite
|
Frustum is a implementation based on a tutorial by http://www.lighthouse3d.com/tutorials/view-frustum-culling/. More...
#include <camera.h>
Public Member Functions | |
CAMERA_FRUSTUM () | |
Public Attributes | |
SFVEC3F | nc |
SFVEC3F | fc |
SFVEC3F | ntl |
Near Top Left. | |
SFVEC3F | ntr |
Near Top Right. | |
SFVEC3F | nbl |
Near Bottom Left. | |
SFVEC3F | nbr |
Near Bottom Right. | |
SFVEC3F | ftl |
Far Top Left. | |
SFVEC3F | ftr |
Far Top Right. | |
SFVEC3F | fbl |
Far Bottom Left. | |
SFVEC3F | fbr |
Far Bottom Right. | |
float | nearD |
float | farD |
float | ratio |
float | angle |
float | tang |
float | nw |
float | nh |
float | fw |
float | fh |
Frustum is a implementation based on a tutorial by http://www.lighthouse3d.com/tutorials/view-frustum-culling/.
float CAMERA_FRUSTUM::angle |
Definition at line 61 of file camera.h.
Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewFOV(), and CAMERA::rebuildProjection().
float CAMERA_FRUSTUM::farD |
Definition at line 61 of file camera.h.
Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewExtents(), NL_3D_VIEWER_PLUGIN_IMPL::GetViewFrustum(), CAMERA::rebuildProjection(), and CAMERA::updateFrustum().
SFVEC3F CAMERA_FRUSTUM::fbl |
SFVEC3F CAMERA_FRUSTUM::fbr |
SFVEC3F CAMERA_FRUSTUM::fc |
Definition at line 52 of file camera.h.
Referenced by CAMERA::updateFrustum().
float CAMERA_FRUSTUM::fh |
Definition at line 62 of file camera.h.
Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewExtents(), CAMERA::rebuildProjection(), and CAMERA::updateFrustum().
SFVEC3F CAMERA_FRUSTUM::ftl |
SFVEC3F CAMERA_FRUSTUM::ftr |
float CAMERA_FRUSTUM::fw |
Definition at line 62 of file camera.h.
Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewExtents(), CAMERA::rebuildProjection(), and CAMERA::updateFrustum().
SFVEC3F CAMERA_FRUSTUM::nbl |
SFVEC3F CAMERA_FRUSTUM::nbr |
SFVEC3F CAMERA_FRUSTUM::nc |
Definition at line 51 of file camera.h.
Referenced by CAMERA::MakeRay(), and CAMERA::updateFrustum().
float CAMERA_FRUSTUM::nearD |
Definition at line 61 of file camera.h.
Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewExtents(), NL_3D_VIEWER_PLUGIN_IMPL::GetViewFrustum(), CAMERA::rebuildProjection(), and CAMERA::updateFrustum().
float CAMERA_FRUSTUM::nh |
Definition at line 62 of file camera.h.
Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewFrustum(), TRACK_BALL::Pan(), CAMERA::rebuildProjection(), and CAMERA::updateFrustum().
SFVEC3F CAMERA_FRUSTUM::ntl |
SFVEC3F CAMERA_FRUSTUM::ntr |
float CAMERA_FRUSTUM::nw |
Definition at line 62 of file camera.h.
Referenced by NL_3D_VIEWER_PLUGIN_IMPL::GetViewFrustum(), TRACK_BALL::Pan(), CAMERA::rebuildProjection(), NL_3D_VIEWER_PLUGIN_IMPL::SetViewExtents(), and CAMERA::updateFrustum().
float CAMERA_FRUSTUM::ratio |
Definition at line 61 of file camera.h.
Referenced by TRACK_BALL::Pan(), and CAMERA::rebuildProjection().
float CAMERA_FRUSTUM::tang |
Definition at line 61 of file camera.h.
Referenced by CAMERA::GetCameraMinDimension(), TRACK_BALL::Pan(), and CAMERA::rebuildProjection().