Exemplo n.º 1
0
	XnMNodeInfo::XnMNodeInfo(xn::NodeInfo nodeInfo)
	{
		m_InstanceName = XnMHelper::CreateString(nodeInfo.GetInstanceName());
		m_CreationInfo = XnMHelper::CreateString(nodeInfo.GetCreationInfo()); 
		
		XnProductionNodeDescription desc = nodeInfo.GetDescription();
		m_Vendor = XnMHelper::CreateString(desc.strVendor);
		m_Name = XnMHelper::CreateString(desc.strName); 
		m_Type = (XnMProductionNodeType)desc.Type;
	}
Exemplo n.º 2
0
XnVersion NodeInfo_GetVersion_wrapped(xn::NodeInfo& self){
	return self.GetDescription().Version;
}
Exemplo n.º 3
0
std::string NodeInfo_GetVendor_wrapped(xn::NodeInfo& self){
	return std::string(self.GetDescription().strVendor);
}
Exemplo n.º 4
0
std::string NodeInfo_GetName_wrapped(xn::NodeInfo& self){
	return std::string(self.GetDescription().strName);
}
Exemplo n.º 5
0
XnProductionNodeType NodeInfo_GetNodeType_wrapped(xn::NodeInfo& self){
	return self.GetDescription().Type;
}