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

Grid structure. More...

#include <ccPointCloud.h>

Collaboration diagram for ccPointCloud::Grid:
Collaboration graph
[legend]

Public Types

using Shared = QSharedPointer< Grid >
 Shared type.
 

Public Member Functions

 Grid ()
 Default constructor.
 
 Grid (const Grid &grid)
 Copy constructor. More...
 
QImage toImage () const
 Converts the grid to an RGB image (needs colors)
 

Public Attributes

unsigned w
 Grid width.
 
unsigned h
 Grid height.
 
unsigned validCount
 Number of valid indexes.
 
unsigned minValidIndex
 Minimum valid index.
 
unsigned maxValidIndex
 Maximum valid index.
 
std::vector< int > indexes
 Grid indexes (size: w x h)
 
std::vector< ccColor::Rgbcolors
 Grid colors (size: w x h, or 0 = no color)
 
ccGLMatrixd sensorPosition
 Sensor position (expressed relatively to the cloud points)
 

Detailed Description

Grid structure.

Constructor & Destructor Documentation

◆ Grid()

ccPointCloud::Grid::Grid ( const Grid grid)
inline

Copy constructor.

Warning
May throw a bad_alloc exception

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