ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
e57::PinholeRepresentation Struct Reference

Stores an image that is mapped from 3D using the pinhole camera projection model. More...

#include <E57SimpleData.h>

Collaboration diagram for e57::PinholeRepresentation:

Public Member Functions

bool operator== (const PinholeRepresentation &rhs) const
 
bool operator!= (const PinholeRepresentation &rhs) const
 

Public Attributes

int64_t jpegImageSize { 0 }
 Size of JPEG format image data in BlobNode. More...
 
int64_t pngImageSize { 0 }
 Size of PNG format image data in BlobNode. More...
 
int64_t imageMaskSize { 0 }
 Size of PNG format image mask in BlobNode. More...
 
int32_t imageWidth { 0 }
 The image width (in pixels). Shall be positive. More...
 
int32_t imageHeight { 0 }
 The image height (in pixels). Shall be positive. More...
 
double focalLength { 0. }
 The camera's focal length (in meters). Shall be positive. More...
 
double pixelWidth { 0. }
 The width of the pixels in the camera (in meters). Shall be positive. More...
 
double pixelHeight { 0. }
 The height of the pixels in the camera (in meters). Shall be positive. More...
 
double principalPointX
 
double principalPointY { 0. }
 The Y coordinate in the image of the principal point (in pixels). More...
 

Detailed Description

Stores an image that is mapped from 3D using the pinhole camera projection model.

Definition at line 522 of file E57SimpleData.h.

Member Function Documentation

◆ operator!=()

bool e57::PinholeRepresentation::operator!= ( const PinholeRepresentation rhs) const
inline

Definition at line 546 of file E57SimpleData.h.

References cloudViewer::utility::operator==().

◆ operator==()

bool e57::PinholeRepresentation::operator== ( const PinholeRepresentation rhs) const
inline

Member Data Documentation

◆ focalLength

double e57::PinholeRepresentation::focalLength { 0. }

The camera's focal length (in meters). Shall be positive.

Definition at line 529 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().

◆ imageHeight

int32_t e57::PinholeRepresentation::imageHeight { 0 }

The image height (in pixels). Shall be positive.

Definition at line 528 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().

◆ imageMaskSize

int64_t e57::PinholeRepresentation::imageMaskSize { 0 }

Size of PNG format image mask in BlobNode.

Definition at line 526 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().

◆ imageWidth

int32_t e57::PinholeRepresentation::imageWidth { 0 }

The image width (in pixels). Shall be positive.

Definition at line 527 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().

◆ jpegImageSize

int64_t e57::PinholeRepresentation::jpegImageSize { 0 }

Size of JPEG format image data in BlobNode.

Definition at line 524 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().

◆ pixelHeight

double e57::PinholeRepresentation::pixelHeight { 0. }

The height of the pixels in the camera (in meters). Shall be positive.

Definition at line 531 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().

◆ pixelWidth

double e57::PinholeRepresentation::pixelWidth { 0. }

The width of the pixels in the camera (in meters). Shall be positive.

Definition at line 530 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().

◆ pngImageSize

int64_t e57::PinholeRepresentation::pngImageSize { 0 }

Size of PNG format image data in BlobNode.

Definition at line 525 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().

◆ principalPointX

double e57::PinholeRepresentation::principalPointX
Initial value:
{
0.
}

The X coordinate in the image of the principal point, (in pixels). The principal point is the intersection of the z axis of the camera coordinate frame with the image plane.

Definition at line 532 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().

◆ principalPointY

double e57::PinholeRepresentation::principalPointY { 0. }

The Y coordinate in the image of the principal point (in pixels).

Definition at line 536 of file E57SimpleData.h.

Referenced by e57::WriterImpl::NewImage2D(), operator==(), and e57::ReaderImpl::ReadImage2D().


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