// SketonVeirify.hpp: interface for the CvToolPanel class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CVTOOL_HPP__C28B8016_1AA9_11D3_9167_00609712FBEF__INCLUDED_)
#define AFX_CVTOOL_HPP__C28B8016_1AA9_11D3_9167_00609712FBEF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif


#ifdef STRICT							// Already defined by stdafx,
#undef STRICT							// so we avoid warning linking msg
#endif
#ifdef _MBCS							// The same as above
#undef _MBCS
#endif

#include "AnimationSuite.h"

class CvToolPanel : public UtilityObj  
{
protected:
	HINSTANCE		m_hInstance;
	IUtil*			m_iu;
	HWND			m_hPanel;

public:
	Interface*		m_ip;

    CvToolPanel() {};
    virtual ~CvToolPanel() {};

	// Overides of the UtilityObj class
	void BeginEditParams(Interface* ip, IUtil* iu);
	void EndEditParams(Interface* ip, IUtil* iu);
	void DeleteThis()						{}
	void Init(HWND hWnd);
	void Destroy(HWND hWnd);
	
	//void CvToolExecute();
	//void AddCv(INode *pNode,BOOL bCheckName = true);
	//void AddCvNode(INode *pNode,BOOL bValid);

	void BuildCollisionVolume(INode *pNode);

private:
	INode *FindParentJoint(INode *inode);

};

#endif // !defined(AFX_CVTOOL_HPP__C28B8016_1AA9_11D3_9167_00609712FBEF__INCLUDED_)