40 return impl_->IsOpen();
45 return impl_->Close();
50 return impl_->GetE57Root( fileHeader );
55 return impl_->GetImage2DCount();
60 return impl_->ReadImage2D( imageIndex, image2DHeader );
64 int64_t &imageWidth, int64_t &imageHeight, int64_t &imageSize,
67 return impl_->GetImage2DSizes( imageIndex, imageProjection, imageType, imageWidth, imageHeight, imageSize,
68 imageMaskType, imageVisualType );
72 void *pBuffer, int64_t start, int64_t
count )
const
74 return impl_->ReadImage2DData( imageIndex, imageProjection, imageType, pBuffer, start,
count );
79 return impl_->GetData3DCount();
84 return impl_->GetRawIMF();
89 return impl_->GetRawE57Root();
94 return impl_->GetRawData3D();
99 return impl_->GetRawImages2D();
104 return impl_->ReadData3D( dataIndex, data3DHeader );
108 int64_t &groupsSize, int64_t &countSize,
bool &bColumnIndex )
const
110 return impl_->GetData3DSizes( dataIndex, rowMax, columnMax, pointsSize, groupsSize, countSize, bColumnIndex );
114 int64_t *startPointIndex, int64_t *pointCount )
const
116 return impl_->ReadData3DGroupsData( dataIndex, groupCount, idElementValue, startPointIndex, pointCount );
122 return impl_->SetUpData3DPointsData( dataIndex, pointCount, buffers );
128 return impl_->SetUpData3DPointsData( dataIndex, pointCount, buffers );
E57 Simple API for reading E57.
most of the functions follows Reader
bool ReadImage2D(int64_t imageIndex, Image2D &image2DHeader) const
This function returns the image2D header and positions the cursor.
bool GetData3DSizes(int64_t dataIndex, int64_t &rowMax, int64_t &columnMax, int64_t &pointsSize, int64_t &groupsSize, int64_t &countSize, bool &columnIndex) const
This function returns the size of the point data.
VectorNode GetRawImages2D() const
Returns the raw Image2D Vector Node.
bool IsOpen() const
This function returns true if the file is open.
StructureNode GetRawE57Root() const
Returns the file raw E57Root Structure Node.
int64_t ReadImage2DData(int64_t imageIndex, Image2DProjection imageProjection, Image2DType imageType, void *buffer, int64_t start, int64_t count) const
This function reads an image.
bool ReadData3D(int64_t dataIndex, Data3D &data3DHeader) const
This function returns the Data3D header.
Reader(const ustring &filePath)
This function is the constructor for the reader class.
bool GetImage2DSizes(int64_t imageIndex, Image2DProjection &imageProjection, Image2DType &imageType, int64_t &imageWidth, int64_t &imageHeight, int64_t &imageSize, Image2DType &imageMaskType, Image2DType &imageVisualType) const
This function returns the size of the image data.
ImageFile GetRawIMF() const
Returns the ram ImageFile Node which is need to add enhancements.
VectorNode GetRawData3D() const
Returns the raw Data3D Vector Node.
int64_t GetImage2DCount() const
This function returns the total number of Picture Blocks.
int64_t GetData3DCount() const
This function returns the total number of Data3D Blocks.
bool Close()
This function closes the file.
bool ReadData3DGroupsData(int64_t dataIndex, int64_t groupCount, int64_t *idElementValue, int64_t *startPointIndex, int64_t *pointCount) const
This funtion reads the group data into the provided buffers.
CompressedVectorReader SetUpData3DPointsData(int64_t dataIndex, size_t pointCount, const Data3DPointsData &buffers) const
Use this function to read the actual 3D data.
bool GetE57Root(E57Root &fileHeader) const
This function returns the file header information.
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 the top-level information for the XML section of the file.
Stores an image from a camera.