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

#include <DialogAFConstraintSpring.h>

Inheritance diagram for DialogAFConstraintSpring:

Public Types

enum  { IDD = IDD_DIALOG_AF_CONSTRAINT_HINGE }
 

Public Member Functions

 DialogAFConstraintSpring (CWnd *pParent=NULL)
 
virtual ~DialogAFConstraintSpring ()
 
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 OnBnClickedRadioAnchor2Joint ()
 
afx_msg void OnBnClickedRadioAnchor2Coordinates ()
 
afx_msg void OnCbnSelchangeComboAnchor2Joint ()
 
afx_msg void OnEnChangeEditAnchor2X ()
 
afx_msg void OnEnChangeEditAnchor2Y ()
 
afx_msg void OnEnChangeEditAnchor2Z ()
 
afx_msg void OnDeltaposSpinAnchor2X (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnDeltaposSpinAnchor2Y (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnDeltaposSpinAnchor2Z (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditSpringStretch ()
 
afx_msg void OnDeltaposSpinSpringStretch (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditSpringCompress ()
 
afx_msg void OnDeltaposSpinSpringCompress (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditSpringDamping ()
 
afx_msg void OnDeltaposSpinSpringDamping (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditSpringRestLength ()
 
afx_msg void OnDeltaposSpinSpringRestLength (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioLimitNoMinLength ()
 
afx_msg void OnBnClickedRadioLimitMinLength ()
 
afx_msg void OnEnChangeEditLimitMinLength ()
 
afx_msg void OnDeltaposSpinLimitMinLength (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioLimitNoMaxLength ()
 
afx_msg void OnBnClickedRadioLimitMaxLength ()
 
afx_msg void OnEnChangeEditLimitMaxLength ()
 
afx_msg void OnDeltaposSpinLimitMaxLength (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_comboAnchor2Joint
 
float m_anchor2_x
 
float m_anchor2_y
 
float m_anchor2_z
 
float m_stretch
 
float m_compress
 
float m_damping
 
float m_restLength
 
float m_minLength
 
float m_maxLength
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 32 of file DialogAFConstraintSpring.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 45 of file DialogAFConstraintSpring.h.

Constructor & Destructor Documentation

DialogAFConstraintSpring::DialogAFConstraintSpring ( CWnd *  pParent = NULL)

Definition at line 74 of file DialogAFConstraintSpring.cpp.

DialogAFConstraintSpring::~DialogAFConstraintSpring ( )
virtual

Definition at line 100 of file DialogAFConstraintSpring.cpp.

Member Function Documentation

void DialogAFConstraintSpring::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 108 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::InitJointLists ( void  )
private

Definition at line 133 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::LoadConstraint ( idDeclAF_Constraint c)

Definition at line 179 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::LoadFile ( idDeclAF af)

Definition at line 159 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnBnClickedRadioAnchor2Coordinates ( )
protected

Definition at line 445 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnBnClickedRadioAnchor2Joint ( )
protected

Definition at line 436 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnBnClickedRadioAnchorCoordinates ( )
protected

Definition at line 357 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnBnClickedRadioAnchorJoint ( )
protected

Definition at line 348 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnBnClickedRadioLimitMaxLength ( )
protected

Definition at line 638 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnBnClickedRadioLimitMinLength ( )
protected

Definition at line 603 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnBnClickedRadioLimitNoMaxLength ( )
protected

Definition at line 629 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnBnClickedRadioLimitNoMinLength ( )
protected

Definition at line 594 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnCbnSelchangeComboAnchor2Joint ( )
protected

Definition at line 454 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnCbnSelchangeComboAnchorJoint ( )
protected

Definition at line 366 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnDeltaposSpinAnchor2X ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 485 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnDeltaposSpinAnchor2Y ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 498 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnDeltaposSpinAnchor2Z ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 511 of file DialogAFConstraintSpring.cpp.

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

Definition at line 397 of file DialogAFConstraintSpring.cpp.

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

Definition at line 410 of file DialogAFConstraintSpring.cpp.

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

Definition at line 423 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnDeltaposSpinLimitMaxLength ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 651 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnDeltaposSpinLimitMinLength ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 616 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnDeltaposSpinSpringCompress ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 549 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnDeltaposSpinSpringDamping ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 565 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnDeltaposSpinSpringRestLength ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 581 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnDeltaposSpinSpringStretch ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 533 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditAnchor2X ( )
protected

Definition at line 458 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditAnchor2Y ( )
protected

Definition at line 467 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditAnchor2Z ( )
protected

Definition at line 476 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditAnchorX ( )
protected

Definition at line 370 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditAnchorY ( )
protected

Definition at line 379 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditAnchorZ ( )
protected

Definition at line 388 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditLimitMaxLength ( )
protected

Definition at line 642 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditLimitMinLength ( )
protected

Definition at line 607 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditSpringCompress ( )
protected

Definition at line 540 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditSpringDamping ( )
protected

Definition at line 556 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditSpringRestLength ( )
protected

Definition at line 572 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::OnEnChangeEditSpringStretch ( )
protected

Definition at line 524 of file DialogAFConstraintSpring.cpp.

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

Definition at line 296 of file DialogAFConstraintSpring.cpp.

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

Definition at line 344 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::SaveConstraint ( void  )

Definition at line 244 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::SaveFile ( void  )

Definition at line 170 of file DialogAFConstraintSpring.cpp.

void DialogAFConstraintSpring::UpdateFile ( void  )

Definition at line 284 of file DialogAFConstraintSpring.cpp.

Member Data Documentation

idDeclAF_Constraint* DialogAFConstraintSpring::constraint
private

Definition at line 90 of file DialogAFConstraintSpring.h.

idDeclAF* DialogAFConstraintSpring::file
private

Definition at line 89 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_anchor2_x
private

Definition at line 98 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_anchor2_y
private

Definition at line 99 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_anchor2_z
private

Definition at line 100 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_anchor_x
private

Definition at line 94 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_anchor_y
private

Definition at line 95 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_anchor_z
private

Definition at line 96 of file DialogAFConstraintSpring.h.

CComboBox DialogAFConstraintSpring::m_comboAnchor2Joint
private

Definition at line 97 of file DialogAFConstraintSpring.h.

CComboBox DialogAFConstraintSpring::m_comboAnchorJoint
private

Definition at line 93 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_compress
private

Definition at line 102 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_damping
private

Definition at line 103 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_maxLength
private

Definition at line 106 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_minLength
private

Definition at line 105 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_restLength
private

Definition at line 104 of file DialogAFConstraintSpring.h.

float DialogAFConstraintSpring::m_stretch
private

Definition at line 101 of file DialogAFConstraintSpring.h.

toolTip_t DialogAFConstraintSpring::toolTips
staticprivate
Initial value:
= {
{ IDC_RADIO_ANCHOR_JOINT, "use the position of a joint for the first anchor" },
{ IDC_COMBO_ANCHOR_JOINT, "first anchor joint name" },
{ IDC_RADIO_ANCHOR_COORDINATES, "use absolute coordinates for the first anchor" },
{ IDC_EDIT_ANCHOR_X, "first anchor x-coordinate" },
{ IDC_EDIT_ANCHOR_Y, "first anchor y-coordinate" },
{ IDC_EDIT_ANCHOR_Z, "first anchor z-coordinate" },
{ IDC_RADIO_ANCHOR2_JOINT, "use the position of a joint for the second anchor" },
{ IDC_COMBO_ANCHOR2_JOINT, "second anchor joint name" },
{ IDC_RADIO_ANCHOR2_COORDINATES, "use absolute coordinates for the second anchor" },
{ IDC_EDIT_ANCHOR2_X, "second anchor x-coordinate" },
{ IDC_EDIT_ANCHOR2_Y, "second anchor y-coordinate" },
{ IDC_EDIT_ANCHOR2_Z, "second anchor z-coordinate" },
{ IDC_EDIT_SPRING_STRETCH, "spring constant when stretched" },
{ IDC_EDIT_SPRING_COMPRESS, "spring constant when compressed" },
{ IDC_EDIT_SPRING_DAMPING, "spring damping" },
{ IDC_EDIT_SPRING_REST_LENGTH, "rest length" },
{ IDC_RADIO_SPRING_NO_MIN_LENGTH, "no minimum length" },
{ IDC_RADIO_SPRING_MIN_LENGTH, "minimum length" },
{ IDC_EDIT_SPRING_MIN_LENGTH, "minimum length" },
{ IDC_RADIO_SPRING_NO_MAX_LENGTH, "no maximum length" },
{ IDC_RADIO_SPRING_MAX_LENGTH, "maximum length" },
{ IDC_EDIT_SPRING_MAX_LENGTH, "maximum length" },
{ 0, NULL }
}

Definition at line 109 of file DialogAFConstraintSpring.h.


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