qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
|
Frustum information structure. More...
#include <ccCameraSensor.h>
Public Member Functions | |
FrustumInformation () | |
Default initializer. | |
~FrustumInformation () | |
Destructor. | |
bool | initFrustumCorners () |
Reserves memory for the frustum corners cloud. More... | |
bool | initFrustumHull () |
Creates the frustum hull mesh. More... | |
Public Attributes | |
bool | isComputed |
bool | drawFrustum |
bool | drawSidePlanes |
ccPointCloud * | frustumCorners |
ccMesh * | frustumHull |
CCVector3 | center |
Frustum information structure.
Used to draw the frustum associated to a camera sensor.
bool ccCameraSensor::FrustumInformation::initFrustumCorners | ( | ) |
Reserves memory for the frustum corners cloud.
Warning: reset the cloud contents!
bool ccCameraSensor::FrustumInformation::initFrustumHull | ( | ) |
Creates the frustum hull mesh.
The frustum corners must have already been setup!
CCVector3 ccCameraSensor::FrustumInformation::center |
center of the circumscribed sphere