This class provides ways to create and optimize OOC deltas. More...
#include <sprk_ooc.h>
Public Types | |
enum | Result { Result::Success, Result::ErrorInvalidNode, Result::ErrorInvalidPointCloud, Result::ErrorUnknownFailure, Result::ErrorInternalFailure, Result::ErrorCouldNotFindNode, Result::ErrorInputIndicesAreNotStrictlyIncreasing, Result::ErrorIllegalInputIndices, Result::ErrorCorruptNode, Result::ErrorFileSystemFailure } |
Designates the result of an synchronized action. More... | |
Public Member Functions | |
Result | DeleteNode (NodeHandle const &node_handle) const |
Remove a whole node in the OOC model. More... | |
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. More... | |
Result | DeleteSpecificPoints (NodeHandle const &node_handle, HPS::Int32Array const &point_indices) const |
Remove a specific points from node in the OOC model. More... | |
Result | OptimizeDeltas () const |
Optimize the deltas for this model. More... | |
Private Member Functions | |
SynchronizedActions () | |
Private default constructor to prevent instantiation. More... | |
Private Attributes | |
void * | opaque |
Friends | |
class | HPS::OOC::PointCloud |
This class provides ways to create and optimize OOC deltas.
|
strong |
|
private |
Private default constructor to prevent instantiation.
Result HPS::OOC::SynchronizedActions::DeleteNode | ( | NodeHandle const & | node_handle | ) | const |
Remove a whole node in the OOC model.
node_handle | The node to apply to delete from the point cloud. |
Result HPS::OOC::SynchronizedActions::DeleteSpecificPoints | ( | NodeHandle const & | node_handle, |
int32_t const | point_indices[], | ||
size_t | count | ||
) | const |
Remove a specific points from node in the OOC model.
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. |
Result HPS::OOC::SynchronizedActions::DeleteSpecificPoints | ( | NodeHandle const & | node_handle, |
HPS::Int32Array const & | point_indices | ||
) | const |
Remove a specific points from node in the OOC model.
node_handle | The node to apply to delete points from. |
point_indices | The indices of points to delete from the point cloud. |
Result HPS::OOC::SynchronizedActions::OptimizeDeltas | ( | ) | const |
Optimize the deltas for this model.
|
friend |
|
private |