e57::WriterImpl Class Reference

most of the functions follows Writer More...

#include <WriterImpl.h>

Public Member Functions

bool Close ()
 
VectorNode GetRawData3D ()
 
StructureNode GetRawE57Root ()
 
VectorNode GetRawImages2D ()
 
ImageFile GetRawIMF ()
 
bool IsOpen () const
 
int64_t NewData3D (Data3D &data3DHeader)
 
int64_t NewImage2D (Image2D &image2DHeader)
 
template<typename COORDTYPE >
CompressedVectorWriter SetUpData3DPointsData (int64_t dataIndex, size_t pointCount, const Data3DPointsData_t< COORDTYPE > &buffers)
 
bool WriteData3DGroupsData (int64_t dataIndex, int64_t groupCount, int64_t *idElementValue, int64_t *startPointIndex, int64_t *pointCount)
 
int64_t WriteImage2DData (int64_t imageIndex, Image2DType imageType, Image2DProjection imageProjection, void *pBuffer, int64_t start, int64_t count)
 
 WriterImpl (const ustring &filePath, const ustring &coordinateMetaData)
 
 ~WriterImpl ()
 

Detailed Description

most of the functions follows Writer

Constructor & Destructor Documentation

◆ WriterImpl()

e57::WriterImpl::WriterImpl ( const ustring filePath,
const ustring coordinateMetaData 
)

◆ ~WriterImpl()

e57::WriterImpl::~WriterImpl ( )

References Close(), and IsOpen().

Member Function Documentation

◆ Close()

bool e57::WriterImpl::Close ( )

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

Referenced by ~WriterImpl().

◆ GetRawData3D()

VectorNode e57::WriterImpl::GetRawData3D ( )

◆ GetRawE57Root()

StructureNode e57::WriterImpl::GetRawE57Root ( )

◆ GetRawImages2D()

VectorNode e57::WriterImpl::GetRawImages2D ( )

◆ GetRawIMF()

ImageFile e57::WriterImpl::GetRawIMF ( )

◆ IsOpen()

bool e57::WriterImpl::IsOpen ( ) const

References e57::ImageFile::isOpen().

Referenced by Close(), and ~WriterImpl().

◆ NewData3D()

◆ NewImage2D()

int64_t e57::WriterImpl::NewImage2D ( Image2D image2DHeader)

References e57::Image2D::acquisitionDateTime, e57::VectorNode::append(), e57::Image2D::associatedData3DGuid, e57::VectorNode::childCount(), e57::Image2D::cylindricalRepresentation, e57::DateTime::dateTimeValue, e57::Image2D::description, e57::PinholeRepresentation::focalLength, e57::generateRandomGUID(), 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::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::StructureNode::set(), e57::Image2D::sphericalRepresentation, e57::RigidBodyTransform::translation, 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.

◆ SetUpData3DPointsData()

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

◆ WriteData3DGroupsData()

bool e57::WriterImpl::WriteData3DGroupsData ( int64_t  dataIndex,
int64_t  groupCount,
int64_t *  idElementValue,
int64_t *  startPointIndex,
int64_t *  pointCount 
)

◆ WriteImage2DData()

int64_t e57::WriterImpl::WriteImage2DData ( int64_t  imageIndex,
Image2DType  imageType,
Image2DProjection  imageProjection,
void *  pBuffer,
int64_t  start,
int64_t  count 
)

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