1 /*
2     Copyright (c) 2008-2009 NetAllied Systems GmbH
3 
4     This file is part of COLLADASaxFrameworkLoader.
5 
6     Licensed under the MIT Open Source License,
7     for details please see LICENSE file or the website
8     http://www.opensource.org/licenses/mit-license.php
9 */
10 
11 
12 #ifndef __COLLADASAXFWL_LIBRARYCAMERASLOADER14_H__
13 #define __COLLADASAXFWL_LIBRARYCAMERASLOADER14_H__
14 
15 
16 #include "COLLADASaxFWLPrerequisites.h"
17 #include "COLLADASaxFWLLibraryCamerasLoader.h"
18 #include "COLLADASaxFWLIParserImpl14.h"
19 
20 
21 namespace COLLADASaxFWL
22 {
23 
24 
25 class IFilePartLoader;
26 
27 
28 class LibraryCamerasLoader14 : public IParserImpl14
29 {
30 private:
31 LibraryCamerasLoader* mLoader;
32 
33 public:
LibraryCamerasLoader14(LibraryCamerasLoader * loader)34 LibraryCamerasLoader14(LibraryCamerasLoader* loader)
35  : mLoader(loader)
36 {}
37 
38 
39 virtual bool end__library_cameras();
40 
41 virtual bool begin__camera( const COLLADASaxFWL14::camera__AttributeData& attributeData );
42 
43 virtual bool end__camera();
44 
45 virtual bool begin__optics();
46 
47 virtual bool end__optics();
48 
49 virtual bool begin__optics__technique_common();
50 
51 virtual bool end__optics__technique_common();
52 
53 virtual bool begin__perspective();
54 
55 virtual bool end__perspective();
56 
57 virtual bool begin__orthographic();
58 
59 virtual bool end__orthographic();
60 
61 virtual bool begin__xfov( const COLLADASaxFWL14::xfov__AttributeData& attributeData );
62 
63 virtual bool end__xfov();
64 
65 virtual bool data__xfov( float value );
66 
67 virtual bool begin__yfov( const COLLADASaxFWL14::yfov__AttributeData& attributeData );
68 
69 virtual bool end__yfov();
70 
71 virtual bool data__yfov( float value );
72 
73 virtual bool begin__xmag( const COLLADASaxFWL14::xmag__AttributeData& attributeData );
74 
75 virtual bool end__xmag();
76 
77 virtual bool data__xmag( float value );
78 
79 virtual bool begin__ymag( const COLLADASaxFWL14::ymag__AttributeData& attributeData );
80 
81 virtual bool end__ymag();
82 
83 virtual bool data__ymag( float value );
84 
85 virtual bool begin__aspect_ratio( const COLLADASaxFWL14::aspect_ratio__AttributeData& attributeData );
86 
87 virtual bool end__aspect_ratio();
88 
89 virtual bool data__aspect_ratio( float value );
90 
91 virtual bool begin__znear( const COLLADASaxFWL14::znear__AttributeData& attributeData );
92 
93 virtual bool end__znear();
94 
95 virtual bool data__znear( float value );
96 
97 virtual bool begin__zfar( const COLLADASaxFWL14::zfar__AttributeData& attributeData );
98 
99 virtual bool end__zfar();
100 
101 virtual bool data__zfar( float value );
102 
103 virtual bool begin__imager();
104 
105 virtual bool end__imager();
106 
107 virtual bool begin__technique( const COLLADASaxFWL14::technique__AttributeData& attributeData );
108 
109 virtual bool end__technique();
110 
111 
112 private:
113 /** Disable default copy ctor. */
114 LibraryCamerasLoader14(const LibraryCamerasLoader14&);
115 /** Disable default assignment operator. */
116 const LibraryCamerasLoader14& operator=(const LibraryCamerasLoader14&);
117 };
118 }
119 #endif // __COLLADASAXFWL_LIBRARYCAMERASLOADER14_H__
120