qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
Public Member Functions | Public Attributes | List of all members
ccCameraSensor::FrustumInformation Struct Reference

Frustum information structure. More...

#include <ccCameraSensor.h>

Collaboration diagram for ccCameraSensor::FrustumInformation:
Collaboration graph
[legend]

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
 
ccPointCloudfrustumCorners
 
ccMeshfrustumHull
 
CCVector3 center
 

Detailed Description

Frustum information structure.

Used to draw the frustum associated to a camera sensor.

Member Function Documentation

◆ initFrustumCorners()

bool ccCameraSensor::FrustumInformation::initFrustumCorners ( )

Reserves memory for the frustum corners cloud.

Warning: reset the cloud contents!

◆ initFrustumHull()

bool ccCameraSensor::FrustumInformation::initFrustumHull ( )

Creates the frustum hull mesh.

The frustum corners must have already been setup!

Returns
success

Member Data Documentation

◆ center

CCVector3 ccCameraSensor::FrustumInformation::center

center of the circumscribed sphere


The documentation for this struct was generated from the following files: