Skip to content

Class ManusSDK::SkeletonSetupManager

ClassList > ManusSDK > SkeletonSetupManager

Public Functions

Type Name
SDKReturnCode AddChainToSkeletonSetup (uint32_t p_SkeletonSetupIndex, const ChainSetup & p_Chain)
SDKReturnCode AddColliderToSkeletonSetup (uint32_t p_SkeletonSetupIndex, const ColliderSetup & p_Collider)
SDKReturnCode AddMeshSetupToSkeletonSetup (uint32_t p_SkeletonSetupIndex, uint32_t p_NodeId, uint32_t & p_MeshSetupIndex)
SDKReturnCode AddNodeToSkeletonSetup (uint32_t p_SkeletonSetupIndex, const NodeSetup & p_Node)
SDKReturnCode AddTriangleToMeshSetup (uint32_t p_SkeletonSetupIndex, uint32_t p_MeshSetupIndex, const Triangle & p_Triangle)
SDKReturnCode AddVertexToMeshSetup (uint32_t p_SkeletonSetupIndex, uint32_t p_MeshSetupIndex, const Vertex & p_Vertex)
void ClearAllTemporarySkeletonsFromBuffer ()
void ClearSkeletonSetup (uint32_t p_SkeletonSetupIndex)
SDKReturnCode CreateSkeletonSetup (const SkeletonSetupInfo & p_Skeleton, uint32_t & p_SkeletonSetupIndex)
SDKReturnCode GetMeshSetupInfo (uint32_t p_SkeletonSetupIndex, uint32_t p_MeshSetupIndex, MeshSetupInfo & p_MeshSetupInfo)
SDKReturnCode GetSkeletonChains (uint32_t p_SkeletonSetupIndex, ChainSetup * p_SDK)
SDKReturnCode GetSkeletonChains (uint32_t p_SkeletonSetupIndex, ChainSetup * p_ChainSetupArray, uint32_t p_ArraySize)
SDKReturnCode GetSkeletonColliders (uint32_t p_SkeletonSetupIndex, ColliderSetup * p_SDK)
SDKReturnCode GetSkeletonNodes (uint32_t p_SkeletonSetupIndex, NodeSetup * p_SDK)
SDKReturnCode GetSkeletonNodes (uint32_t p_SkeletonSetupIndex, NodeSetup * p_NodeSetupArray, uint32_t p_ArraySize)
SkeletonSetup * GetSkeletonSetup (uint32_t p_SkeletonSetupIndex)
SDKReturnCode GetSkeletonSetupArraySizes (uint32_t p_SkeletonSetupIndex, SkeletonSetupArraySizes & p_SkeletonInfo)
size_t GetSkeletonSetupBufferSize ()
SDKReturnCode GetSkeletonSetupInfo (uint32_t p_SkeletonSetupIndex, SkeletonSetupInfo * p_SDK)
std::mutex & GetSkeletonSetupMutex ()
SDKReturnCode GetTriangleData (uint32_t p_SkeletonSetupIndex, uint32_t p_MeshSetupIndex, uint32_t p_TriangleIndex, Triangle & p_Triangle)
SDKReturnCode GetVertexData (uint32_t p_SkeletonSetupIndex, uint32_t p_MeshSetupIndex, uint32_t p_VertexIndex, Vertex & p_Vertex)
void InsertSkeletonSetup (uint32_t p_SkeletonSetupIndex, SkeletonSetup * p_LocalSkl)
SDKReturnCode OverwriteChainToSkeletonSetup (uint32_t p_SkeletonSetupIndex, const ChainSetup & p_Chain)
SDKReturnCode OverwriteNodeToSkeletonSetup (uint32_t p_SkeletonSetupIndex, const NodeSetup & p_Node)
SDKReturnCode OverwriteSkeletonSetup (uint32_t p_SkeletonSetupIndex, const SkeletonSetupInfo & p_Skeleton)
~SkeletonSetupManager ()

Protected Attributes

Type Name
std::atomic< bool > m_IsRunning = = false
std::vector< SkeletonSetup * > m_SkeletonSetupBuffer
std::mutex m_SkeletonSetupMutex

Protected Functions

Type Name
void IfEmptyClearSkeletonSetupBuffer ()

Public Functions Documentation

function AddChainToSkeletonSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::AddChainToSkeletonSetup (
    uint32_t p_SkeletonSetupIndex,
    const ChainSetup & p_Chain
) 

function AddColliderToSkeletonSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::AddColliderToSkeletonSetup (
    uint32_t p_SkeletonSetupIndex,
    const ColliderSetup & p_Collider
) 

function AddMeshSetupToSkeletonSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::AddMeshSetupToSkeletonSetup (
    uint32_t p_SkeletonSetupIndex,
    uint32_t p_NodeId,
    uint32_t & p_MeshSetupIndex
) 

function AddNodeToSkeletonSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::AddNodeToSkeletonSetup (
    uint32_t p_SkeletonSetupIndex,
    const NodeSetup & p_Node
) 

function AddTriangleToMeshSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::AddTriangleToMeshSetup (
    uint32_t p_SkeletonSetupIndex,
    uint32_t p_MeshSetupIndex,
    const Triangle & p_Triangle
) 

function AddVertexToMeshSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::AddVertexToMeshSetup (
    uint32_t p_SkeletonSetupIndex,
    uint32_t p_MeshSetupIndex,
    const Vertex & p_Vertex
) 

function ClearAllTemporarySkeletonsFromBuffer

void ManusSDK::SkeletonSetupManager::ClearAllTemporarySkeletonsFromBuffer () 

function ClearSkeletonSetup

void ManusSDK::SkeletonSetupManager::ClearSkeletonSetup (
    uint32_t p_SkeletonSetupIndex
) 

function CreateSkeletonSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::CreateSkeletonSetup (
    const SkeletonSetupInfo & p_Skeleton,
    uint32_t & p_SkeletonSetupIndex
) 

function GetMeshSetupInfo

SDKReturnCode ManusSDK::SkeletonSetupManager::GetMeshSetupInfo (
    uint32_t p_SkeletonSetupIndex,
    uint32_t p_MeshSetupIndex,
    MeshSetupInfo & p_MeshSetupInfo
) 

function GetSkeletonChains [1/2]

SDKReturnCode ManusSDK::SkeletonSetupManager::GetSkeletonChains (
    uint32_t p_SkeletonSetupIndex,
    ChainSetup * p_SDK
) 

function GetSkeletonChains [2/2]

SDKReturnCode ManusSDK::SkeletonSetupManager::GetSkeletonChains (
    uint32_t p_SkeletonSetupIndex,
    ChainSetup * p_ChainSetupArray,
    uint32_t p_ArraySize
) 

function GetSkeletonColliders

SDKReturnCode ManusSDK::SkeletonSetupManager::GetSkeletonColliders (
    uint32_t p_SkeletonSetupIndex,
    ColliderSetup * p_SDK
) 

function GetSkeletonNodes [1/2]

SDKReturnCode ManusSDK::SkeletonSetupManager::GetSkeletonNodes (
    uint32_t p_SkeletonSetupIndex,
    NodeSetup * p_SDK
) 

function GetSkeletonNodes [2/2]

SDKReturnCode ManusSDK::SkeletonSetupManager::GetSkeletonNodes (
    uint32_t p_SkeletonSetupIndex,
    NodeSetup * p_NodeSetupArray,
    uint32_t p_ArraySize
) 

function GetSkeletonSetup

SkeletonSetup * ManusSDK::SkeletonSetupManager::GetSkeletonSetup (
    uint32_t p_SkeletonSetupIndex
) 

function GetSkeletonSetupArraySizes

SDKReturnCode ManusSDK::SkeletonSetupManager::GetSkeletonSetupArraySizes (
    uint32_t p_SkeletonSetupIndex,
    SkeletonSetupArraySizes & p_SkeletonInfo
) 

function GetSkeletonSetupBufferSize

size_t ManusSDK::SkeletonSetupManager::GetSkeletonSetupBufferSize () 

function GetSkeletonSetupInfo

SDKReturnCode ManusSDK::SkeletonSetupManager::GetSkeletonSetupInfo (
    uint32_t p_SkeletonSetupIndex,
    SkeletonSetupInfo * p_SDK
) 

function GetSkeletonSetupMutex

std::mutex & ManusSDK::SkeletonSetupManager::GetSkeletonSetupMutex () 

function GetTriangleData

SDKReturnCode ManusSDK::SkeletonSetupManager::GetTriangleData (
    uint32_t p_SkeletonSetupIndex,
    uint32_t p_MeshSetupIndex,
    uint32_t p_TriangleIndex,
    Triangle & p_Triangle
) 

function GetVertexData

SDKReturnCode ManusSDK::SkeletonSetupManager::GetVertexData (
    uint32_t p_SkeletonSetupIndex,
    uint32_t p_MeshSetupIndex,
    uint32_t p_VertexIndex,
    Vertex & p_Vertex
) 

function InsertSkeletonSetup

void ManusSDK::SkeletonSetupManager::InsertSkeletonSetup (
    uint32_t p_SkeletonSetupIndex,
    SkeletonSetup * p_LocalSkl
) 

function OverwriteChainToSkeletonSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::OverwriteChainToSkeletonSetup (
    uint32_t p_SkeletonSetupIndex,
    const ChainSetup & p_Chain
) 

function OverwriteNodeToSkeletonSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::OverwriteNodeToSkeletonSetup (
    uint32_t p_SkeletonSetupIndex,
    const NodeSetup & p_Node
) 

function OverwriteSkeletonSetup

SDKReturnCode ManusSDK::SkeletonSetupManager::OverwriteSkeletonSetup (
    uint32_t p_SkeletonSetupIndex,
    const SkeletonSetupInfo & p_Skeleton
) 

function ~SkeletonSetupManager

ManusSDK::SkeletonSetupManager::~SkeletonSetupManager () 

Protected Attributes Documentation

variable m_IsRunning

std::atomic<bool> ManusSDK::SkeletonSetupManager::m_IsRunning;

variable m_SkeletonSetupBuffer

std::vector<SkeletonSetup*> ManusSDK::SkeletonSetupManager::m_SkeletonSetupBuffer;

variable m_SkeletonSetupMutex

std::mutex ManusSDK::SkeletonSetupManager::m_SkeletonSetupMutex;

Protected Functions Documentation

function IfEmptyClearSkeletonSetupBuffer

void ManusSDK::SkeletonSetupManager::IfEmptyClearSkeletonSetupBuffer () 

The documentation for this class was generated from the following file api/cppSDK/SDKBase/SkeletonSetupManager.hpp