1 //#**************************************************************
2 //# filename:             DlgBodyJointOpt.h
3 //#
4 //# author:               Gerstmayr, Vetyukov
5 //#
6 //# generated:
7 //# description:
8 //# comments:
9 //#
10 //# Copyright (c) 2003-2013 Johannes Gerstmayr, Linz Center of Mechatronics GmbH, Austrian
11 //# Center of Competence in Mechatronics GmbH, Institute of Technical Mechanics at the
12 //# Johannes Kepler Universitaet Linz, Austria. All rights reserved.
13 //#
14 //# This file is part of HotInt.
15 //# HotInt is free software: you can redistribute it and/or modify it under the terms of
16 //# the HOTINT license. See folder 'licenses' for more details.
17 //#
18 //# bug reports are welcome!!!
19 //# WWW:		www.hotint.org
20 //# email:	bug_reports@hotint.org or support@hotint.org
21 //#***************************************************************************************
22 
23 
24 
25 #pragma once
26 
27 
28 // DialogBodyJointOptions-Dialogfeld
29 
30 class DialogBodyJointOptions : public CDialog
31 {
32 	DECLARE_DYNAMIC(DialogBodyJointOptions)
33 
34 public:
35 	DialogBodyJointOptions(CWnd* pParent = NULL);   // Standardkonstruktor
36 	virtual ~DialogBodyJointOptions();
37 
38 // Dialogfelddaten
39 	enum { IDD = IDD_DIALOGBODYJOINTOPTIONS };
40 
41 //functions not added by windows:
42 	void Create(CWnd * pParent);
SetWCDI(WCDInterface * pWCDI_)43 	void SetWCDI(WCDInterface * pWCDI_) { pWCDI = pWCDI_; }
SetGLDrawWnd(CGLDrawWnd * pGLDrawWnd_)44 	void SetGLDrawWnd(CGLDrawWnd * pGLDrawWnd_) { pGLDrawWnd = pGLDrawWnd_; }
45 	void LoadData();  //Get data from WCDinterface
46 	void WriteData(); //Put data to WCDinterface
47 
48 private:
49 	WCDInterface* pWCDI;
50 	CGLDrawWnd* pGLDrawWnd;
51 
52 protected:
53 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV-Unterst�tzung
54 	void OnOK();
55 	void OnCancel();
56 	void OnClose();
57 
58 	DECLARE_MESSAGE_MAP()
59 public:
60 	afx_msg void OnBnClickedApply();
61 	afx_msg void OnBnClickedOk();
62 	BOOL m_check_show_joints;
63 	afx_msg void OnBnClickedCancel();
64 	BOOL m_show_body_numbers;
65 	BOOL m_check_usedegrees;
66 	BOOL m_check_show_constraint_numbers;
67 	BOOL m_check_showbodylocalframe;
68 	double m_bodylocalframesize;
69 	BOOL m_check_showsensors;
70 	double m_sensor_size;
71 	BOOL m_check_joints_transparent;
72 	BOOL m_check_sensors_transparent;
73 	BOOL m_check_bodies_transparent;
74 	BOOL m_check_bodies_supersmooth;
75 	BOOL m_check_show_body_outline;
76 	BOOL m_check_show_body_faces;
77 	int m_radio_eulerangles;
78 	BOOL m_check_showloads;
79 	double m_load_draw_size;
80 	afx_msg void OnBnClickedCheckShowJoints2();
81 	//BOOL m_check_show_control_ojects;
82 	afx_msg void OnEnChangeEditLoaddrawsize();
83 };
84