File indexing completed on 2025-01-18 10:02:54
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _AIS_AnimationCamera_HeaderFile
0016 #define _AIS_AnimationCamera_HeaderFile
0017
0018 #include <AIS_Animation.hxx>
0019
0020 class Graphic3d_Camera;
0021 class V3d_View;
0022
0023
0024 class AIS_AnimationCamera : public AIS_Animation
0025 {
0026 DEFINE_STANDARD_RTTIEXT(AIS_AnimationCamera, AIS_Animation)
0027 public:
0028
0029
0030 Standard_EXPORT AIS_AnimationCamera (const TCollection_AsciiString& theAnimationName,
0031 const Handle(V3d_View)& theView);
0032
0033
0034 const Handle(V3d_View)& View() const { return myView; }
0035
0036
0037 void SetView (const Handle(V3d_View)& theView) { myView = theView; }
0038
0039
0040 const Handle(Graphic3d_Camera)& CameraStart() const { return myCamStart; }
0041
0042
0043 void SetCameraStart (const Handle(Graphic3d_Camera)& theCameraStart) { myCamStart = theCameraStart; }
0044
0045
0046 const Handle(Graphic3d_Camera)& CameraEnd() const { return myCamEnd; }
0047
0048
0049 void SetCameraEnd (const Handle(Graphic3d_Camera)& theCameraEnd) { myCamEnd = theCameraEnd; }
0050
0051 protected:
0052
0053
0054 Standard_EXPORT virtual void update (const AIS_AnimationProgress& theProgress) Standard_OVERRIDE;
0055
0056 protected:
0057
0058 Handle(V3d_View) myView;
0059 Handle(Graphic3d_Camera) myCamStart;
0060 Handle(Graphic3d_Camera) myCamEnd;
0061
0062 };
0063
0064 DEFINE_STANDARD_HANDLE(AIS_AnimationCamera, AIS_Animation)
0065
0066 #endif