e57::ReaderImpl Class Reference

most of the functions follows Reader More...

#include <ReaderImpl.h>

Public Member Functions

bool Close ()
 
int64_t GetData3DCount () const
 
bool GetData3DSizes (int64_t dataIndex, int64_t &rowMax, int64_t &columnMax, int64_t &pointsSize, int64_t &groupsSize, int64_t &countSize, bool &bColumnIndex) const
 
bool GetE57Root (E57Root &fileHeader) const
 
int64_t GetImage2DCount () const
 
bool GetImage2DSizes (int64_t imageIndex, Image2DProjection &imageProjection, Image2DType &imageType, int64_t &imageWidth, int64_t &imageHeight, int64_t &imageSize, Image2DType &imageMaskType, Image2DType &imageVisualType) const
 
VectorNode GetRawData3D () const
 
StructureNode GetRawE57Root () const
 
VectorNode GetRawImages2D () const
 
ImageFile GetRawIMF () const
 
bool IsOpen () const
 
bool ReadData3D (int64_t dataIndex, Data3D &data3DHeader) const
 
bool ReadData3DGroupsData (int64_t dataIndex, int64_t groupCount, int64_t *idElementValue, int64_t *startPointIndex, int64_t *pointCount) const
 
 ReaderImpl (const ustring &filePath)
 
bool ReadImage2D (int64_t imageIndex, Image2D &Image2DHeader) const
 
int64_t ReadImage2DData (int64_t imageIndex, Image2DProjection imageProjection, Image2DType imageType, void *pBuffer, int64_t start, int64_t count) const
 
template<typename COORDTYPE >
CompressedVectorReader SetUpData3DPointsData (int64_t dataIndex, size_t pointCount, const Data3DPointsData_t< COORDTYPE > &buffers) const
 
 ~ReaderImpl ()
 

Detailed Description

most of the functions follows Reader

Constructor & Destructor Documentation

◆ ReaderImpl()

e57::ReaderImpl::ReaderImpl ( const ustring filePath)

◆ ~ReaderImpl()

e57::ReaderImpl::~ReaderImpl ( )

References Close(), and IsOpen().

Member Function Documentation

◆ Close()

bool e57::ReaderImpl::Close ( )

References e57::ImageFile::close(), and IsOpen().

Referenced by ~ReaderImpl().

◆ GetData3DCount()

int64_t e57::ReaderImpl::GetData3DCount ( ) const

◆ GetData3DSizes()

bool e57::ReaderImpl::GetData3DSizes ( int64_t  dataIndex,
int64_t &  rowMax,
int64_t &  columnMax,
int64_t &  pointsSize,
int64_t &  groupsSize,
int64_t &  countSize,
bool bColumnIndex 
) const

◆ GetE57Root()

◆ GetImage2DCount()

int64_t e57::ReaderImpl::GetImage2DCount ( ) const

◆ GetImage2DSizes()

bool e57::ReaderImpl::GetImage2DSizes ( int64_t  imageIndex,
Image2DProjection imageProjection,
Image2DType imageType,
int64_t &  imageWidth,
int64_t &  imageHeight,
int64_t &  imageSize,
Image2DType imageMaskType,
Image2DType imageVisualType 
) const

◆ GetRawData3D()

VectorNode e57::ReaderImpl::GetRawData3D ( ) const

◆ GetRawE57Root()

StructureNode e57::ReaderImpl::GetRawE57Root ( ) const

◆ GetRawImages2D()

VectorNode e57::ReaderImpl::GetRawImages2D ( ) const

◆ GetRawIMF()

ImageFile e57::ReaderImpl::GetRawIMF ( ) const

◆ IsOpen()

bool e57::ReaderImpl::IsOpen ( ) const

◆ ReadData3D()

bool e57::ReaderImpl::ReadData3D ( int64_t  dataIndex,
Data3D data3DHeader 
) const

References e57::Data3D::acquisitionEnd, e57::Data3D::acquisitionStart, e57::PointStandardizedFieldsAvailable::angleMaximum, e57::PointStandardizedFieldsAvailable::angleMinimum, e57::PointStandardizedFieldsAvailable::angleScaledInteger, e57::Data3D::atmosphericPressure, e57::SphericalBounds::azimuthEnd, e57::SphericalBounds::azimuthStart, e57::Data3D::cartesianBounds, e57::PointStandardizedFieldsAvailable::cartesianInvalidStateField, e57::PointStandardizedFieldsAvailable::cartesianXField, e57::PointStandardizedFieldsAvailable::cartesianYField, e57::PointStandardizedFieldsAvailable::cartesianZField, e57::VectorNode::childCount(), e57::PointStandardizedFieldsAvailable::colorBlueField, e57::ColorLimits::colorBlueMaximum, e57::ColorLimits::colorBlueMinimum, e57::PointStandardizedFieldsAvailable::colorGreenField, e57::ColorLimits::colorGreenMaximum, e57::ColorLimits::colorGreenMinimum, e57::Data3D::colorLimits, e57::PointStandardizedFieldsAvailable::colorRedField, e57::ColorLimits::colorRedMaximum, e57::ColorLimits::colorRedMinimum, e57::PointStandardizedFieldsAvailable::columnIndexField, e57::PointStandardizedFieldsAvailable::columnIndexMaximum, e57::IndexBounds::columnMaximum, e57::IndexBounds::columnMinimum, e57::DateTime::dateTimeValue, e57::Data3D::description, e57::E57_FLOAT, e57::E57_INTEGER, e57::E57_NOT_SCALED_USE_FLOAT, e57::E57_NOT_SCALED_USE_INTEGER, e57::E57_SCALED_INTEGER, e57::SphericalBounds::elevationMaximum, e57::SphericalBounds::elevationMinimum, e57::ImageFile::extensionsLookupPrefix(), e57::StructureNode::get(), e57::VectorNode::get(), e57::PointGroupingSchemes::groupingByLine, e57::GroupingByLine::groupsSize, e57::Data3D::guid, e57::GroupingByLine::idElementName, e57::Data3D::indexBounds, e57::PointStandardizedFieldsAvailable::intensityField, e57::Data3D::intensityLimits, e57::IntensityLimits::intensityMaximum, e57::IntensityLimits::intensityMinimum, e57::PointStandardizedFieldsAvailable::intensityScaledInteger, e57::DateTime::isAtomicClockReferenced, e57::PointStandardizedFieldsAvailable::isColorInvalidField, e57::StructureNode::isDefined(), e57::PointStandardizedFieldsAvailable::isIntensityInvalidField, IsOpen(), e57::PointStandardizedFieldsAvailable::isTimeStampInvalidField, e57::IntegerNode::maximum(), e57::ScaledIntegerNode::maximum(), e57::FloatNode::maximum(), e57::ScaledIntegerNode::minimum(), e57::FloatNode::minimum(), e57::Data3D::name, e57::PointStandardizedFieldsAvailable::normalX, e57::PointStandardizedFieldsAvailable::normalY, e57::PointStandardizedFieldsAvailable::normalZ, e57::ScaledIntegerNode::offset(), e57::Data3D::originalGuids, e57::GroupingByLine::pointCountSize, e57::Data3D::pointFields, e57::Data3D::pointGroupingSchemes, e57::PointStandardizedFieldsAvailable::pointRangeMaximum, e57::PointStandardizedFieldsAvailable::pointRangeMinimum, e57::PointStandardizedFieldsAvailable::pointRangeScaledInteger, e57::Data3D::pointsSize, e57::Data3D::pose, e57::SphericalBounds::rangeMaximum, e57::SphericalBounds::rangeMinimum, e57::Data3D::relativeHumidity, e57::PointStandardizedFieldsAvailable::returnCountField, e57::PointStandardizedFieldsAvailable::returnIndexField, e57::IndexBounds::returnMaximum, e57::PointStandardizedFieldsAvailable::returnMaximum, e57::IndexBounds::returnMinimum, e57::RigidBodyTransform::rotation, e57::PointStandardizedFieldsAvailable::rowIndexField, e57::PointStandardizedFieldsAvailable::rowIndexMaximum, e57::IndexBounds::rowMaximum, e57::IndexBounds::rowMinimum, e57::ScaledIntegerNode::scale(), draftfunctions.scale::scale(), e57::Data3D::sensorFirmwareVersion, e57::Data3D::sensorHardwareVersion, e57::Data3D::sensorModel, e57::Data3D::sensorSerialNumber, e57::Data3D::sensorSoftwareVersion, e57::Data3D::sensorVendor, e57::PointStandardizedFieldsAvailable::sphericalAzimuthField, e57::Data3D::sphericalBounds, e57::PointStandardizedFieldsAvailable::sphericalElevationField, e57::PointStandardizedFieldsAvailable::sphericalInvalidStateField, e57::PointStandardizedFieldsAvailable::sphericalRangeField, e57::Data3D::temperature, e57::PointStandardizedFieldsAvailable::timeMaximum, e57::PointStandardizedFieldsAvailable::timeMinimum, e57::PointStandardizedFieldsAvailable::timeScaledInteger, e57::PointStandardizedFieldsAvailable::timeStampField, e57::RigidBodyTransform::translation, e57::Node::type(), e57::IntegerNode::value(), e57::FloatNode::value(), e57::StringNode::value(), e57::Quaternion::w, e57::Translation::x, e57::Quaternion::x, e57::CartesianBounds::xMaximum, e57::CartesianBounds::xMinimum, e57::Translation::y, e57::Quaternion::y, e57::CartesianBounds::yMaximum, e57::CartesianBounds::yMinimum, e57::Translation::z, e57::Quaternion::z, e57::CartesianBounds::zMaximum, and e57::CartesianBounds::zMinimum.

◆ ReadData3DGroupsData()

bool e57::ReaderImpl::ReadData3DGroupsData ( int64_t  dataIndex,
int64_t  groupCount,
int64_t *  idElementValue,
int64_t *  startPointIndex,
int64_t *  pointCount 
) const

◆ ReadImage2D()

bool e57::ReaderImpl::ReadImage2D ( int64_t  imageIndex,
Image2D Image2DHeader 
) const

References e57::Image2D::acquisitionDateTime, e57::Image2D::associatedData3DGuid, e57::BlobNode::byteCount(), e57::VectorNode::childCount(), e57::Image2D::cylindricalRepresentation, e57::DateTime::dateTimeValue, e57::Image2D::description, e57::PinholeRepresentation::focalLength, e57::StructureNode::get(), e57::VectorNode::get(), e57::Image2D::guid, e57::VisualReferenceRepresentation::imageHeight, e57::PinholeRepresentation::imageHeight, e57::SphericalRepresentation::imageHeight, e57::CylindricalRepresentation::imageHeight, e57::VisualReferenceRepresentation::imageMaskSize, e57::PinholeRepresentation::imageMaskSize, e57::SphericalRepresentation::imageMaskSize, e57::CylindricalRepresentation::imageMaskSize, e57::VisualReferenceRepresentation::imageWidth, e57::PinholeRepresentation::imageWidth, e57::SphericalRepresentation::imageWidth, e57::CylindricalRepresentation::imageWidth, e57::DateTime::isAtomicClockReferenced, e57::StructureNode::isDefined(), IsOpen(), e57::VisualReferenceRepresentation::jpegImageSize, e57::PinholeRepresentation::jpegImageSize, e57::SphericalRepresentation::jpegImageSize, e57::CylindricalRepresentation::jpegImageSize, e57::Image2D::name, e57::Image2D::pinholeRepresentation, e57::PinholeRepresentation::pixelHeight, e57::SphericalRepresentation::pixelHeight, e57::CylindricalRepresentation::pixelHeight, e57::PinholeRepresentation::pixelWidth, e57::SphericalRepresentation::pixelWidth, e57::CylindricalRepresentation::pixelWidth, e57::VisualReferenceRepresentation::pngImageSize, e57::PinholeRepresentation::pngImageSize, e57::SphericalRepresentation::pngImageSize, e57::CylindricalRepresentation::pngImageSize, e57::Image2D::pose, e57::PinholeRepresentation::principalPointX, e57::PinholeRepresentation::principalPointY, e57::CylindricalRepresentation::principalPointY, e57::CylindricalRepresentation::radius, e57::RigidBodyTransform::rotation, e57::Image2D::sensorModel, e57::Image2D::sensorSerialNumber, e57::Image2D::sensorVendor, e57::Image2D::sphericalRepresentation, e57::RigidBodyTransform::translation, e57::FloatNode::value(), e57::StringNode::value(), e57::Image2D::visualReferenceRepresentation, e57::Quaternion::w, e57::Translation::x, e57::Quaternion::x, e57::Translation::y, e57::Quaternion::y, e57::Translation::z, and e57::Quaternion::z.

◆ ReadImage2DData()

int64_t e57::ReaderImpl::ReadImage2DData ( int64_t  imageIndex,
Image2DProjection  imageProjection,
Image2DType  imageType,
void *  pBuffer,
int64_t  start,
int64_t  count 
) const

◆ SetUpData3DPointsData()

template<typename COORDTYPE >
template CompressedVectorReader e57::ReaderImpl::SetUpData3DPointsData ( int64_t  dataIndex,
size_t  pointCount,
const Data3DPointsData_t< COORDTYPE > &  buffers 
) const

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