MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / IsTypeDerivedFrom

Method IsTypeDerivedFrom

Source/OpenNI/XnTypeManager.cpp:155–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155XnStatus TypeManager::IsTypeDerivedFrom(XnProductionNodeType type, XnProductionNodeType base, XnBool* pbIsDerived) const
156{
157 const NodeTypeInfo* pInfo = m_pTypesArray[type];
158 if (pInfo == NULL)
159 {
160 return XN_STATUS_NO_MATCH;
161 }
162
163 *pbIsDerived = pInfo->inheritanceGraph.IsSet(base);
164
165 return XN_STATUS_OK;
166}
167
168XnStatus TypeManager::GetTypeHierarchy(XnProductionNodeType type, const XnBitSet*& pHierarchy) const
169{

Callers 2

xnIsTypeDerivedFromFunction · 0.80
xnConfigureCreateNodesFunction · 0.80

Calls 1

IsSetMethod · 0.80

Tested by

no test coverage detected