-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyBridgeModelView.h
More file actions
56 lines (47 loc) · 1.89 KB
/
PyBridgeModelView.h
File metadata and controls
56 lines (47 loc) · 1.89 KB
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
45
46
47
48
49
50
51
52
53
54
55
#pragma once
#include <BridgeModelViewController.h>
#include <IFace\Selection.h>
#include "PyViewControllerBase.h"
class CPyBridgeModelView : public CPyViewControllerBase
{
public:
void Init(IBridgeModelViewController* pViewController,ISelection* pSelection);
void GetGroupRange(GroupIndexType* pStartGroupIdx, GroupIndexType* pEndGroupIdx) const;
void SetGroupRange(GroupIndexType startGroupIdx, GroupIndexType endGroupIdx);
Float64 GetCutStation() const;
void SetCutStation(Float64 station);
void SetViewMode(IBridgeModelViewController::ViewMode mode);
IBridgeModelViewController::ViewMode GetViewMode() const;
void SetNorthUp(bool bNorthUp);
bool GetNorthUp() const;
void SetShowLabels(bool bShowLabels);
bool GetShowLabels() const;
void SetShowDimensions(bool bShowDimensions);
bool GetShowDimensions() const;
void SetShowBridge(bool bShowBridge);
bool GetShowBridge() const;
void SetSchematic(bool bSchematic);
bool GetSchematic() const;
void ClearSelection();
PierIndexType GetSelectedPier();
SpanIndexType GetSelectedSpan();
CGirderKey GetSelectedGirder();
CSegmentKey GetSelectedSegment();
CClosureKey GetSelectedClosureJoint();
SupportIDType GetSelectedTemporarySupport();
bool IsDeckSelected();
bool IsAlignmentSelected();
bool IsRailingSystemSelected(pgsTypes::TrafficBarrierOrientation orientation);
void SelectPier(PierIndexType pierIdx);
void SelectSpan(SpanIndexType spanIdx);
void SelectGirder(const CGirderKey& girderKey);
void SelectSegment(const CSegmentKey& segmentKey);
void SelectClosureJoint(const CClosureKey& closureKey);
void SelectTemporarySupport(SupportIDType tsID);
void SelectDeck();
void SelectAlignment();
void SelectRailingSystem(pgsTypes::TrafficBarrierOrientation orientation);
private:
CComPtr<IBridgeModelViewController> m_pViewController;
CComPtr<ISelection> m_pSelection;
};