![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
OpenGL camera parameters. More...
#include <ecvGenericDisplayTools.h>

Public Member Functions | |
| ccGLCameraParameters () | |
| bool | project (const CCVector3d &input3D, CCVector3d &output2D, bool *inFrustum=nullptr) const |
| Projects a 3D point in 2D (+ normalized 'z' coordinate) More... | |
| bool | project (const CCVector3 &input3D, CCVector3d &output2D, bool *inFrustum=nullptr) const |
| Projects a 3D point in 2D (+ normalized 'z' coordinate) More... | |
| bool | unproject (const CCVector3d &input2D, CCVector3d &output3D) const |
| Unprojects a 2D point (+ normalized 'z' coordinate) in 3D. More... | |
| bool | unproject (const CCVector3 &input2D, CCVector3d &output3D) const |
| Unprojects a 2D point (+ normalized 'z' coordinate) in 3D. More... | |
Public Attributes | |
| ccGLMatrixd | modelViewMat |
| Model view matrix (GL_MODELVIEW) More... | |
| ccGLMatrixd | projectionMat |
| Projection matrix (GL_PROJECTION) More... | |
| int | viewport [4] |
| Viewport (GL_VIEWPORT) More... | |
| bool | perspective |
| Perspective mode. More... | |
| float | fov_deg |
| F.O.V. (in degrees) - perspective mode only. More... | |
| float | pixelSize |
| Pixel size (i.e. zoom) - non perspective mode only. More... | |
OpenGL camera parameters.
Definition at line 554 of file ecvGenericDisplayTools.h.
|
inline |
Definition at line 555 of file ecvGenericDisplayTools.h.
|
inline |
Projects a 3D point in 2D (+ normalized 'z' coordinate)
Definition at line 569 of file ecvGenericDisplayTools.h.
References Tuple3Tpl< Type >::data().
|
inline |
Projects a 3D point in 2D (+ normalized 'z' coordinate)
Definition at line 561 of file ecvGenericDisplayTools.h.
References Tuple3Tpl< Type >::data().
Referenced by define_ccGenericDisplayTools(), ccGraphicalSegmentationTool::doActionUseExistingPolyline(), ccSymbolCloud::drawMeOnly(), ccGraphicalSegmentationTool::segment(), and ccTracePolylineTool::updatePolyLineTip().
|
inline |
Unprojects a 2D point (+ normalized 'z' coordinate) in 3D.
Definition at line 585 of file ecvGenericDisplayTools.h.
References Tuple3Tpl< Type >::data().
|
inline |
Unprojects a 2D point (+ normalized 'z' coordinate) in 3D.
Definition at line 578 of file ecvGenericDisplayTools.h.
References Tuple3Tpl< Type >::data().
Referenced by define_ccGenericDisplayTools(), and qCanupo2DViewDialog::getClickPos().
| float ccGLCameraParameters::fov_deg |
F.O.V. (in degrees) - perspective mode only.
Definition at line 601 of file ecvGenericDisplayTools.h.
Referenced by define_ccGenericDisplayTools().
| ccGLMatrixd ccGLCameraParameters::modelViewMat |
Model view matrix (GL_MODELVIEW)
Definition at line 593 of file ecvGenericDisplayTools.h.
Referenced by define_ccGenericDisplayTools(), ccPointPair::drawMeOnly(), ccTrace::drawMeOnly(), and ccCloudLayersHelper::projectCloud().
| bool ccGLCameraParameters::perspective |
Perspective mode.
Definition at line 599 of file ecvGenericDisplayTools.h.
Referenced by define_ccGenericDisplayTools().
| float ccGLCameraParameters::pixelSize |
Pixel size (i.e. zoom) - non perspective mode only.
Definition at line 603 of file ecvGenericDisplayTools.h.
Referenced by define_ccGenericDisplayTools().
| ccGLMatrixd ccGLCameraParameters::projectionMat |
Projection matrix (GL_PROJECTION)
Definition at line 595 of file ecvGenericDisplayTools.h.
Referenced by define_ccGenericDisplayTools().
| int ccGLCameraParameters::viewport[4] |
Viewport (GL_VIEWPORT)
Definition at line 597 of file ecvGenericDisplayTools.h.
Referenced by ccGraphicalSegmentationTool::doExportSegmentationPolyline().