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

#include <DialogAFConstraintUniversal.h>

Inheritance diagram for DialogAFConstraintUniversal:

Public Types

enum  { IDD = IDD_DIALOG_AF_CONSTRAINT_UNIVERSAL }
 

Public Member Functions

 DialogAFConstraintUniversal (CWnd *pParent=NULL)
 
virtual ~DialogAFConstraintUniversal ()
 
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 OnBnClickedRadioUniversalBoneShaft1 ()
 
afx_msg void OnBnClickedRadioUniversalAnglesShaft1 ()
 
afx_msg void OnCbnSelchangeComboUniversalJoint1Shaft1 ()
 
afx_msg void OnCbnSelchangeComboUniversalJoint2Shaft1 ()
 
afx_msg void OnEnChangeEditUniversalPitchShaft1 ()
 
afx_msg void OnDeltaposSpinUniversalPitchShaft1 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditUniversalYawShaft1 ()
 
afx_msg void OnDeltaposSpinUniversalYawShaft1 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioUniversalBoneShaft2 ()
 
afx_msg void OnBnClickedRadioUniversalAnglesShaft2 ()
 
afx_msg void OnCbnSelchangeComboUniversalJoint1Shaft2 ()
 
afx_msg void OnCbnSelchangeComboUniversalJoint2Shaft2 ()
 
afx_msg void OnEnChangeEditUniversalPitchShaft2 ()
 
afx_msg void OnDeltaposSpinUniversalPitchShaft2 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditUniversalYawShaft2 ()
 
afx_msg void OnDeltaposSpinUniversalYawShaft2 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioUniversalLimitNone ()
 
afx_msg void OnBnClickedRadioUniversalLimitCone ()
 
afx_msg void OnBnClickedRadioUniversalLimitPyramid ()
 
afx_msg void OnEnChangeEditUniversalLimitConeAngle ()
 
afx_msg void OnDeltaposSpinUniversalLimitConeAngle (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditUniversalLimitPyramidAngle1 ()
 
afx_msg void OnDeltaposSpinUniversalLimitPyramidAngle1 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditUniversalLimitPyramidAngle2 ()
 
afx_msg void OnDeltaposSpinUniversalLimitPyramidAngle2 (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditUniversalLimitRoll ()
 
afx_msg void OnDeltaposSpinUniversalLimitRoll (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioUniversalLimitBone ()
 
afx_msg void OnBnClickedRadioUniversalLimitAngles ()
 
afx_msg void OnCbnSelchangeComboUniversalLimitJoint1 ()
 
afx_msg void OnCbnSelchangeComboUniversalLimitJoint2 ()
 
afx_msg void OnEnChangeEditUniversalLimitPitch ()
 
afx_msg void OnDeltaposSpinUniversalLimitPitch (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditUniversalLimitYaw ()
 
afx_msg void OnDeltaposSpinUniversalLimitYaw (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_comboJoint1Shaft1
 
CComboBox m_comboJoint2Shaft1
 
float m_pitchShaft1
 
float m_yawShaft1
 
CComboBox m_comboJoint1Shaft2
 
CComboBox m_comboJoint2Shaft2
 
float m_pitchShaft2
 
float m_yawShaft2
 
float m_coneAngle
 
float m_pyramidAngle1
 
float m_pyramidAngle2
 
CComboBox m_comboLimitJoint1
 
CComboBox m_comboLimitJoint2
 
float m_limitPitch
 
float m_limitYaw
 
float m_limitRoll
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 32 of file DialogAFConstraintUniversal.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 45 of file DialogAFConstraintUniversal.h.

Constructor & Destructor Documentation

DialogAFConstraintUniversal::DialogAFConstraintUniversal ( CWnd *  pParent = NULL)

Definition at line 83 of file DialogAFConstraintUniversal.cpp.

DialogAFConstraintUniversal::~DialogAFConstraintUniversal ( )
virtual

Definition at line 110 of file DialogAFConstraintUniversal.cpp.

Member Function Documentation

void DialogAFConstraintUniversal::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 118 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::InitJointLists ( void  )
private

Definition at line 149 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::LoadConstraint ( idDeclAF_Constraint c)

Definition at line 205 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::LoadFile ( idDeclAF af)

Definition at line 185 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioAnchorCoordinates ( )
protected

Definition at line 443 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioAnchorJoint ( )
protected

Definition at line 434 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioUniversalAnglesShaft1 ( )
protected

Definition at line 531 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioUniversalAnglesShaft2 ( )
protected

Definition at line 607 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioUniversalBoneShaft1 ( )
protected

Definition at line 522 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioUniversalBoneShaft2 ( )
protected

Definition at line 598 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioUniversalLimitAngles ( )
protected

Definition at line 798 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioUniversalLimitBone ( )
protected

Definition at line 789 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioUniversalLimitCone ( )
protected

Definition at line 683 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioUniversalLimitNone ( )
protected

Definition at line 674 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnBnClickedRadioUniversalLimitPyramid ( )
protected

Definition at line 692 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnCbnSelchangeComboAnchorJoint ( )
protected

Definition at line 452 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnCbnSelchangeComboUniversalJoint1Shaft1 ( )
protected

Definition at line 540 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnCbnSelchangeComboUniversalJoint1Shaft2 ( )
protected

Definition at line 616 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnCbnSelchangeComboUniversalJoint2Shaft1 ( )
protected

Definition at line 547 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnCbnSelchangeComboUniversalJoint2Shaft2 ( )
protected

Definition at line 623 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnCbnSelchangeComboUniversalLimitJoint1 ( )
protected

Definition at line 807 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnCbnSelchangeComboUniversalLimitJoint2 ( )
protected

Definition at line 814 of file DialogAFConstraintUniversal.cpp.

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

Definition at line 483 of file DialogAFConstraintUniversal.cpp.

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

Definition at line 496 of file DialogAFConstraintUniversal.cpp.

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

Definition at line 509 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalLimitConeAngle ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 710 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalLimitPitch ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 830 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalLimitPyramidAngle1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 732 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalLimitPyramidAngle2 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 754 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalLimitRoll ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 776 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalLimitYaw ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 852 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalPitchShaft1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 563 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalPitchShaft2 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 639 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalYawShaft1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 585 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnDeltaposSpinUniversalYawShaft2 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 661 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditAnchorX ( )
protected

Definition at line 456 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditAnchorY ( )
protected

Definition at line 465 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditAnchorZ ( )
protected

Definition at line 474 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalLimitConeAngle ( )
protected

Definition at line 701 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalLimitPitch ( )
protected

Definition at line 821 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalLimitPyramidAngle1 ( )
protected

Definition at line 723 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalLimitPyramidAngle2 ( )
protected

Definition at line 745 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalLimitRoll ( )
protected

Definition at line 767 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalLimitYaw ( )
protected

Definition at line 843 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalPitchShaft1 ( )
protected

Definition at line 554 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalPitchShaft2 ( )
protected

Definition at line 630 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalYawShaft1 ( )
protected

Definition at line 576 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::OnEnChangeEditUniversalYawShaft2 ( )
protected

Definition at line 652 of file DialogAFConstraintUniversal.cpp.

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

Definition at line 372 of file DialogAFConstraintUniversal.cpp.

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

Definition at line 430 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::SaveConstraint ( void  )

Definition at line 294 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::SaveFile ( void  )

Definition at line 196 of file DialogAFConstraintUniversal.cpp.

void DialogAFConstraintUniversal::UpdateFile ( void  )

Definition at line 360 of file DialogAFConstraintUniversal.cpp.

Member Data Documentation

idDeclAF_Constraint* DialogAFConstraintUniversal::constraint
private

Definition at line 100 of file DialogAFConstraintUniversal.h.

idDeclAF* DialogAFConstraintUniversal::file
private

Definition at line 99 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_anchor_x
private

Definition at line 104 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_anchor_y
private

Definition at line 105 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_anchor_z
private

Definition at line 106 of file DialogAFConstraintUniversal.h.

CComboBox DialogAFConstraintUniversal::m_comboAnchorJoint
private

Definition at line 103 of file DialogAFConstraintUniversal.h.

CComboBox DialogAFConstraintUniversal::m_comboJoint1Shaft1
private

Definition at line 107 of file DialogAFConstraintUniversal.h.

CComboBox DialogAFConstraintUniversal::m_comboJoint1Shaft2
private

Definition at line 111 of file DialogAFConstraintUniversal.h.

CComboBox DialogAFConstraintUniversal::m_comboJoint2Shaft1
private

Definition at line 108 of file DialogAFConstraintUniversal.h.

CComboBox DialogAFConstraintUniversal::m_comboJoint2Shaft2
private

Definition at line 112 of file DialogAFConstraintUniversal.h.

CComboBox DialogAFConstraintUniversal::m_comboLimitJoint1
private

Definition at line 118 of file DialogAFConstraintUniversal.h.

CComboBox DialogAFConstraintUniversal::m_comboLimitJoint2
private

Definition at line 119 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_coneAngle
private

Definition at line 115 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_limitPitch
private

Definition at line 120 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_limitRoll
private

Definition at line 122 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_limitYaw
private

Definition at line 121 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_pitchShaft1
private

Definition at line 109 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_pitchShaft2
private

Definition at line 113 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_pyramidAngle1
private

Definition at line 116 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_pyramidAngle2
private

Definition at line 117 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_yawShaft1
private

Definition at line 110 of file DialogAFConstraintUniversal.h.

float DialogAFConstraintUniversal::m_yawShaft2
private

Definition at line 114 of file DialogAFConstraintUniversal.h.

toolTip_t DialogAFConstraintUniversal::toolTips
staticprivate

Definition at line 125 of file DialogAFConstraintUniversal.h.


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