blob: 033e9711c4a6dfadc13a16cac3be59c184fca28f (
plain)
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
|
#include <StepVisual_PresentationStyleByContext.ixx>
StepVisual_PresentationStyleByContext::StepVisual_PresentationStyleByContext () {}
void StepVisual_PresentationStyleByContext::Init(
const Handle(StepVisual_HArray1OfPresentationStyleSelect)& aStyles)
{
StepVisual_PresentationStyleAssignment::Init(aStyles);
}
void StepVisual_PresentationStyleByContext::Init(
const Handle(StepVisual_HArray1OfPresentationStyleSelect)& aStyles,
const StepVisual_StyleContextSelect& aStyleContext)
{
// --- classe own fields ---
styleContext = aStyleContext;
// --- classe inherited fields ---
StepVisual_PresentationStyleAssignment::Init(aStyles);
}
void StepVisual_PresentationStyleByContext::SetStyleContext(const StepVisual_StyleContextSelect& aStyleContext)
{
styleContext = aStyleContext;
}
StepVisual_StyleContextSelect StepVisual_PresentationStyleByContext::StyleContext() const
{
return styleContext;
}
|