-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPySegmentAnalysisResultsGraphViewController.h
More file actions
58 lines (42 loc) · 2.01 KB
/
PySegmentAnalysisResultsGraphViewController.h
File metadata and controls
58 lines (42 loc) · 2.01 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
56
57
#pragma once
#include "PyViewControllerBase.h"
#include <EAF\EAFViewController.h>
#include <Graphs\SegmentAnalysisResultsGraphViewController.h>
class CPySegmentAnalysisResultsGraphViewController : public CPyViewControllerBase
{
public:
void Init(ISegmentAnalysisResultsGraphViewController* pViewController);
void SetGraphMode(ISegmentAnalysisResultsGraphViewController::GraphMode mode);
ISegmentAnalysisResultsGraphViewController::GraphMode GetGraphMode() const;
CSegmentKey GetSegment() const;
void SelectSegment(const CSegmentKey& segment);
std::vector<ActionType> GetActionTypes() const;
boost::python::str GetActionName(ActionType action) const;
void SetResultsType(ResultsType resultsType);
ResultsType GetResultsType() const;
void SetActionType(ActionType actionType);
ActionType GetActionType() const;
void SetAnalysisType(pgsTypes::AnalysisType analysisType);
pgsTypes::AnalysisType GetAnalysisType() const;
IndexType GetGraphTypeCount() const;
boost::python::str GetGraphType(IndexType idx) const;
void SelectGraphTypeByIndex(IndexType idx);
void SelectGraphTypeByName(LPCSTR lpszType);
IndexType GetGraphCount() const;
IndexType GetSelectedGraphCount() const;
boost::python::list GetSelectedGraphs() const;
boost::python::str GetGraphName(IndexType graphIdx) const;
void SelectGraphByIndex(IndexType graphIdx);
void SelectGraphByName(LPCSTR lpszGraphName);
void SelectGraphsByIndex(const boost::python::list& lGraphs);
void SelectGraphsByName(const boost::python::list& lGraphs);
void SetShowGrid(bool bShow);
bool GetShowGrid() const;
void SetShowGirder(bool bShow);
bool GetShowGirder() const;
void SelectStressLocation(pgsTypes::StressLocation location, bool bSelect);
bool IsStressLocationSelected(pgsTypes::StressLocation location) const;
static CPySegmentAnalysisResultsGraphViewController* GetGraphController(CPyViewControllerBase* pController);
private:
CComPtr<ISegmentAnalysisResultsGraphViewController> m_pMyViewController;
};