7fd59977 |
1 | // File generated by CPPExt (Value) |
2 | // Copyright (C) 1991,1995 by |
3 | // |
4 | // MATRA DATAVISION, FRANCE |
5 | // |
6 | // This software is furnished in accordance with the terms and conditions |
7 | // of the contract and with the inclusion of the above copyright notice. |
8 | // This software or any other copy thereof may not be provided or otherwise |
9 | // be made available to any other person. No title to an ownership of the |
10 | // software is hereby transferred. |
11 | // |
12 | // At the termination of the contract, the software and all copies of this |
13 | // software must be deleted. |
14 | |
15 | #ifndef _SampleDisplayAnimationPackage_HeaderFile |
16 | #define _SampleDisplayAnimationPackage_HeaderFile |
17 | |
18 | #ifndef _Handle_V3d_Viewer_HeaderFile |
19 | #include <Handle_V3d_Viewer.hxx> |
20 | #endif |
21 | #ifndef _Standard_ExtString_HeaderFile |
22 | #include <Standard_ExtString.hxx> |
23 | #endif |
24 | #ifndef _Handle_V3d_View_HeaderFile |
25 | #include <Handle_V3d_View.hxx> |
26 | #endif |
27 | #ifndef _Standard_Integer_HeaderFile |
28 | #include <Standard_Integer.hxx> |
29 | #endif |
30 | #ifndef _Standard_Boolean_HeaderFile |
31 | #include <Standard_Boolean.hxx> |
32 | #endif |
33 | #ifndef _Handle_AIS_InteractiveContext_HeaderFile |
34 | #include <Handle_AIS_InteractiveContext.hxx> |
35 | #endif |
36 | #ifndef _Standard_CString_HeaderFile |
37 | #include <Standard_CString.hxx> |
38 | #endif |
39 | #ifndef _Standard_Real_HeaderFile |
40 | #include <Standard_Real.hxx> |
41 | #endif |
42 | class V3d_Viewer; |
43 | class V3d_View; |
44 | class AIS_InteractiveContext; |
45 | |
46 | |
47 | #ifndef _Standard_HeaderFile |
48 | #include <Standard.hxx> |
49 | #endif |
50 | #ifndef _Standard_Macro_HeaderFile |
51 | #include <Standard_Macro.hxx> |
52 | #endif |
53 | |
54 | class SampleDisplayAnimationPackage { |
55 | |
56 | public: |
57 | |
58 | void* operator new(size_t,void* anAddress) |
59 | { |
60 | return anAddress; |
61 | } |
62 | void* operator new(size_t size) |
63 | { |
64 | return Standard::Allocate(size); |
65 | } |
66 | void operator delete(void *anAddress) |
67 | { |
68 | if (anAddress) Standard::Free((Standard_Address&)anAddress); |
69 | } |
70 | // Methods PUBLIC |
71 | // |
72 | Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ; |
73 | Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; |
74 | Standard_EXPORT static Standard_Boolean LoadData(const Handle(AIS_InteractiveContext)& aContext,const Standard_CString aPath) ; |
75 | Standard_EXPORT static void ChangePosition(const Handle(AIS_InteractiveContext)& aContext) ; |
76 | Standard_EXPORT static Standard_Real GetDeviationCoefficient() ; |
77 | Standard_EXPORT static void SetDeviationCoefficient(const Handle(AIS_InteractiveContext)& aContext,const Standard_Real aValue) ; |
78 | Standard_EXPORT static Standard_Integer GetAngleIncrement() ; |
79 | Standard_EXPORT static void SetAngleIncrement(const Standard_Integer aValue) ; |
80 | Standard_EXPORT static Standard_Boolean SaveImage(const Standard_CString aFileName,const Standard_CString aFormat,const Handle(V3d_View)& aView) ; |
81 | |
82 | |
83 | |
84 | |
85 | |
86 | protected: |
87 | |
88 | // Methods PROTECTED |
89 | // |
90 | |
91 | |
92 | // Fields PROTECTED |
93 | // |
94 | |
95 | |
96 | private: |
97 | |
98 | // Methods PRIVATE |
99 | // |
100 | |
101 | |
102 | // Fields PRIVATE |
103 | // |
104 | |
105 | |
106 | }; |
107 | |
108 | |
109 | |
110 | |
111 | |
112 | // other Inline functions and methods (like "C++: function call" methods) |
113 | // |
114 | |
115 | |
116 | #endif |