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
DialogAFConstraintHinge Class Reference

#include <DialogAFConstraintHinge.h>

Inheritance diagram for DialogAFConstraintHinge:

Public Types

enum  { IDD = IDD_DIALOG_AF_CONSTRAINT_HINGE }
 

Public Member Functions

 DialogAFConstraintHinge (CWnd *pParent=NULL)
 
virtual ~DialogAFConstraintHinge ()
 
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 OnBnClickedRadioHingeAxisBone ()
 
afx_msg void OnBnClickedRadioHingeAxisAngles ()
 
afx_msg void OnCbnSelchangeComboHingeAxisJoint1 ()
 
afx_msg void OnCbnSelchangeComboHingeAxisJoint2 ()
 
afx_msg void OnEnChangeEditHingeAxisPitch ()
 
afx_msg void OnDeltaposSpinHingeAxisPitch (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditHingeAxisYaw ()
 
afx_msg void OnDeltaposSpinHingeAxisYaw (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioHingeLimitNone ()
 
afx_msg void OnBnClickedRadioHingeLimitAngles ()
 
afx_msg void OnEnChangeEditHingeLimitAngle1 ()
 
afx_msg void OnDeltaposSpinHingeLimitAngle1 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditHingeLimitAngle2 ()
 
afx_msg void OnDeltaposSpinHingeLimitAngle2 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditHingeLimitAngle3 ()
 
afx_msg void OnDeltaposSpinHingeLimitAngle3 (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
 
CComboBox m_comboAxisJoint1
 
CComboBox m_comboAxisJoint2
 
float m_axisPitch
 
float m_axisYaw
 
float m_limitAngle1
 
float m_limitAngle2
 
float m_limitAngle3
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 32 of file DialogAFConstraintHinge.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 45 of file DialogAFConstraintHinge.h.

Constructor & Destructor Documentation

DialogAFConstraintHinge::DialogAFConstraintHinge ( CWnd *  pParent = NULL)

Definition at line 69 of file DialogAFConstraintHinge.cpp.

DialogAFConstraintHinge::~DialogAFConstraintHinge ( )
virtual

Definition at line 91 of file DialogAFConstraintHinge.cpp.

Member Function Documentation

void DialogAFConstraintHinge::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 99 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::InitJointLists ( void  )
private

Definition at line 121 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::LoadConstraint ( idDeclAF_Constraint c)

Definition at line 169 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::LoadFile ( idDeclAF af)

Definition at line 149 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnBnClickedRadioAnchorCoordinates ( )
protected

Definition at line 328 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnBnClickedRadioAnchorJoint ( )
protected

Definition at line 319 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnBnClickedRadioHingeAxisAngles ( )
protected

Definition at line 416 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnBnClickedRadioHingeAxisBone ( )
protected

Definition at line 407 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnBnClickedRadioHingeLimitAngles ( )
protected

Definition at line 492 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnBnClickedRadioHingeLimitNone ( )
protected

Definition at line 483 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnCbnSelchangeComboAnchorJoint ( )
protected

Definition at line 337 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnCbnSelchangeComboHingeAxisJoint1 ( )
protected

Definition at line 425 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnCbnSelchangeComboHingeAxisJoint2 ( )
protected

Definition at line 432 of file DialogAFConstraintHinge.cpp.

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

Definition at line 368 of file DialogAFConstraintHinge.cpp.

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

Definition at line 381 of file DialogAFConstraintHinge.cpp.

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

Definition at line 394 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnDeltaposSpinHingeAxisPitch ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 448 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnDeltaposSpinHingeAxisYaw ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 470 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnDeltaposSpinHingeLimitAngle1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 510 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnDeltaposSpinHingeLimitAngle2 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 532 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnDeltaposSpinHingeLimitAngle3 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 554 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnEnChangeEditAnchorX ( )
protected

Definition at line 341 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnEnChangeEditAnchorY ( )
protected

Definition at line 350 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnEnChangeEditAnchorZ ( )
protected

Definition at line 359 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnEnChangeEditHingeAxisPitch ( )
protected

Definition at line 439 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnEnChangeEditHingeAxisYaw ( )
protected

Definition at line 461 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnEnChangeEditHingeLimitAngle1 ( )
protected

Definition at line 501 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnEnChangeEditHingeLimitAngle2 ( )
protected

Definition at line 523 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::OnEnChangeEditHingeLimitAngle3 ( )
protected

Definition at line 545 of file DialogAFConstraintHinge.cpp.

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

Definition at line 276 of file DialogAFConstraintHinge.cpp.

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

Definition at line 315 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::SaveConstraint ( void  )

Definition at line 224 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::SaveFile ( void  )

Definition at line 160 of file DialogAFConstraintHinge.cpp.

void DialogAFConstraintHinge::UpdateFile ( void  )

Definition at line 264 of file DialogAFConstraintHinge.cpp.

Member Data Documentation

idDeclAF_Constraint* DialogAFConstraintHinge::constraint
private

Definition at line 81 of file DialogAFConstraintHinge.h.

idDeclAF* DialogAFConstraintHinge::file
private

Definition at line 80 of file DialogAFConstraintHinge.h.

float DialogAFConstraintHinge::m_anchor_x
private

Definition at line 85 of file DialogAFConstraintHinge.h.

float DialogAFConstraintHinge::m_anchor_y
private

Definition at line 86 of file DialogAFConstraintHinge.h.

float DialogAFConstraintHinge::m_anchor_z
private

Definition at line 87 of file DialogAFConstraintHinge.h.

float DialogAFConstraintHinge::m_axisPitch
private

Definition at line 90 of file DialogAFConstraintHinge.h.

float DialogAFConstraintHinge::m_axisYaw
private

Definition at line 91 of file DialogAFConstraintHinge.h.

CComboBox DialogAFConstraintHinge::m_comboAnchorJoint
private

Definition at line 84 of file DialogAFConstraintHinge.h.

CComboBox DialogAFConstraintHinge::m_comboAxisJoint1
private

Definition at line 88 of file DialogAFConstraintHinge.h.

CComboBox DialogAFConstraintHinge::m_comboAxisJoint2
private

Definition at line 89 of file DialogAFConstraintHinge.h.

float DialogAFConstraintHinge::m_limitAngle1
private

Definition at line 92 of file DialogAFConstraintHinge.h.

float DialogAFConstraintHinge::m_limitAngle2
private

Definition at line 93 of file DialogAFConstraintHinge.h.

float DialogAFConstraintHinge::m_limitAngle3
private

Definition at line 94 of file DialogAFConstraintHinge.h.

toolTip_t DialogAFConstraintHinge::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_HINGE_AXIS_BONE, "use a bone for the hinge axis" },
{ IDC_RADIO_HINGE_AXIS_ANGLES, "use angles to set the orientation of the hinge axis" },
{ IDC_COMBO_HINGE_AXIS_JOINT1, "bone start joint" },
{ IDC_COMBO_HINGE_AXIS_JOINT2, "bone end joint" },
{ IDC_EDIT_HINGE_AXIS_PITCH, "pitch angle" },
{ IDC_EDIT_HINGE_AXIS_YAW, "yaw angle" },
{ IDC_RADIO_HINGE_LIMIT_NONE, "no limit" },
{ IDC_RADIO_HINGE_LIMIT_ANGLES, "angle limit" },
{ IDC_EDIT_HINGE_LIMIT_ANGLE1, "limit orientation" },
{ IDC_EDIT_HINGE_LIMIT_ANGLE2, "limit width" },
{ IDC_EDIT_HINGE_LIMIT_ANGLE3, "limit angle" },
{ 0, NULL }
}

Definition at line 97 of file DialogAFConstraintHinge.h.


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