-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPyGirderModelView.h
45 lines (40 loc) · 1.39 KB
/
PyGirderModelView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#pragma once
#include <GirderModelViewController.h>
#include "PyViewControllerBase.h"
class CPyGirderModelView : public CPyViewControllerBase
{
public:
void Init(IGirderModelViewController* pViewController);
bool GetSyncWithBridgeModelView() const;
void SetSyncWithBridgeModelView(bool bSync);
const CGirderKey& GetGirder() const;
void SelectGirder(const CGirderKey& girderKey);
EventIndexType GetEvent() const;
bool SetEvent(EventIndexType eventIdx);
Float64 GetCutLocation() const;
void CutAt(Float64 Xg);
void CutAtNext();
void CutAtPrev();
Float64 GetMinCutLocation() const;
Float64 GetMaxCutLocation() const;
void SetShowStrands(bool bShow);
bool GetShowStrands() const;
void SetShowStrandCG(bool bShow);
bool GetShowStrandCG() const;
void SetShowCG(bool bShow);
bool GetShowCG() const;
void SetShowSectionProperties(bool bShow);
bool GetShowSectionProperties() const;
void SetShowDimensions(bool bShow);
bool GetShowDimensions() const;
void SetShowLongitudinalReinforcement(bool bShow);
bool GetShowLongitudinalReinforcement() const;
void SetShowTransverseReinforcement(bool bShow);
bool GetShowTransverseReinforcement() const;
void SetShowLoads(bool bShow);
bool GetShowLoads() const;
void SetSchematic(bool bSchematic);
bool GetSchematic() const;
private:
CComPtr<IGirderModelViewController> m_pMyViewController;
};