doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
DialogAFConstraintBallAndSocket Class Reference

#include <DialogAFConstraintBallAndSocket.h>

Inheritance diagram for DialogAFConstraintBallAndSocket:

Public Types

enum  { IDD = IDD_DIALOG_AF_CONSTRAINT_BALLANDSOCKET }
 

Public Member Functions

 DialogAFConstraintBallAndSocket (CWnd *pParent=NULL)
 
virtual ~DialogAFConstraintBallAndSocket ()
 
void LoadFile (idDeclAF *af)
 
void SaveFile (void)
 
void LoadConstraint (idDeclAF_Constraint *c)
 
void SaveConstraint (void)
 
void UpdateFile (void)
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
virtual int OnToolHitTest (CPoint point, TOOLINFO *pTI) const
 
afx_msg BOOL OnToolTipNotify (UINT id, NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioAnchorJoint ()
 
afx_msg void OnBnClickedRadioAnchorCoordinates ()
 
afx_msg void OnCbnSelchangeComboAnchorJoint ()
 
afx_msg void OnEnChangeEditAnchorX ()
 
afx_msg void OnEnChangeEditAnchorY ()
 
afx_msg void OnEnChangeEditAnchorZ ()
 
afx_msg void OnDeltaposSpinAnchorX (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnDeltaposSpinAnchorY (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnDeltaposSpinAnchorZ (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioBasLimitNone ()
 
afx_msg void OnBnClickedRadioBasLimitCone ()
 
afx_msg void OnBnClickedRadioBasLimitPyramid ()
 
afx_msg void OnEnChangeEditBasLimitConeAngle ()
 
afx_msg void OnDeltaposSpinBasLimitConeAngle (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditBasLimitPyramidAngle1 ()
 
afx_msg void OnDeltaposSpinBasLimitPyramidAngle1 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditBasLimitPyramidAngle2 ()
 
afx_msg void OnDeltaposSpinBasLimitPyramidAngle2 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditBasLimitRoll ()
 
afx_msg void OnDeltaposSpinBasLimitRoll (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioBasLimitBone ()
 
afx_msg void OnBnClickedRadioBasLimitAngles ()
 
afx_msg void OnCbnSelchangeComboBasLimitJoint1 ()
 
afx_msg void OnCbnSelchangeComboBasLimitJoint2 ()
 
afx_msg void OnEnChangeEditBasLimitPitch ()
 
afx_msg void OnDeltaposSpinBasLimitPitch (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditBasLimitYaw ()
 
afx_msg void OnDeltaposSpinBasLimitYaw (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioBasLimitAxisBone ()
 
afx_msg void OnBnClickedRadioBasLimitAxisAngles ()
 
afx_msg void OnCbnSelchangeComboBasLimitAxisJoint1 ()
 
afx_msg void OnCbnSelchangeComboBasLimitAxisJoint2 ()
 
afx_msg void OnEnChangeEditBasLimitAxisPitch ()
 
afx_msg void OnDeltaposSpinBasLimitAxisPitch (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditBasLimitAxisYaw ()
 
afx_msg void OnDeltaposSpinBasLimitAxisYaw (NMHDR *pNMHDR, LRESULT *pResult)
 

Private Member Functions

void InitJointLists (void)
 

Private Attributes

idDeclAFfile
 
idDeclAF_Constraintconstraint
 
CComboBox m_comboAnchorJoint
 
float m_anchor_x
 
float m_anchor_y
 
float m_anchor_z
 
float m_coneAngle
 
float m_pyramidAngle1
 
float m_pyramidAngle2
 
CComboBox m_comboLimitJoint1
 
CComboBox m_comboLimitJoint2
 
float m_limitPitch
 
float m_limitYaw
 
float m_limitRoll
 
CComboBox m_comboLimitAxisJoint1
 
CComboBox m_comboLimitAxisJoint2
 
float m_limitAxisPitch
 
float m_limitAxisYaw
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 32 of file DialogAFConstraintBallAndSocket.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 45 of file DialogAFConstraintBallAndSocket.h.

Constructor & Destructor Documentation

DialogAFConstraintBallAndSocket::DialogAFConstraintBallAndSocket ( CWnd *  pParent = NULL)

Definition at line 77 of file DialogAFConstraintBallAndSocket.cpp.

DialogAFConstraintBallAndSocket::~DialogAFConstraintBallAndSocket ( )
virtual

Definition at line 102 of file DialogAFConstraintBallAndSocket.cpp.

Member Function Documentation

void DialogAFConstraintBallAndSocket::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 110 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::InitJointLists ( void  )
private

Definition at line 137 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::LoadConstraint ( idDeclAF_Constraint c)

Definition at line 189 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::LoadFile ( idDeclAF af)

Definition at line 169 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnBnClickedRadioAnchorCoordinates ( )
protected

Definition at line 391 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnBnClickedRadioAnchorJoint ( )
protected

Definition at line 382 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnBnClickedRadioBasLimitAngles ( )
protected

Definition at line 594 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnBnClickedRadioBasLimitAxisAngles ( )
protected

Definition at line 670 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnBnClickedRadioBasLimitAxisBone ( )
protected

Definition at line 661 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnBnClickedRadioBasLimitBone ( )
protected

Definition at line 585 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnBnClickedRadioBasLimitCone ( )
protected

Definition at line 479 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnBnClickedRadioBasLimitNone ( )
protected

Definition at line 470 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnBnClickedRadioBasLimitPyramid ( )
protected

Definition at line 488 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnCbnSelchangeComboAnchorJoint ( )
protected

Definition at line 400 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnCbnSelchangeComboBasLimitAxisJoint1 ( )
protected

Definition at line 679 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnCbnSelchangeComboBasLimitAxisJoint2 ( )
protected

Definition at line 686 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnCbnSelchangeComboBasLimitJoint1 ( )
protected

Definition at line 603 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnCbnSelchangeComboBasLimitJoint2 ( )
protected

Definition at line 610 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinAnchorX ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 431 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinAnchorY ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 444 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinAnchorZ ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 457 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinBasLimitAxisPitch ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 702 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinBasLimitAxisYaw ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 724 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinBasLimitConeAngle ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 506 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinBasLimitPitch ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 626 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinBasLimitPyramidAngle1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 528 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinBasLimitPyramidAngle2 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 550 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinBasLimitRoll ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 572 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnDeltaposSpinBasLimitYaw ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 648 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditAnchorX ( )
protected

Definition at line 404 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditAnchorY ( )
protected

Definition at line 413 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditAnchorZ ( )
protected

Definition at line 422 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitAxisPitch ( )
protected

Definition at line 693 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitAxisYaw ( )
protected

Definition at line 715 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitConeAngle ( )
protected

Definition at line 497 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitPitch ( )
protected

Definition at line 617 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitPyramidAngle1 ( )
protected

Definition at line 519 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitPyramidAngle2 ( )
protected

Definition at line 541 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitRoll ( )
protected

Definition at line 563 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::OnEnChangeEditBasLimitYaw ( )
protected

Definition at line 639 of file DialogAFConstraintBallAndSocket.cpp.

int DialogAFConstraintBallAndSocket::OnToolHitTest ( CPoint  point,
TOOLINFO *  pTI 
) const
protectedvirtual

Definition at line 328 of file DialogAFConstraintBallAndSocket.cpp.

BOOL DialogAFConstraintBallAndSocket::OnToolTipNotify ( UINT  id,
NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 378 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::SaveConstraint ( void  )

Definition at line 262 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::SaveFile ( void  )

Definition at line 180 of file DialogAFConstraintBallAndSocket.cpp.

void DialogAFConstraintBallAndSocket::UpdateFile ( void  )

Definition at line 316 of file DialogAFConstraintBallAndSocket.cpp.

Member Data Documentation

idDeclAF_Constraint* DialogAFConstraintBallAndSocket::constraint
private

Definition at line 92 of file DialogAFConstraintBallAndSocket.h.

idDeclAF* DialogAFConstraintBallAndSocket::file
private

Definition at line 91 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_anchor_x
private

Definition at line 96 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_anchor_y
private

Definition at line 97 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_anchor_z
private

Definition at line 98 of file DialogAFConstraintBallAndSocket.h.

CComboBox DialogAFConstraintBallAndSocket::m_comboAnchorJoint
private

Definition at line 95 of file DialogAFConstraintBallAndSocket.h.

CComboBox DialogAFConstraintBallAndSocket::m_comboLimitAxisJoint1
private

Definition at line 107 of file DialogAFConstraintBallAndSocket.h.

CComboBox DialogAFConstraintBallAndSocket::m_comboLimitAxisJoint2
private

Definition at line 108 of file DialogAFConstraintBallAndSocket.h.

CComboBox DialogAFConstraintBallAndSocket::m_comboLimitJoint1
private

Definition at line 102 of file DialogAFConstraintBallAndSocket.h.

CComboBox DialogAFConstraintBallAndSocket::m_comboLimitJoint2
private

Definition at line 103 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_coneAngle
private

Definition at line 99 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_limitAxisPitch
private

Definition at line 109 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_limitAxisYaw
private

Definition at line 110 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_limitPitch
private

Definition at line 104 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_limitRoll
private

Definition at line 106 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_limitYaw
private

Definition at line 105 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_pyramidAngle1
private

Definition at line 100 of file DialogAFConstraintBallAndSocket.h.

float DialogAFConstraintBallAndSocket::m_pyramidAngle2
private

Definition at line 101 of file DialogAFConstraintBallAndSocket.h.

toolTip_t DialogAFConstraintBallAndSocket::toolTips
staticprivate
Initial value:
= {
{ IDC_RADIO_ANCHOR_JOINT, "use the position of a joint for the anchor" },
{ IDC_COMBO_ANCHOR_JOINT, "anchor joint name" },
{ IDC_RADIO_ANCHOR_COORDINATES, "use absolute coordinates for the anchor" },
{ IDC_EDIT_ANCHOR_X, "anchor x-coordinate" },
{ IDC_EDIT_ANCHOR_Y, "anchor y-coordinate" },
{ IDC_EDIT_ANCHOR_Z, "anchor z-coordinate" },
{ IDC_RADIO_BAS_LIMIT_NONE, "no joint limit" },
{ IDC_RADIO_BAS_LIMIT_CONE, "cone shaped joint limit" },
{ IDC_RADIO_BAS_LIMIT_PYRAMID, "pyramid shaped joint limit" },
{ IDC_EDIT_BAS_LIMIT_CONE_ANGLE, "cone angle" },
{ IDC_EDIT_BAS_LIMIT_PYRAMID_ANGLE1, "first pyramid angle" },
{ IDC_EDIT_BAS_LIMIT_PYRAMID_ANGLE2, "second pyramid angle" },
{ IDC_EDIT_BAS_LIMIT_ROLL, "roll angle" },
{ IDC_RADIO_BAS_LIMIT_BONE, "use a bone for the orientation of the limit" },
{ IDC_RADIO_BAS_LIMIT_ANGLES, "use angles to set the orientation of the limit" },
{ IDC_COMBO_BAS_LIMIT_JOINT1, "bone start joint" },
{ IDC_COMBO_BAS_LIMIT_JOINT2, "bone end joint" },
{ IDC_EDIT_BAS_LIMIT_PITCH, "pitch angle" },
{ IDC_EDIT_BAS_LIMIT_YAW, "yaw angle" },
{ IDC_RADIO_BAS_LIMIT_AXIS_BONE, "use a bone for the limit axis" },
{ IDC_RADIO_BAS_LIMIT_AXIS_ANGLES, "use angles to set the orientation of the limit axis" },
{ IDC_COMBO_BAS_LIMIT_AXIS_JOINT1, "bone start joint" },
{ IDC_COMBO_BAS_LIMIT_AXIS_JOINT2, "bone end joint" },
{ IDC_EDIT_BAS_LIMIT_AXIS_PITCH, "pitch angle" },
{ IDC_EDIT_BAS_LIMIT_AXIS_YAW, "yaw angle" },
{ 0, NULL }
}

Definition at line 113 of file DialogAFConstraintBallAndSocket.h.


The documentation for this class was generated from the following files: