-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyEffectivePrestressGraphViewController.h
More file actions
47 lines (32 loc) · 1.59 KB
/
PyEffectivePrestressGraphViewController.h
File metadata and controls
47 lines (32 loc) · 1.59 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
#pragma once
#include "PyViewControllerBase.h"
#include <EAF\EAFViewController.h>
#include <Graphs\EffectivePrestressGraphViewController.h>
#include <boost\python\list.hpp>
class CPyEffectivePrestressGraphViewController : public CPyViewControllerBase
{
public:
void Init(IEffectivePrestressGraphViewController* pViewController);
IntervalIndexType GetMinimumInterval() const;
IntervalIndexType GetMaximumInterval() const;
void SelectInterval(IntervalIndexType intervalIdx);
void SelectIntervals(const boost::python::list& listIntervals);
boost::python::list GetSelectedIntervals() const;
const CGirderKey& GetGirder() const;
void SelectGirder(const CGirderKey& girderKey);
void SetViewMode(IEffectivePrestressGraphViewController::ViewMode mode);
IEffectivePrestressGraphViewController::ViewMode GetViewMode() const;
void SetStrandType(IEffectivePrestressGraphViewController::StrandType strandType);
IEffectivePrestressGraphViewController::StrandType GetStrandType() const;
// set the duct index to -1 to show effective prestress of pretensioned strands
void SetDuct(IEffectivePrestressGraphViewController::DuctType ductType, DuctIndexType ductIdx);
DuctIndexType GetDuct() const;
IEffectivePrestressGraphViewController::DuctType GetDuctType() const;
void SetShowGrid(bool bShow);
bool GetShowGrid() const;
void SetShowGirder(bool bShow);
bool GetShowGirder() const;
static CPyEffectivePrestressGraphViewController* GetGraphController(CPyViewControllerBase* pController);
private:
CComPtr<IEffectivePrestressGraphViewController> m_pMyViewController;
};