delta
Index
Functions
Namespaces
Classes
Enumerations
Functions
-
SyncResult
ooc::delta::SynchronizeWith(Env, std::function<void(SyncToken const&)>) - SyncResult SynchronizeWith(
Env, std::function< void(&)Allows users to call functions that require synchronization. This is done through the func callback passed into this function. func is called with an
ooc::delta::SyncTokenreference that corresponds to the environment env passed into this function. Thus the OOC API functions that accept anooc::delta::SyncTokendo not accept anooc::Envbecause it is implied by the synchronization token.ooc::delta::DeleteNode
ooc::delta::DeleteSpecificPoints
ooc::delta::OptimizeDeltas
Parameters
env: The point cloud environment to synchronize with.
func: The callback to call when the point cloud is in a synchronized state
Returns
an ooc::delta::SyncResult return code.
-
ModifyResult
ooc::delta::DeleteNode(SyncToken const &sync_token, NodeHandle const &node_handle) - ModifyResult DeleteNode(
SyncToken& sync_token,NodeHandle& node_handle)Deletes the given node. Subsequent uses of node_handle are illegal.
ooc::delta::SynchronizeWithParameters
sync_token: A token passed in to guarantee that synchronization is taking place for a given point cloud.
node_handle: The handle of the node to be deleted.
Returns
an ooc::delta::ModifyResult return code.
-
ModifyResult
ooc::delta::DeleteSpecificPoints(SyncToken const &sync_token, NodeHandle const &node_handle, int32_t const point_indices[], size_t count) - ModifyResult DeleteSpecificPoints(
SyncToken& sync_token,NodeHandle& node_handle, int32_t const point_indices, size_t count)Deletes specific points of the given node. point_indices must satisfy the following:
- contain no duplicate values
- contain only values in the inclusive range [0, node_point_count - 1] (see ooc::query::PointCount)
- be sorted in increasing order
If any of the above rules for point_indices are violated, an appropriate error code will be returned through the ooc::delta::ModifyResult return value.
ooc::delta::SynchronizeWithParameters
sync_token: A token passed in to guarantee that synchronization is taking place for a given point cloud.
node_handle: The node handle of the points to be deleted.
point_indices: The list of point indices to be deleted from the node given by node_handle.
count: The number of indices in point_indices
Returns
an ooc::delta::ModifyResult return code.
-
OptimizeResult
ooc::delta::OptimizeDeltas(SyncToken const &sync_token, OptimizeConfig const &config) - OptimizeResult OptimizeDeltas(
SyncToken& sync_token,OptimizeConfig& config)Optimizes the internal representation of the changes made to the point cloud. This function is automatically performed when loading in an OOCD file from disk.
ooc::delta::DeleteNode
ooc::delta::DeleteSpecificPoints
ooc::delta::SynchronizeWith
Parameters
sync_token: A token passed in to guarantee that synchronization is taking place for a given point cloud.
config: Configuration options for optimization.
Returns
an ooc::delta::OptimizeResult return code