⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 icehnode.h

📁 使用stl技术,(还没看,是听说的)
💻 H
字号:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
 *	Contains skeleton-code for a hierarchical node.
 *	\file		IceHNode.h
 *	\author		Pierre Terdiman
 *	\date		May, 08, 1999
 */
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Include Guard
#ifndef __ICEHNODE_H__
#define __ICEHNODE_H__

	class ICECORE_API HNode
	{
		public:
		//! Constructor
								HNode() : mSonLink(null), mNextLink(null)	{}
		//! Destructor
								~HNode()									{}

		// Hierarchy construction

		///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		/**
		 *	Inserts a new node in the hierarchy.
		 *	Only 2 links are used since we only go through the hierarchy in the same unique direction (from root node to end effectors)
		 *	\param		father_node		[in] the current node's father
		 *	\return		Self-reference
		 */
		///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
					HNode&		Insert(HNode* father_node);

		// Hierarchy data
					HNode*		mSonLink;		//!< Child node
					HNode*		mNextLink;		//!< Brother node
	};

#endif // __ICEHNODE_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -