![]() |
libimgdoc2
|
This interface is providing read-only access to the 3d-document. More...
#include <IDocQuery3d.h>
Public Member Functions | |
virtual void | ReadBrickInfo (imgdoc2::dbIndex idx, imgdoc2::ITileCoordinateMutate *coordinate, imgdoc2::LogicalPositionInfo3D *info, imgdoc2::BrickBlobInfo *brick_blob_info)=0 |
virtual void | Query (const imgdoc2::IDimCoordinateQueryClause *clause, const imgdoc2::ITileInfoQueryClause *tileInfoQuery, const std::function< bool(imgdoc2::dbIndex)> &func)=0 |
virtual void | GetTilesIntersectingCuboid (const imgdoc2::CuboidD &cuboid, const imgdoc2::IDimCoordinateQueryClause *coordinate_clause, const imgdoc2::ITileInfoQueryClause *tileinfo_clause, const std::function< bool(imgdoc2::dbIndex)> &func)=0 |
virtual void | GetTilesIntersectingPlane (const imgdoc2::Plane_NormalAndDistD &plane, const imgdoc2::IDimCoordinateQueryClause *coordinate_clause, const imgdoc2::ITileInfoQueryClause *tileinfo_clause, const std::function< bool(imgdoc2::dbIndex)> &func)=0 |
virtual void | ReadBrickData (imgdoc2::dbIndex idx, imgdoc2::IBlobOutput *data)=0 |
IDocQuery3d (const IDocQuery3d &)=delete | |
IDocQuery3d & | operator= (const IDocQuery3d &)=delete |
IDocQuery3d (IDocQuery3d &&)=delete | |
IDocQuery3d & | operator= (IDocQuery3d &&)=delete |
This interface is providing read-only access to the 3d-document.
|
pure virtual |
Gets tiles intersecting the specified cuboid (and satisfying the other criteria).
cuboid | The cuboid. |
coordinate_clause | The coordinate clause. |
tileinfo_clause | The tileinfo clause. |
func | A functor which will be called, passing in the index of tiles matching the query. If the functor returns false, the enumeration is canceled, and no more calls to the functor will occur anymore. |
|
pure virtual |
Gets tiles intersecting with the specified plane (and satisfying the other criteria).
plane | The plane. |
coordinate_clause | The coordinate clause. |
tileinfo_clause | The tileinfo clause. |
func | A functor which will be called, passing in the index of tiles matching the query. If the functor returns false, the enumeration is canceled, and no more calls to the functor will occur any more. |
|
pure virtual |
Query the tiles table. The two query clauses are used to filter the tiles. The first clause is used to filter the tiles by their coordinates, the second by other "per tile data". The functor is called for each tile which matches the query. If the functor returns false, the enumeration is canceled, and no more calls to the functor will occur anymore. The two query clauses are logically ANDed together.
clause | The query clause (dealing with dimension indexes). |
tileInfoQuery | The query clause (dealing with other "per tile data"). |
func | A functor which will be called, passing in the index of tiles matching the query. If the functor returns false, the enumeration is canceled, and no more calls to the functor will occur anymore. |
|
pure virtual |
Reads tile information for the specified brick. There are three pieces of information which can be retrieved by this method, namely the tile-coordinate, the logical position and the tile-blob-info. If the respective pointers are null, the information will not be retrieved. If the row for the specified primary key does not exist, an exception of type "imgdoc2::non_existing_tile_exception" will be thrown.
idx | The primary key of the tile. | |
[out] | coordinate | If non-null and the operation is successful, the tile-coordinate will be put here. |
[out] | info | If non-null and the operation is successful, the logical position will be put here. |
[out] | brick_blob_info | If non-null and the operation is successful, the brick-blob-info will be put here. |