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