# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

animation_set_dlg.h

Go to the documentation of this file.
00001 
00007 /* Copyright, 2000 Nevrax Ltd.
00008  *
00009  * This file is part of NEVRAX NEL.
00010  * NEVRAX NEL is free software; you can redistribute it and/or modify
00011  * it under the terms of the GNU General Public License as published by
00012  * the Free Software Foundation; either version 2, or (at your option)
00013  * any later version.
00014 
00015  * NEVRAX NEL is distributed in the hope that it will be useful, but
00016  * WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00018  * General Public License for more details.
00019 
00020  * You should have received a copy of the GNU General Public License
00021  * along with NEVRAX NEL; see the file COPYING. If not, write to the
00022  * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
00023  * MA 02111-1307, USA.
00024  */
00025 
00026 #if !defined(AFX_ANIMATION_SET_DLG_H__AA6100E2_19FA_11D5_9CD4_0050DAC3A412__INCLUDED_)
00027 #define AFX_ANIMATION_SET_DLG_H__AA6100E2_19FA_11D5_9CD4_0050DAC3A412__INCLUDED_
00028 
00029 #if _MSC_VER > 1000
00030 #pragma once
00031 #endif // _MSC_VER > 1000
00032 // animation_set_dlg.h : header file
00033 //
00034 
00035 #include <nel/3d/animation_set.h>
00036 
00038 // CAnimationSetDlg dialog
00039 
00040 class CAnimationSetDlg : public CDialog
00041 {
00042         friend class CObjectViewer;
00043 // Construction
00044 public:
00045         CAnimationSetDlg (class CObjectViewer* objView, CWnd* pParent = NULL);   // standard constructor
00046 
00047 // Dialog Data
00048         //{{AFX_DATA(CAnimationSetDlg)
00049         enum { IDD = IDD_ANIMATION_SET };
00050         CTreeCtrl       SkelTree;
00051         CTreeCtrl       Tree;
00052         //}}AFX_DATA
00053 
00054 
00055 // Overrides
00056         // ClassWizard generated virtual function overrides
00057         //{{AFX_VIRTUAL(CAnimationSetDlg)
00058         protected:
00059         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00060         //}}AFX_VIRTUAL
00061 
00062 // Implementation
00063 protected:
00064 
00065         // Load an animation
00066         void loadAnimation (const char* fileName);
00067         void addAnimation (NL3D::CAnimation* pAnim, const char* name);
00068         void loadSkeleton (const char* fileName);
00069 
00070         // Pointer on an animation set
00071         CObjectViewer*                          _ObjView;
00072         std::vector<std::string>        _ListAnimation;
00073         std::vector<std::string>        _ListSkeleton;
00074 
00075         // Generated message map functions
00076         //{{AFX_MSG(CAnimationSetDlg)
00077         afx_msg void OnAddAnimation();
00078         afx_msg void OnReset();
00079         afx_msg void OnAddSkelWt();
00080         afx_msg void OnDestroy();
00081         //}}AFX_MSG
00082         DECLARE_MESSAGE_MAP()
00083 };
00084 
00085 //{{AFX_INSERT_LOCATION}}
00086 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00087 
00088 #endif // !defined(AFX_ANIMATION_SET_DLG_H__AA6100E2_19FA_11D5_9CD4_0050DAC3A412__INCLUDED_)