-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyGirderPropertiesGraphViewController.h
More file actions
38 lines (27 loc) · 1.25 KB
/
PyGirderPropertiesGraphViewController.h
File metadata and controls
38 lines (27 loc) · 1.25 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
#pragma once
#include "PyViewControllerBase.h"
#include <EAF\EAFViewController.h>
#include <Graphs\GirderPropertiesGraphViewController.h>
class CPyGirderPropertiesGraphViewController : public CPyViewControllerBase
{
public:
void Init(IGirderPropertiesGraphViewController* pViewController);
void SetPropertyType(CGirderPropertiesGraphBuilder::PropertyType propertyType);
CGirderPropertiesGraphBuilder::PropertyType GetPropertyType() const;
bool IsInvariantProperty(CGirderPropertiesGraphBuilder::PropertyType propertyType) const;
void SetSectionPropertyType(pgsTypes::SectionPropertyType type);
pgsTypes::SectionPropertyType GetSectionPropertyType() const;
void SelectGirder(const CGirderKey& girderKey);
const CGirderKey& GetGirder() const;
void SetInterval(IntervalIndexType intervalIdx);
IntervalIndexType GetInterval() const;
IntervalIndexType GetFirstInterval() const;
IntervalIndexType GetLastInterval() const;
void SetShowGrid(bool bShow);
bool GetShowGrid() const;
void SetShowGirder(bool bShow);
bool GetShowGirder() const;
static CPyGirderPropertiesGraphViewController* GetGraphController(CPyViewControllerBase* pController);
private:
CComPtr<IGirderPropertiesGraphViewController> m_pMyViewController;
};