35 impl_( new
WriterImpl( filePath, coordinateMetaData ) )
41 return impl_->IsOpen();
46 return impl_->Close();
51 return impl_->GetRawIMF();
56 return impl_->GetRawE57Root();
61 return impl_->GetRawData3D();
66 return impl_->GetRawImages2D();
71 return impl_->NewImage2D( image2DHeader );
75 void *pBuffer, int64_t start, int64_t
count )
77 return impl_->WriteImage2DData( imageIndex, imageType, imageProjection, pBuffer, start,
count );
82 return impl_->NewData3D( data3DHeader );
88 return impl_->SetUpData3DPointsData( dataIndex, pointCount, buffers );
94 return impl_->SetUpData3DPointsData( dataIndex, pointCount, buffers );
98 int64_t *startPointIndex, int64_t *pointCount )
100 return impl_->WriteData3DGroupsData( dataIndex, groupCount, idElementValue, startPointIndex, pointCount );
E57 Simple API for writing E57.
most of the functions follows Writer
VectorNode GetRawImages2D()
This function returns the raw Image2D Vector Node.
Writer(const ustring &filePath, const ustring &coordinateMetaData={})
This function is the constructor for the writer class.
bool WriteData3DGroupsData(int64_t dataIndex, int64_t groupCount, int64_t *idElementValue, int64_t *startPointIndex, int64_t *pointCount)
This function writes out the group data.
VectorNode GetRawData3D()
This function returns the raw Data3D Vector Node.
int64_t NewImage2D(Image2D &image2DHeader)
This function writes a new Image2D header.
bool IsOpen() const
This function returns true if the file is open.
int64_t WriteImage2DData(int64_t imageIndex, Image2DType imageType, Image2DProjection imageProjection, void *buffer, int64_t start, int64_t count)
This function writes the actual image data.
CompressedVectorWriter SetUpData3DPointsData(int64_t dataIndex, size_t pointCount, const Data3DPointsData &buffers)
This function setups a writer to write the actual scan data.
int64_t NewData3D(Data3D &data3DHeader)
This function writes new Data3D header.
bool Close()
This function closes the file.
StructureNode GetRawE57Root()
This function returns the file raw E57Root Structure Node.
ImageFile GetRawIMF()
This function returns the ram ImageFile Node which is need to add enhancements.
Image2DProjection
Identifies the representation for the image data.
Image2DType
Identifies the format representation for the image data.
std::string ustring
UTF-8 encodeded Unicode string.
Stores pointers to user-provided buffers.
Stores the top-level information for a single lidar scan.
Stores an image from a camera.