HPS::OOC::SynchronizedActions

class HPS::OOC::SynchronizedActions

This class provides ways to create and optimize OOC deltas.

Public Types

enum Result

Designates the result of an synchronized action.

Values:

enumerator Success
enumerator ErrorInvalidNode
enumerator ErrorInvalidPointCloud
enumerator ErrorUnknownFailure
enumerator ErrorInternalFailure
enumerator ErrorCouldNotFindNode
enumerator ErrorInputIndicesAreNotStrictlyIncreasing
enumerator ErrorIllegalInputIndices
enumerator ErrorCorruptNode
enumerator ErrorFileSystemFailure

Public Functions

Result DeleteNode(NodeHandle const &node_handle) const

Remove a whole node in the OOC model.

Parameters

node_handle – The node to apply to delete from the point cloud.

Returns

The result of the action.

Result DeleteSpecificPoints(NodeHandle const &node_handle, HPS::Int32Array const &point_indices) const

Remove a specific points from node in the OOC model.

Parameters
  • node_handle – The node to apply to delete points from.

  • point_indices – The indices of points to delete from the point cloud.

Returns

The result of the action.

Result DeleteSpecificPoints(NodeHandle const &node_handle, int32_t const point_indices[], size_t count) const

Remove a specific points from node in the OOC model.

Parameters
  • node_handle – The node to apply to delete points from.

  • point_indices – The indices of points to delete from the point cloud.

  • count – The number of indices provided.

Returns

The result of the action.

Result OptimizeDeltas() const

Optimize the deltas for this model.

Returns

The result of the action.

Friends

friend class HPS::OOC::PointCloud