|
enum class | PGWKBFlag { Default = 0
, IgnorePCID = 1
} |
|
|
static knowCore::ReturnValue< Patch > | fromPGWKB (const QByteArray &, const PointSpecification &_pointSpecification, PGWKBFlags _flags=PGWKBFlag::Default) |
|
static knowCore::ReturnValue< Patch > | fromPGWKB (const QByteArray &_data, const kDB::Repository::Connection &_connection, PGWKBFlags _flags=PGWKBFlag::Default) |
|
static Patch | create (const knowValues::Values::PointCloud &_rhs) |
|
◆ coordinateSystem()
Cartography::CoordinateSystem kDBPointClouds::Patch::coordinateSystem |
( |
| ) |
const |
- Returns
- the Cartography::CoordinateSystem associated with this point cloud
◆ create()
Patch Patch::create |
( |
const knowValues::Values::PointCloud & | _rhs | ) |
|
|
static |
Create a patch from knowValues::Values::PointCloud.
◆ data()
QByteArray Patch::data |
( |
| ) |
const |
- Returns
- the data representing the point cloud
◆ fromPGWKB()
knowCore::ReturnValue< Patch > Patch::fromPGWKB |
( |
const QByteArray & | _data, |
|
|
const kDB::Repository::Connection & | _connection, |
|
|
PGWKBFlags | _flags = PGWKBFlag::Default ) |
|
static |
Get the specification from the _connection . _data should contains a valid pcid, corresponding to a PointSpecification that is stored in the database.
_flags should not have PGWKBFlag::IgnorePCID set.
◆ isValid()
bool Patch::isValid |
( |
| ) |
const |
- Returns
- true if the patch is valid
◆ reserve()
void Patch::reserve |
( |
std::size_t | _pts | ) |
|
Reserve memory for inserting _pts
◆ specification()
◆ synchroniseSpecification()
Synchronise the PointSpecification with the database. Need to be done prior inserting a patch in the database.
◆ toPGWKB()
QByteArray Patch::toPGWKB |
( |
PGWKBFlags | _flags = PGWKBFlag::Default | ) |
const |
Convert to a (pgPointCloud) WKB representation of a point cloud.
- Parameters
-
◆ toValuesLidar3DScan()
Convert this patch to a knowValues::Values::PointCloud.
◆ toValuesPointCloud()
Convert this patch to a knowValues::Values::PointCloud.
◆ transform()
Patch Patch::transform |
( |
const Cartography::CoordinateSystem & | _coordinateSystem, |
|
|
double | _tx = 0.0, |
|
|
double | _ty = 0.0, |
|
|
double | _tz = 0.0 ) const |
Transform the point cloud to a different coordinate system and apply a translation
The documentation for this class was generated from the following files:
- kdb/extensions/kDBPointClouds/Patch.h
- kdb/extensions/kDBPointClouds/Patch.cpp