| 
    KiCad PCB EDA Suite
    
   | 
 
A class used to derive camera objects from. More...
#include <camera.h>
  
Public Member Functions | |
| CAMERA (float aInitialDistance) | |
| Initialize a camera.   | |
| CAMERA (SFVEC3F aInitPos, SFVEC3F aLookat, PROJECTION_TYPE aProjectionType) | |
| virtual | ~CAMERA () | 
| glm::mat4 | GetRotationMatrix () const | 
| Get the rotation matrix to be applied in a transformation camera.   | |
| const glm::mat4 & | GetViewMatrix () const | 
| const glm::mat4 & | GetViewMatrix_Inv () const | 
| const glm::mat4 & | GetProjectionMatrix () const | 
| const glm::mat4 & | GetProjectionMatrixInv () const | 
| const SFVEC3F & | GetRight () const | 
| const SFVEC3F & | GetUp () const | 
| const SFVEC3F & | GetDir () const | 
| const SFVEC3F & | GetPos () const | 
| const SFVEC2F & | GetFocalLen () const | 
| float | GetNear () const | 
| float | GetFar () const | 
| const CAMERA_FRUSTUM & | GetFrustum () const | 
| const SFVEC3F & | GetLookAtPos () const | 
| void | SetRotationMatrix (const glm::mat4 &aRotation) | 
| Set the rotation matrix to be applied in a transformation camera, without making any new calculations on camera.   | |
| void | SetViewMatrix (glm::mat4 aViewMatrix) | 
| Set the affine matrix to be applied to a transformation camera.   | |
| void | SetBoardLookAtPos (const SFVEC3F &aBoardPos) | 
| void | SetLookAtPos_T1 (const SFVEC3F &aLookAtPos) | 
| const SFVEC3F & | GetLookAtPos_T1 () const | 
| const SFVEC3F & | GetCameraPos () const | 
| const SFVEC3F & | GetCameraInitPos () const | 
| float | GetCameraMinDimension () const | 
| virtual void | Drag (const wxPoint &aNewMousePosition)=0 | 
| Calculate a new mouse drag position.   | |
| virtual void | Pan (const wxPoint &aNewMousePosition)=0 | 
| virtual void | Pan (const SFVEC3F &aDeltaOffsetInc)=0 | 
| virtual void | Pan_T1 (const SFVEC3F &aDeltaOffsetInc)=0 | 
| virtual void | Reset () | 
| Reset the camera to initial state.   | |
| virtual void | Reset_T1 () | 
| void | ResetXYpos () | 
| void | ResetXYpos_T1 () | 
| const wxPoint & | GetCurMousePosition () | 
| Get the current mouse position.   | |
| void | SetCurMousePosition (const wxPoint &aPosition) | 
| Update the current mouse position without make any new calculations on camera.   | |
| void | ToggleProjection () | 
| PROJECTION_TYPE | GetProjection () | 
| void | SetProjection (PROJECTION_TYPE aProjection) | 
| bool | SetCurWindowSize (const wxSize &aSize) | 
| Update the windows size of the camera.   | |
| void | ZoomReset () | 
| bool | Zoom (float aFactor) | 
| bool | Zoom_T1 (float aFactor) | 
| float | GetZoom () const | 
| float | GetMinZoom () | 
| void | SetMinZoom (float minZoom) | 
| float | GetMaxZoom () | 
| void | SetMaxZoom (float maxZoom) | 
| bool | ViewCommand_T1 (VIEW3D_TYPE aRequestedView) | 
| void | RotateScreen (float aAngleInRadians) | 
| Rotates the camera in screen plane.   | |
| void | RotateX (float aAngleInRadians) | 
| void | RotateY (float aAngleInRadians) | 
| void | RotateZ (float aAngleInRadians) | 
| void | RotateX_T1 (float aAngleInRadians) | 
| void | RotateY_T1 (float aAngleInRadians) | 
| void | RotateZ_T1 (float aAngleInRadians) | 
| virtual void | SetT0_and_T1_current_T () | 
| This will set T0 and T1 with the current values.   | |
| virtual void | Interpolate (float t) | 
| It will update the matrix to interpolate between T0 and T1 values.   | |
| void | SetInterpolateMode (CAMERA_INTERPOLATION aInterpolateMode) | 
| bool | ParametersChanged () | 
| bool | ParametersChangedQuery () const | 
| void | MakeRay (const SFVEC2I &aWindowPos, SFVEC3F &aOutOrigin, SFVEC3F &aOutDirection) const | 
| Make a ray based on a windows screen position.   | |
| void | MakeRay (const SFVEC2F &aWindowPos, SFVEC3F &aOutOrigin, SFVEC3F &aOutDirection) const | 
| Make a ray based on a windows screen position, it will interpolate based on the aWindowPos.   | |
| void | MakeRayAtCurrentMousePosition (SFVEC3F &aOutOrigin, SFVEC3F &aOutDirection) const | 
| Make a ray based on the latest mouse position.   | |
| void | Update () | 
| Update the camera.   | |
Static Public Attributes | |
| static const float | DEFAULT_MIN_ZOOM = 0.020f | 
| static const float | DEFAULT_MAX_ZOOM = 2.0f | 
Protected Member Functions | |
| void | zoomChanged () | 
| void | rebuildProjection () | 
| void | updateFrustum () | 
| void | updateViewMatrix () | 
| void | updateRotationMatrix () | 
Protected Attributes | |
| float | m_zoom | 
| 3D zoom value – Z-distance is scaled by it   | |
| float | m_zoom_t0 | 
| float | m_zoom_t1 | 
| float | m_minZoom | 
| Possible 3D zoom range.   | |
| float | m_maxZoom | 
| SFVEC2I | m_windowSize | 
| The window size that this camera is working.   | |
| wxPoint | m_lastPosition | 
| The last mouse position in the screen.   | |
| glm::mat4 | m_rotationMatrix | 
| glm::mat4 | m_rotationMatrixAux | 
| glm::mat4 | m_viewMatrix | 
| glm::mat4 | m_viewMatrixInverse | 
| glm::mat4 | m_projectionMatrix | 
| glm::mat4 | m_projectionMatrixInv | 
| PROJECTION_TYPE | m_projectionType | 
| CAMERA_FRUSTUM | m_frustum | 
| SFVEC3F | m_right | 
| SFVEC3F | m_up | 
| SFVEC3F | m_dir | 
| SFVEC3F | m_pos | 
| SFVEC2F | m_focalLen | 
| SFVEC3F | m_camera_pos_init | 
| SFVEC3F | m_camera_pos | 
| SFVEC3F | m_camera_pos_t0 | 
| SFVEC3F | m_camera_pos_t1 | 
| SFVEC3F | m_lookat_pos | 
| SFVEC3F | m_lookat_pos_t0 | 
| SFVEC3F | m_lookat_pos_t1 | 
| SFVEC3F | m_board_lookat_pos_init | 
| Default boardlookat position (the board center).   | |
| SFVEC3F | m_rotate_aux | 
| Stores the rotation angle auxiliary.   | |
| SFVEC3F | m_rotate_aux_t0 | 
| SFVEC3F | m_rotate_aux_t1 | 
| CAMERA_INTERPOLATION | m_interpolation_mode | 
| std::vector< float > | m_scr_nX | 
| Precalc values array used to calc ray for each pixel (constant for the same window size).   | |
| std::vector< float > | m_scr_nY | 
| std::vector< SFVEC3F > | m_right_nX | 
| Precalc values array used to calc ray for each pixel, for X and Y axis of each new camera position.   | |
| std::vector< SFVEC3F > | m_up_nY | 
| bool | m_parametersChanged | 
| Set to true if any of the parameters in the camera was changed.   | |
Static Protected Attributes | |
| static const wxChar * | m_logTrace = wxT( "KI_TRACE_CAMERA" ) | 
| Trace mask used to enable or disable the trace output of this class.   | |
A class used to derive camera objects from.
It must be derived by other classes to implement a real camera object.
      
  | 
  explicit | 
Initialize a camera.
| aInitialDistance | Initial Z-distance to the board | 
Definition at line 54 of file camera.cpp.
References CAMERA(), and PERSPECTIVE.
Referenced by CAMERA(), TRACK_BALL::TRACK_BALL(), and TRACK_BALL::TRACK_BALL().
      
  | 
  explicit | 
Definition at line 61 of file camera.cpp.
References BEZIER, DEFAULT_MAX_ZOOM, DEFAULT_MIN_ZOOM, m_board_lookat_pos_init, m_camera_pos_init, m_interpolation_mode, m_logTrace, m_maxZoom, m_minZoom, m_projectionType, m_windowSize, and Reset().
      
  | 
  pure virtual | 
Calculate a new mouse drag position.
Implemented in TRACK_BALL.
      
  | 
  inline | 
Definition at line 170 of file camera.h.
References m_camera_pos_init.
| float CAMERA::GetCameraMinDimension | ( | ) | const | 
Definition at line 486 of file camera.cpp.
References m_camera_pos_init, and m_frustum.
      
  | 
  inline | 
Definition at line 169 of file camera.h.
References m_camera_pos.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 137 of file camera.h.
References m_focalLen.
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 141 of file camera.h.
References m_lookat_pos.
      
  | 
  inline | 
Definition at line 167 of file camera.h.
References m_lookat_pos_t1.
Referenced by PCBNEW_JOBS_HANDLER::JobExportRender().
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 205 of file camera.h.
References m_projectionType.
| const glm::mat4 & CAMERA::GetProjectionMatrix | ( | ) | const | 
Definition at line 474 of file camera.cpp.
References m_projectionMatrix.
| const glm::mat4 & CAMERA::GetProjectionMatrixInv | ( | ) | const | 
Definition at line 480 of file camera.cpp.
References m_projectionMatrixInv.
      
  | 
  inline | 
| glm::mat4 CAMERA::GetRotationMatrix | ( | ) | const | 
Get the rotation matrix to be applied in a transformation camera.
Definition at line 241 of file camera.cpp.
References m_rotationMatrix, and m_rotationMatrixAux.
Referenced by RotateScreen().
      
  | 
  inline | 
| const glm::mat4 & CAMERA::GetViewMatrix | ( | ) | const | 
Definition at line 510 of file camera.cpp.
References m_viewMatrix.
| const glm::mat4 & CAMERA::GetViewMatrix_Inv | ( | ) | const | 
Definition at line 548 of file camera.cpp.
References m_viewMatrixInverse.
      
  | 
  virtual | 
It will update the matrix to interpolate between T0 and T1 values.
| t | the interpolation time, between 0.0f and 1.0f (it will clamp if >1). | 
Reimplemented in TRACK_BALL.
Definition at line 712 of file camera.cpp.
References m_camera_pos, m_camera_pos_t0, m_camera_pos_t1, m_lookat_pos, m_lookat_pos_t0, m_lookat_pos_t1, m_parametersChanged, m_rotate_aux, m_rotate_aux_t0, m_rotate_aux_t1, m_zoom, m_zoom_t0, m_zoom_t1, rebuildProjection(), and updateRotationMatrix().
Referenced by TRACK_BALL::Interpolate().
| void CAMERA::MakeRay | ( | const SFVEC2F & | aWindowPos, | 
| SFVEC3F & | aOutOrigin, | ||
| SFVEC3F & | aOutDirection ) const | 
Make a ray based on a windows screen position, it will interpolate based on the aWindowPos.
| aWindowPos | the windows buffer position (float value). | 
| aOutOrigin | out origin position of the ray. | 
| aOutDirection | out direction. | 
Definition at line 430 of file camera.cpp.
References m_dir, m_frustum, m_pos, m_projectionType, m_right_nX, m_up_nY, m_windowSize, ORTHO, and PERSPECTIVE.
| void CAMERA::MakeRay | ( | const SFVEC2I & | aWindowPos, | 
| SFVEC3F & | aOutOrigin, | ||
| SFVEC3F & | aOutDirection ) const | 
Make a ray based on a windows screen position.
| aWindowPos | the windows buffer position. | 
| aOutOrigin | out origin position of the ray. | 
| aOutDirection | out direction | 
Definition at line 408 of file camera.cpp.
References m_dir, m_frustum, m_pos, m_projectionType, m_right_nX, m_up_nY, m_windowSize, ORTHO, and PERSPECTIVE.
Referenced by MakeRayAtCurrentMousePosition(), RAYPACKET::RAYPACKET(), RAYPACKET::RAYPACKET(), RAYPACKET::RAYPACKET(), RAYPACKET_InitRays(), and RAYPACKET_InitRays_with2DDisplacement().
Make a ray based on the latest mouse position.
| aOutOrigin | out origin position of the ray. | 
| aOutDirection | out direction. | 
Definition at line 462 of file camera.cpp.
References m_lastPosition, m_windowSize, and MakeRay().
      
  | 
  pure virtual | 
Implemented in TRACK_BALL.
      
  | 
  pure virtual | 
Implemented in TRACK_BALL.
      
  | 
  pure virtual | 
Implemented in TRACK_BALL.
References Reset_T1(), ResetXYpos(), and ResetXYpos_T1().
| bool CAMERA::ParametersChanged | ( | ) | 
Definition at line 730 of file camera.cpp.
References m_parametersChanged.
Referenced by PCBNEW_JOBS_HANDLER::JobExportRender().
      
  | 
  inline | 
Definition at line 277 of file camera.h.
References m_parametersChanged.
      
  | 
  protected | 
Definition at line 255 of file camera.cpp.
References m_camera_pos_init, m_focalLen, m_frustum, m_maxZoom, m_projectionMatrix, m_projectionMatrixInv, m_projectionType, m_scr_nX, m_scr_nY, m_windowSize, m_zoom, ORTHO, PERSPECTIVE, and updateFrustum().
Referenced by Interpolate(), Reset(), SetCurWindowSize(), ToggleProjection(), Zoom(), zoomChanged(), and ZoomReset().
      
  | 
  virtual | 
Reset the camera to initial state.
Definition at line 78 of file camera.cpp.
References m_board_lookat_pos_init, m_camera_pos, m_camera_pos_init, m_camera_pos_t0, m_camera_pos_t1, m_lastPosition, m_lookat_pos, m_lookat_pos_t0, m_lookat_pos_t1, m_parametersChanged, m_projectionMatrix, m_projectionMatrixInv, m_rotate_aux, m_rotate_aux_t0, m_rotate_aux_t1, m_rotationMatrix, m_rotationMatrixAux, m_scr_nX, m_scr_nY, m_viewMatrix, m_viewMatrixInverse, m_zoom, m_zoom_t0, m_zoom_t1, rebuildProjection(), updateRotationMatrix(), and updateViewMatrix().
Referenced by CAMERA().
      
  | 
  virtual | 
Reimplemented in TRACK_BALL.
Definition at line 161 of file camera.cpp.
References m_board_lookat_pos_init, m_camera_pos_init, m_camera_pos_t1, m_lookat_pos_t1, M_PI, m_rotate_aux_t0, m_rotate_aux_t1, and m_zoom_t1.
Referenced by Pan_T1(), TRACK_BALL::Reset_T1(), and ViewCommand_T1().
| void CAMERA::ResetXYpos | ( | ) | 
Definition at line 492 of file camera.cpp.
References m_camera_pos, m_parametersChanged, updateFrustum(), and updateViewMatrix().
Referenced by Pan_T1().
| void CAMERA::ResetXYpos_T1 | ( | ) | 
| void CAMERA::RotateScreen | ( | float | aAngleInRadians | ) | 
Rotates the camera in screen plane.
Definition at line 651 of file camera.cpp.
References GetDir(), GetRotationMatrix(), SetRotationMatrix(), and updateRotationMatrix().
| void CAMERA::RotateX | ( | float | aAngleInRadians | ) | 
Definition at line 659 of file camera.cpp.
References m_rotate_aux, and updateRotationMatrix().
| void CAMERA::RotateX_T1 | ( | float | aAngleInRadians | ) | 
Definition at line 680 of file camera.cpp.
References m_rotate_aux_t1.
Referenced by PCBNEW_JOBS_HANDLER::JobExportRender(), and ViewCommand_T1().
| void CAMERA::RotateY | ( | float | aAngleInRadians | ) | 
Definition at line 666 of file camera.cpp.
References m_rotate_aux, and updateRotationMatrix().
| void CAMERA::RotateY_T1 | ( | float | aAngleInRadians | ) | 
Definition at line 686 of file camera.cpp.
References m_rotate_aux_t1.
Referenced by PCBNEW_JOBS_HANDLER::JobExportRender(), and ViewCommand_T1().
| void CAMERA::RotateZ | ( | float | aAngleInRadians | ) | 
Definition at line 673 of file camera.cpp.
References m_rotate_aux, and updateRotationMatrix().
| void CAMERA::RotateZ_T1 | ( | float | aAngleInRadians | ) | 
Definition at line 692 of file camera.cpp.
References m_rotate_aux_t1.
Referenced by PCBNEW_JOBS_HANDLER::JobExportRender(), and ViewCommand_T1().
| void CAMERA::SetBoardLookAtPos | ( | const SFVEC3F & | aBoardPos | ) | 
Definition at line 182 of file camera.cpp.
References m_board_lookat_pos_init, m_lookat_pos, m_parametersChanged, updateFrustum(), and updateViewMatrix().
| void CAMERA::SetCurMousePosition | ( | const wxPoint & | aPosition | ) | 
Update the current mouse position without make any new calculations on camera.
Definition at line 554 of file camera.cpp.
References m_lastPosition.
| bool CAMERA::SetCurWindowSize | ( | const wxSize & | aSize | ) | 
Update the windows size of the camera.
Definition at line 571 of file camera.cpp.
References m_windowSize, and rebuildProjection().
Referenced by EDA_3D_VIEWER_FRAME::captureScreenshot(), and PCBNEW_JOBS_HANDLER::JobExportRender().
      
  | 
  inline | 
Definition at line 264 of file camera.h.
References m_interpolation_mode.
      
  | 
  inline | 
Definition at line 162 of file camera.h.
References m_lookat_pos_t1.
Referenced by PCBNEW_JOBS_HANDLER::JobExportRender().
      
  | 
  inline | 
Definition at line 231 of file camera.h.
References m_maxZoom, and zoomChanged().
      
  | 
  inline | 
Definition at line 224 of file camera.h.
References m_minZoom, and zoomChanged().
      
  | 
  inline | 
Definition at line 206 of file camera.h.
References m_projectionType.
Referenced by PCBNEW_JOBS_HANDLER::JobExportRender().
| void CAMERA::SetRotationMatrix | ( | const glm::mat4 & | aRotation | ) | 
Set the rotation matrix to be applied in a transformation camera, without making any new calculations on camera.
| aRotation | is the total rotation matrix of the camera. | 
Definition at line 247 of file camera.cpp.
References m_parametersChanged, m_rotationMatrix, and m_rotationMatrixAux.
Referenced by RotateScreen(), and SetViewMatrix().
      
  | 
  virtual | 
This will set T0 and T1 with the current values.
Reimplemented in TRACK_BALL.
Definition at line 698 of file camera.cpp.
References m_camera_pos, m_camera_pos_t0, m_camera_pos_t1, m_lookat_pos, m_lookat_pos_t0, m_lookat_pos_t1, m_rotate_aux, m_rotate_aux_t0, m_rotate_aux_t1, m_zoom, m_zoom_t0, and m_zoom_t1.
Referenced by TRACK_BALL::SetT0_and_T1_current_T(), and ViewCommand_T1().
| void CAMERA::SetViewMatrix | ( | glm::mat4 | aViewMatrix | ) | 
Set the affine matrix to be applied to a transformation camera.
| aViewMatrix | is the affine matrix of the camera. The affine matrix maps coordinates in the world frame to those in the camera frame. | 
Definition at line 516 of file camera.cpp.
References m_camera_pos, m_camera_pos_init, m_logTrace, m_lookat_pos, m_maxZoom, m_minZoom, m_rotationMatrix, m_rotationMatrixAux, m_viewMatrix, m_zoom, and SetRotationMatrix().
| void CAMERA::ToggleProjection | ( | ) | 
Definition at line 560 of file camera.cpp.
References m_projectionType, ORTHO, PERSPECTIVE, and rebuildProjection().
      
  | 
  inline | 
      
  | 
  protected | 
Definition at line 349 of file camera.cpp.
References m_dir, m_frustum, m_pos, m_right, m_right_nX, m_scr_nX, m_scr_nY, m_up, m_up_nY, m_viewMatrix, m_viewMatrixInverse, and m_windowSize.
Referenced by TRACK_BALL::Drag(), TRACK_BALL::Pan(), TRACK_BALL::Pan(), rebuildProjection(), ResetXYpos(), SetBoardLookAtPos(), Update(), and updateRotationMatrix().
      
  | 
  protected | 
Definition at line 220 of file camera.cpp.
References m_parametersChanged, m_rotate_aux, m_rotationMatrixAux, normalise2PI(), updateFrustum(), and updateViewMatrix().
Referenced by Interpolate(), Reset(), RotateScreen(), RotateX(), RotateY(), and RotateZ().
      
  | 
  protected | 
Definition at line 212 of file camera.cpp.
References m_camera_pos, m_lookat_pos, m_rotationMatrix, m_rotationMatrixAux, and m_viewMatrix.
Referenced by TRACK_BALL::Drag(), TRACK_BALL::Pan(), TRACK_BALL::Pan(), Reset(), ResetXYpos(), SetBoardLookAtPos(), updateRotationMatrix(), Zoom(), zoomChanged(), and ZoomReset().
| bool CAMERA::ViewCommand_T1 | ( | VIEW3D_TYPE | aRequestedView | ) | 
Definition at line 110 of file camera.cpp.
References Reset_T1(), RotateX_T1(), RotateY_T1(), RotateZ_T1(), SetT0_and_T1_current_T(), VIEW3D_BACK, VIEW3D_BOTTOM, VIEW3D_FLIP, VIEW3D_FRONT, VIEW3D_LEFT, VIEW3D_RIGHT, and VIEW3D_TOP.
Referenced by PCBNEW_JOBS_HANDLER::JobExportRender().
| bool CAMERA::Zoom | ( | float | aFactor | ) | 
Definition at line 598 of file camera.cpp.
References m_camera_pos, m_maxZoom, m_minZoom, m_zoom, rebuildProjection(), updateViewMatrix(), and zoom.
| bool CAMERA::Zoom_T1 | ( | float | aFactor | ) | 
Definition at line 629 of file camera.cpp.
References m_camera_pos_init, m_camera_pos_t1, m_maxZoom, m_minZoom, m_zoom, and m_zoom_t1.
Referenced by PCBNEW_JOBS_HANDLER::JobExportRender().
      
  | 
  protected | 
Definition at line 197 of file camera.cpp.
References m_camera_pos, m_camera_pos_init, m_maxZoom, m_minZoom, m_zoom, rebuildProjection(), and updateViewMatrix().
Referenced by SetMaxZoom(), and SetMinZoom().
| void CAMERA::ZoomReset | ( | ) | 
Definition at line 587 of file camera.cpp.
References m_camera_pos, m_camera_pos_init, m_zoom, rebuildProjection(), and updateViewMatrix().
      
  | 
  static | 
Definition at line 106 of file camera.h.
Referenced by CAMERA(), and RENDER_3D_RAYTRACE_BASE::Reload().
      
  | 
  static | 
      
  | 
  protected | 
Default boardlookat position (the board center).
Definition at line 367 of file camera.h.
Referenced by CAMERA(), Reset(), Reset_T1(), and SetBoardLookAtPos().
      
  | 
  protected | 
Definition at line 360 of file camera.h.
Referenced by GetCameraPos(), Interpolate(), TRACK_BALL::Pan(), TRACK_BALL::Pan(), TRACK_BALL::Pan_T1(), Reset(), ResetXYpos(), SetT0_and_T1_current_T(), SetViewMatrix(), updateViewMatrix(), Zoom(), zoomChanged(), and ZoomReset().
      
  | 
  protected | 
Definition at line 359 of file camera.h.
Referenced by CAMERA(), GetCameraInitPos(), GetCameraMinDimension(), rebuildProjection(), Reset(), Reset_T1(), SetViewMatrix(), Zoom_T1(), zoomChanged(), and ZoomReset().
      
  | 
  protected | 
Definition at line 361 of file camera.h.
Referenced by Interpolate(), Reset(), and SetT0_and_T1_current_T().
      
  | 
  protected | 
Definition at line 362 of file camera.h.
Referenced by Interpolate(), TRACK_BALL::Pan_T1(), Reset(), Reset_T1(), ResetXYpos_T1(), SetT0_and_T1_current_T(), and Zoom_T1().
      
  | 
  protected | 
      
  | 
  protected | 
Definition at line 357 of file camera.h.
Referenced by GetFocalLen(), and rebuildProjection().
      
  | 
  protected | 
Definition at line 350 of file camera.h.
Referenced by GetCameraMinDimension(), GetFar(), GetFrustum(), GetNear(), MakeRay(), MakeRay(), TRACK_BALL::Pan(), rebuildProjection(), and updateFrustum().
      
  | 
  protected | 
Definition at line 373 of file camera.h.
Referenced by CAMERA(), TRACK_BALL::Interpolate(), and SetInterpolateMode().
      
  | 
  protected | 
The last mouse position in the screen.
Definition at line 340 of file camera.h.
Referenced by TRACK_BALL::Drag(), GetCurMousePosition(), MakeRayAtCurrentMousePosition(), TRACK_BALL::Pan(), Reset(), and SetCurMousePosition().
      
  | 
  protected | 
Definition at line 364 of file camera.h.
Referenced by GetLookAtPos(), Interpolate(), Reset(), SetBoardLookAtPos(), SetT0_and_T1_current_T(), SetViewMatrix(), and updateViewMatrix().
      
  | 
  protected | 
Definition at line 365 of file camera.h.
Referenced by Interpolate(), Reset(), and SetT0_and_T1_current_T().
      
  | 
  protected | 
Definition at line 366 of file camera.h.
Referenced by GetLookAtPos_T1(), Interpolate(), Reset(), Reset_T1(), SetLookAtPos_T1(), and SetT0_and_T1_current_T().
      
  | 
  protected | 
Definition at line 330 of file camera.h.
Referenced by CAMERA(), GetMaxZoom(), rebuildProjection(), SetMaxZoom(), SetViewMatrix(), Zoom(), Zoom_T1(), and zoomChanged().
      
  | 
  protected | 
Possible 3D zoom range.
Definition at line 329 of file camera.h.
Referenced by CAMERA(), GetMinZoom(), SetMinZoom(), SetViewMatrix(), Zoom(), Zoom_T1(), and zoomChanged().
      
  | 
  protected | 
Set to true if any of the parameters in the camera was changed.
Definition at line 391 of file camera.h.
Referenced by TRACK_BALL::Drag(), Interpolate(), TRACK_BALL::Pan(), TRACK_BALL::Pan(), ParametersChanged(), ParametersChangedQuery(), Reset(), ResetXYpos(), SetBoardLookAtPos(), SetRotationMatrix(), and updateRotationMatrix().
      
  | 
  protected | 
      
  | 
  protected | 
Definition at line 346 of file camera.h.
Referenced by GetProjectionMatrix(), rebuildProjection(), and Reset().
      
  | 
  protected | 
Definition at line 347 of file camera.h.
Referenced by GetProjectionMatrixInv(), rebuildProjection(), and Reset().
      
  | 
  protected | 
Definition at line 348 of file camera.h.
Referenced by CAMERA(), GetProjection(), MakeRay(), MakeRay(), TRACK_BALL::Pan(), rebuildProjection(), SetProjection(), and ToggleProjection().
      
  | 
  protected | 
Definition at line 352 of file camera.h.
Referenced by GetRight(), and updateFrustum().
      
  | 
  protected | 
      
  | 
  protected | 
Stores the rotation angle auxiliary.
Definition at line 369 of file camera.h.
Referenced by Interpolate(), Reset(), RotateX(), RotateY(), RotateZ(), SetT0_and_T1_current_T(), and updateRotationMatrix().
      
  | 
  protected | 
Definition at line 370 of file camera.h.
Referenced by Interpolate(), Reset(), Reset_T1(), and SetT0_and_T1_current_T().
      
  | 
  protected | 
Definition at line 371 of file camera.h.
Referenced by Interpolate(), Reset(), Reset_T1(), RotateX_T1(), RotateY_T1(), RotateZ_T1(), and SetT0_and_T1_current_T().
      
  | 
  protected | 
Definition at line 342 of file camera.h.
Referenced by TRACK_BALL::Drag(), GetRotationMatrix(), TRACK_BALL::Interpolate(), Reset(), SetRotationMatrix(), TRACK_BALL::SetT0_and_T1_current_T(), SetViewMatrix(), and updateViewMatrix().
      
  | 
  protected | 
Definition at line 343 of file camera.h.
Referenced by GetRotationMatrix(), Reset(), SetRotationMatrix(), SetViewMatrix(), updateRotationMatrix(), and updateViewMatrix().
      
  | 
  protected | 
Precalc values array used to calc ray for each pixel (constant for the same window size).
Definition at line 378 of file camera.h.
Referenced by rebuildProjection(), Reset(), and updateFrustum().
      
  | 
  protected | 
Definition at line 379 of file camera.h.
Referenced by rebuildProjection(), Reset(), and updateFrustum().
      
  | 
  protected | 
Definition at line 353 of file camera.h.
Referenced by GetUp(), and updateFrustum().
      
  | 
  protected | 
Definition at line 386 of file camera.h.
Referenced by MakeRay(), MakeRay(), and updateFrustum().
      
  | 
  protected | 
Definition at line 344 of file camera.h.
Referenced by GetViewMatrix(), Reset(), SetViewMatrix(), updateFrustum(), and updateViewMatrix().
      
  | 
  protected | 
Definition at line 345 of file camera.h.
Referenced by GetViewMatrix_Inv(), Reset(), and updateFrustum().
      
  | 
  protected | 
The window size that this camera is working.
Definition at line 335 of file camera.h.
Referenced by CAMERA(), TRACK_BALL::Drag(), MakeRay(), MakeRay(), MakeRayAtCurrentMousePosition(), TRACK_BALL::Pan(), rebuildProjection(), SetCurWindowSize(), and updateFrustum().
      
  | 
  protected | 
3D zoom value – Z-distance is scaled by it
Definition at line 322 of file camera.h.
Referenced by GetZoom(), Interpolate(), rebuildProjection(), Reset(), SetT0_and_T1_current_T(), SetViewMatrix(), Zoom(), Zoom_T1(), zoomChanged(), and ZoomReset().
      
  | 
  protected | 
Definition at line 323 of file camera.h.
Referenced by Interpolate(), Reset(), and SetT0_and_T1_current_T().
      
  | 
  protected | 
Definition at line 324 of file camera.h.
Referenced by Interpolate(), Reset(), Reset_T1(), SetT0_and_T1_current_T(), and Zoom_T1().