blob: 00c98b91c593bcefa1380330ce49079a1169cac5 (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
#include <StepVisual_CameraModelD2.ixx>
StepVisual_CameraModelD2::StepVisual_CameraModelD2 () {}
void StepVisual_CameraModelD2::Init(
const Handle(TCollection_HAsciiString)& aName)
{
StepRepr_RepresentationItem::Init(aName);
}
void StepVisual_CameraModelD2::Init(
const Handle(TCollection_HAsciiString)& aName,
const Handle(StepVisual_PlanarBox)& aViewWindow,
const Standard_Boolean aViewWindowClipping)
{
// --- classe own fields ---
viewWindow = aViewWindow;
viewWindowClipping = aViewWindowClipping;
// --- classe inherited fields ---
StepRepr_RepresentationItem::Init(aName);
}
void StepVisual_CameraModelD2::SetViewWindow(const Handle(StepVisual_PlanarBox)& aViewWindow)
{
viewWindow = aViewWindow;
}
Handle(StepVisual_PlanarBox) StepVisual_CameraModelD2::ViewWindow() const
{
return viewWindow;
}
void StepVisual_CameraModelD2::SetViewWindowClipping(const Standard_Boolean aViewWindowClipping)
{
viewWindowClipping = aViewWindowClipping;
}
Standard_Boolean StepVisual_CameraModelD2::ViewWindowClipping() const
{
return viewWindowClipping;
}
|