Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_CameraModelD2.cxx
CommitLineData
7fd59977 1#include <StepVisual_CameraModelD2.ixx>
2
3
4StepVisual_CameraModelD2::StepVisual_CameraModelD2 () {}
5
6void StepVisual_CameraModelD2::Init(
7 const Handle(TCollection_HAsciiString)& aName)
8{
9
10 StepRepr_RepresentationItem::Init(aName);
11}
12
13void StepVisual_CameraModelD2::Init(
14 const Handle(TCollection_HAsciiString)& aName,
15 const Handle(StepVisual_PlanarBox)& aViewWindow,
16 const Standard_Boolean aViewWindowClipping)
17{
18 // --- classe own fields ---
19 viewWindow = aViewWindow;
20 viewWindowClipping = aViewWindowClipping;
21 // --- classe inherited fields ---
22 StepRepr_RepresentationItem::Init(aName);
23}
24
25
26void StepVisual_CameraModelD2::SetViewWindow(const Handle(StepVisual_PlanarBox)& aViewWindow)
27{
28 viewWindow = aViewWindow;
29}
30
31Handle(StepVisual_PlanarBox) StepVisual_CameraModelD2::ViewWindow() const
32{
33 return viewWindow;
34}
35
36void StepVisual_CameraModelD2::SetViewWindowClipping(const Standard_Boolean aViewWindowClipping)
37{
38 viewWindowClipping = aViewWindowClipping;
39}
40
41Standard_Boolean StepVisual_CameraModelD2::ViewWindowClipping() const
42{
43 return viewWindowClipping;
44}