e57::PinholeRepresentation Struct Reference

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

#include <E57SimpleData.h>

Public Member Functions

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

Public Attributes

double focalLength { 0. }
 The camera's focal length (in meters). Shall be positive. More...
 
int32_t imageHeight { 0 }
 The image height (in pixels). Shall be positive. 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...
 
int64_t jpegImageSize { 0 }
 Size of JPEG format image data in BlobNode. More...
 
double pixelHeight { 0. }
 The height of the pixels in the camera (in meters). Shall be positive. More...
 
double pixelWidth { 0. }
 The width of the pixels in the camera (in meters). Shall be positive. More...
 
int64_t pngImageSize { 0 }
 Size of PNG format image data in BlobNode. More...
 
double principalPointX
 The X coordinate in the image of the principal point, (in pixels). More...
 
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.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

Member Data Documentation

◆ focalLength

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

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

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.

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.

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.

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.

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.

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.

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.

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.

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).

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


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