-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPyDeflectionHistoryGraphViewController.cpp
70 lines (57 loc) · 2.02 KB
/
PyDeflectionHistoryGraphViewController.cpp
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#include "stdafx.h"
#include "PyDeflectionHistoryGraphViewController.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
void CPyDeflectionHistoryGraphViewController::Init(IDeflectionHistoryGraphViewController* pViewController)
{
m_pMyViewController = pViewController;
CPyViewControllerBase::Init(pViewController);
}
void CPyDeflectionHistoryGraphViewController::SelectLocation(const pgsPointOfInterest& poi)
{
m_pMyViewController->SelectLocation(poi);
}
const pgsPointOfInterest& CPyDeflectionHistoryGraphViewController::GetLocation() const
{
return m_pMyViewController->GetLocation();
}
void CPyDeflectionHistoryGraphViewController::SetXAxisType(IDeflectionHistoryGraphViewController::XAxisType type)
{
m_pMyViewController->SetXAxisType(type);
}
IDeflectionHistoryGraphViewController::XAxisType CPyDeflectionHistoryGraphViewController::GetXAxisType() const
{
return m_pMyViewController->GetXAxisType();
}
void CPyDeflectionHistoryGraphViewController::SetIncludeElevationAdjustment(bool bAdjust)
{
m_pMyViewController->IncludeElevationAdjustment(bAdjust);
}
bool CPyDeflectionHistoryGraphViewController::GetIncludeElevationAdjustment() const
{
return m_pMyViewController->IncludeElevationAdjustment();
}
void CPyDeflectionHistoryGraphViewController::SetIncludeUnrecoverableDefl(bool bInclude)
{
m_pMyViewController->IncludeUnrecoverableDefl(bInclude);
}
bool CPyDeflectionHistoryGraphViewController::GetIncludeUnrecoverableDefl() const
{
return m_pMyViewController->IncludeUnrecoverableDefl();
}
void CPyDeflectionHistoryGraphViewController::SetShowGrid(bool bShow)
{
m_pMyViewController->ShowGrid(bShow);
}
bool CPyDeflectionHistoryGraphViewController::GetShowGrid() const
{
return m_pMyViewController->ShowGrid();
}
CPyDeflectionHistoryGraphViewController* CPyDeflectionHistoryGraphViewController::GetGraphController(CPyViewControllerBase* pController)
{
auto pMyController = static_cast<CPyDeflectionHistoryGraphViewController*>(pController);
return pMyController;
}