Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::OOC::SynchronizedActions Class Reference

This class provides ways to create and optimize OOC deltas. More...

#include <sprk_ooc.h>

Collaboration diagram for HPS::OOC::SynchronizedActions:

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
 

Detailed Description

This class provides ways to create and optimize OOC deltas.

Member Enumeration Documentation

◆ Result

Designates the result of an synchronized action.

Enumerator
Success 
ErrorInvalidNode 
ErrorInvalidPointCloud 
ErrorUnknownFailure 
ErrorInternalFailure 
ErrorCouldNotFindNode 
ErrorInputIndicesAreNotStrictlyIncreasing 
ErrorIllegalInputIndices 
ErrorCorruptNode 
ErrorFileSystemFailure 

Constructor & Destructor Documentation

◆ SynchronizedActions()

HPS::OOC::SynchronizedActions::SynchronizedActions ( )
private

Private default constructor to prevent instantiation.

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.

Friends And Related Function Documentation

◆ HPS::OOC::PointCloud

friend class HPS::OOC::PointCloud
friend

Member Data Documentation

◆ opaque

void* HPS::OOC::SynchronizedActions::opaque
private

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