HPS::OOC::SynchronizedActions Class Reference

#include <sprk_ooc.h>

Public Types

enum  Result {
Success, ErrorInvalidNode, ErrorInvalidPointCloud, ErrorUnknownFailure,
ErrorInternalFailure, ErrorCouldNotFindNode, ErrorInputIndicesAreNotStrictlyIncreasing, ErrorIllegalInputIndices,
ErrorCorruptNode, ErrorFileSystemFailure
}



 

Public Member Functions

Result DeleteNode (NodeHandle const &node_handle) const
 
Result DeleteSpecificPoints (NodeHandle const &node_handle, int32_t const point_indices[], size_t count) const
 
Result DeleteSpecificPoints (NodeHandle const &node_handle, HPS::Int32Array const &point_indices) const
 
Result OptimizeDeltas () const
 

Friends

class HPS::OOC::PointCloud
 

Detailed Description

This class provides ways to create and optimize OOC deltas.

Member Enumeration Documentation

◆ Result

Designates the result of an synchronized action.

Member Function Documentation

◆ DeleteNode()

Result HPS::OOC::SynchronizedActions::DeleteNode ( NodeHandle const &  node_handle) const

Remove a whole node in the OOC model.

Parameters
node_handleThe node to apply to delete from the point cloud.
Returns
The result of the action.

◆ DeleteSpecificPoints() [1/2]

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.

Parameters
node_handleThe node to apply to delete points from.
point_indicesThe indices of points to delete from the point cloud.
countThe number of indices provided.
Returns
The result of the action.

◆ DeleteSpecificPoints() [2/2]

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.

Parameters
node_handleThe node to apply to delete points from.
point_indicesThe indices of points to delete from the point cloud.
Returns
The result of the action.

◆ OptimizeDeltas()

Result HPS::OOC::SynchronizedActions::OptimizeDeltas ( ) const

Optimize the deltas for this model.

Returns
The result of the action.

The documentation for this class was generated from the following file: