1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
---|
3 | <title>FCollada: FCDCamera Class Reference</title> |
---|
4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.4.6-NO --> |
---|
8 | <div class="tabs"> |
---|
9 | <ul> |
---|
10 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
11 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
12 | <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
---|
13 | <li id="current"><a href="classes.html"><span>Classes</span></a></li> |
---|
14 | <li><a href="files.html"><span>Files</span></a></li> |
---|
15 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
16 | </ul></div> |
---|
17 | <div class="tabs"> |
---|
18 | <ul> |
---|
19 | <li><a href="classes.html"><span>Alphabetical List</span></a></li> |
---|
20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
23 | </ul></div> |
---|
24 | <h1>FCDCamera Class Reference<br> |
---|
25 | <small> |
---|
26 | [<a class="el" href="group___f_c_document.html">COLLADA Document Object Model.</a>]</small> |
---|
27 | </h1><!-- doxytag: class="FCDCamera" --><!-- doxytag: inherits="FCDTargetedEntity" -->A COLLADA camera. |
---|
28 | <a href="#_details">More...</a> |
---|
29 | <p> |
---|
30 | <code>#include <<a class="el" href="_f_c_d_camera_8h-source.html">FCDCamera.h</a>></code> |
---|
31 | <p> |
---|
32 | <p>Inheritance diagram for FCDCamera: |
---|
33 | <p><center><img src="class_f_c_d_camera.png" usemap="#FCDCamera_map" border="0" alt=""></center> |
---|
34 | <map name="FCDCamera_map"> |
---|
35 | <area href="class_f_c_d_targeted_entity.html" alt="FCDTargetedEntity" shape="rect" coords="0,224,119,248"> |
---|
36 | <area href="class_f_c_d_entity.html" alt="FCDEntity" shape="rect" coords="0,168,119,192"> |
---|
37 | <area href="class_f_c_d_object_with_id.html" alt="FCDObjectWithId" shape="rect" coords="0,112,119,136"> |
---|
38 | <area href="class_f_c_d_object.html" alt="FCDObject" shape="rect" coords="0,56,119,80"> |
---|
39 | <area href="class_f_u_object.html" alt="FUObject" shape="rect" coords="0,0,119,24"> |
---|
40 | </map> |
---|
41 | <a href="class_f_c_d_camera-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
42 | <tr><td></td></tr> |
---|
43 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
44 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#ccd96cd61f1479822036b39892669160">FCDCamera</a> (<a class="el" href="class_f_c_document.html">FCDocument</a> *document)</td></tr> |
---|
45 | |
---|
46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor: do not use directly. <a href="#ccd96cd61f1479822036b39892669160"></a><br></td></tr> |
---|
47 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#a0b3e2b597146a58a42d6b6b0108af8e">~FCDCamera</a> ()</td></tr> |
---|
48 | |
---|
49 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor: do not release directly. <a href="#a0b3e2b597146a58a42d6b6b0108af8e"></a><br></td></tr> |
---|
50 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_c_d_entity.html#9301a4bd5f4d4190ec13e40db4effdd7">Type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#a07c99de0148e39b46e33733852ef229">GetType</a> () const </td></tr> |
---|
51 | |
---|
52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the entity type for this class. <a href="#a07c99de0148e39b46e33733852ef229"></a><br></td></tr> |
---|
53 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#7756959daf1ed8d8a90fa19f45f49496">IsPerspective</a> () const </td></tr> |
---|
54 | |
---|
55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether this camera is a perspective camera. <a href="#7756959daf1ed8d8a90fa19f45f49496"></a><br></td></tr> |
---|
56 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45a9822f6666bade1c2ad78565c76600"></a><!-- doxytag: member="FCDCamera::SetPerspective" ref="45a9822f6666bade1c2ad78565c76600" args="()" --> |
---|
57 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#45a9822f6666bade1c2ad78565c76600">SetPerspective</a> ()</td></tr> |
---|
58 | |
---|
59 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the type of this camera to perspective. <br></td></tr> |
---|
60 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#f5b0f3acc94e585b3d6b7a97d2b33600">HasHorizontalFov</a> () const </td></tr> |
---|
61 | |
---|
62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether the perspective camera defines an horizontal field of view. <a href="#f5b0f3acc94e585b3d6b7a97d2b33600"></a><br></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#e08e063c02ac91d0fb834aaba29fec74">HasVerticalFov</a> () const </td></tr> |
---|
64 | |
---|
65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether the perspective camera defines a vertical field of view. <a href="#e08e063c02ac91d0fb834aaba29fec74"></a><br></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#097a7a8bd64199f2f46e55d356b42723">GetFovX</a> ()</td></tr> |
---|
67 | |
---|
68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the horizontal field of view. <a href="#097a7a8bd64199f2f46e55d356b42723"></a><br></td></tr> |
---|
69 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad29e20409b32f51e0753e2e39dd51b5"></a><!-- doxytag: member="FCDCamera::GetFovX" ref="ad29e20409b32f51e0753e2e39dd51b5" args="() const " --> |
---|
70 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#ad29e20409b32f51e0753e2e39dd51b5">GetFovX</a> () const </td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
73 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#25dad9e9f24449a2091ddf86dc728a28">GetFovY</a> ()</td></tr> |
---|
74 | |
---|
75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the vertical field of view. <a href="#25dad9e9f24449a2091ddf86dc728a28"></a><br></td></tr> |
---|
76 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d7347a1ecd3eaddb35bb93957fcbb23"></a><!-- doxytag: member="FCDCamera::GetFovY" ref="2d7347a1ecd3eaddb35bb93957fcbb23" args="() const " --> |
---|
77 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#2d7347a1ecd3eaddb35bb93957fcbb23">GetFovY</a> () const </td></tr> |
---|
78 | |
---|
79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
80 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#6288922e48ed1426edeeee4cb727a1e5">SetFovX</a> (float fovX)</td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the horizontal field of view value for this camera. <a href="#6288922e48ed1426edeeee4cb727a1e5"></a><br></td></tr> |
---|
83 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#833fe15b9b9186f3946bfc8c2f721e5c">SetFovY</a> (float fovY)</td></tr> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the vertical field of view value for this camera. <a href="#833fe15b9b9186f3946bfc8c2f721e5c"></a><br></td></tr> |
---|
86 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#2f8ac0483f3be7766eb8ecf10653316f">IsOrthographic</a> () const </td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether this camera is an orthographic camera. <a href="#2f8ac0483f3be7766eb8ecf10653316f"></a><br></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54bd0ff5066f198322e3c055543ae044"></a><!-- doxytag: member="FCDCamera::SetOrthographic" ref="54bd0ff5066f198322e3c055543ae044" args="()" --> |
---|
90 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#54bd0ff5066f198322e3c055543ae044">SetOrthographic</a> ()</td></tr> |
---|
91 | |
---|
92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the type of this camera to orthographic. <br></td></tr> |
---|
93 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#8e6652d9695b24aa398b0ab6bb408ecb">HasHorizontalMag</a> () const </td></tr> |
---|
94 | |
---|
95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether the orthographic camera defines an horizontal magnification. <a href="#8e6652d9695b24aa398b0ab6bb408ecb"></a><br></td></tr> |
---|
96 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#4eddec2fc3082c106b417632103dbe51">HasVerticalMag</a> () const </td></tr> |
---|
97 | |
---|
98 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether the perspective camera defines a vertical magnification. <a href="#4eddec2fc3082c106b417632103dbe51"></a><br></td></tr> |
---|
99 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#2f0257c2a1ad1a4978729ff4ccef1928">GetMagX</a> ()</td></tr> |
---|
100 | |
---|
101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the horizontal magnification. <a href="#2f0257c2a1ad1a4978729ff4ccef1928"></a><br></td></tr> |
---|
102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ebc801453acc033037b700bdd1fbef30"></a><!-- doxytag: member="FCDCamera::GetMagX" ref="ebc801453acc033037b700bdd1fbef30" args="() const " --> |
---|
103 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#ebc801453acc033037b700bdd1fbef30">GetMagX</a> () const </td></tr> |
---|
104 | |
---|
105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
106 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#c4f31dac6a0251f00d3844f983feadc1">GetMagY</a> ()</td></tr> |
---|
107 | |
---|
108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the vertical magnification. <a href="#c4f31dac6a0251f00d3844f983feadc1"></a><br></td></tr> |
---|
109 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e20d7fab2752b11d346ac10614a469c5"></a><!-- doxytag: member="FCDCamera::GetMagY" ref="e20d7fab2752b11d346ac10614a469c5" args="() const " --> |
---|
110 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#e20d7fab2752b11d346ac10614a469c5">GetMagY</a> () const </td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#6dad0e3978aad3bbd920587ae387e952">SetMagX</a> (float magX)</td></tr> |
---|
114 | |
---|
115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the horizontal magnification for this camera. <a href="#6dad0e3978aad3bbd920587ae387e952"></a><br></td></tr> |
---|
116 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#4edf1eb03fe522145a18d80aabcef450">SetMagY</a> (float magY)</td></tr> |
---|
117 | |
---|
118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the vertical magnification value for this camera. <a href="#4edf1eb03fe522145a18d80aabcef450"></a><br></td></tr> |
---|
119 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#ef027ddbc606e4356ebd4a57896e503c">GetNearZ</a> ()</td></tr> |
---|
120 | |
---|
121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the near-z value for this camera. <a href="#ef027ddbc606e4356ebd4a57896e503c"></a><br></td></tr> |
---|
122 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c4333f299cdcfa705b11c46e6f95eeb"></a><!-- doxytag: member="FCDCamera::GetNearZ" ref="4c4333f299cdcfa705b11c46e6f95eeb" args="() const " --> |
---|
123 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#4c4333f299cdcfa705b11c46e6f95eeb">GetNearZ</a> () const </td></tr> |
---|
124 | |
---|
125 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
126 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#c60db7af98f8d5e2dbcca9a5d9bf243b">GetFarZ</a> ()</td></tr> |
---|
127 | |
---|
128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the far-z value for this camera. <a href="#c60db7af98f8d5e2dbcca9a5d9bf243b"></a><br></td></tr> |
---|
129 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3563cea2921138eb162244968680f36c"></a><!-- doxytag: member="FCDCamera::GetFarZ" ref="3563cea2921138eb162244968680f36c" args="() const " --> |
---|
130 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#3563cea2921138eb162244968680f36c">GetFarZ</a> () const </td></tr> |
---|
131 | |
---|
132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
133 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#8a44f6185e7146eb8eae3987ce5c69dc">GetAspectRatio</a> ()</td></tr> |
---|
134 | |
---|
135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the aspect ratio for the view of this camera. <a href="#8a44f6185e7146eb8eae3987ce5c69dc"></a><br></td></tr> |
---|
136 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2718825a233bb4fab8461152a28ae6c"></a><!-- doxytag: member="FCDCamera::GetAspectRatio" ref="d2718825a233bb4fab8461152a28ae6c" args="() const " --> |
---|
137 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#d2718825a233bb4fab8461152a28ae6c">GetAspectRatio</a> () const </td></tr> |
---|
138 | |
---|
139 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
140 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#5897d7a1ba3e10316f0f2f183530ee45">SetNearZ</a> (float _nearZ)</td></tr> |
---|
141 | |
---|
142 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the near-z value for this camera. <a href="#5897d7a1ba3e10316f0f2f183530ee45"></a><br></td></tr> |
---|
143 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#f833473ab121efed5be5f02d8680d51c">SetFarZ</a> (float _farZ)</td></tr> |
---|
144 | |
---|
145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the far-z value for this camera. <a href="#f833473ab121efed5be5f02d8680d51c"></a><br></td></tr> |
---|
146 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#d36e7b6987ff8a7f1a9145148a49fa5b">SetAspectRatio</a> (float aspectRatio)</td></tr> |
---|
147 | |
---|
148 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the aspect ratio for the view of this camera. <a href="#d36e7b6987ff8a7f1a9145148a49fa5b"></a><br></td></tr> |
---|
149 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#5a802fef4d39c8f3d02bb6510330f2f8">HasAperture</a> () const </td></tr> |
---|
150 | |
---|
151 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether the camera provides aperture information. <a href="#5a802fef4d39c8f3d02bb6510330f2f8"></a><br></td></tr> |
---|
152 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#a95ea437698deba85fbff8f2e38816f4">GetVerticalAperture</a> ()</td></tr> |
---|
153 | |
---|
154 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the vertical aperture of the camera. <a href="#a95ea437698deba85fbff8f2e38816f4"></a><br></td></tr> |
---|
155 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e45da33c1e9a3d2b1dcfbf554ad87430"></a><!-- doxytag: member="FCDCamera::GetVerticalAperture" ref="e45da33c1e9a3d2b1dcfbf554ad87430" args="() const " --> |
---|
156 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#e45da33c1e9a3d2b1dcfbf554ad87430">GetVerticalAperture</a> () const </td></tr> |
---|
157 | |
---|
158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
159 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#9d1e6fb97d3d78f00af8d1379bfcc7e6">GetHorizontalAperture</a> ()</td></tr> |
---|
160 | |
---|
161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the horizontal aperture of the camera. <a href="#9d1e6fb97d3d78f00af8d1379bfcc7e6"></a><br></td></tr> |
---|
162 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0bf89f25b4bb3d5ae62f44c484b12816"></a><!-- doxytag: member="FCDCamera::GetHorizontalAperture" ref="0bf89f25b4bb3d5ae62f44c484b12816" args="() const " --> |
---|
163 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#0bf89f25b4bb3d5ae62f44c484b12816">GetHorizontalAperture</a> () const </td></tr> |
---|
164 | |
---|
165 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
166 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#302125ce99ba715f9f8d33ea463653b2">GetLensSqueeze</a> ()</td></tr> |
---|
167 | |
---|
168 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the lens squeeze of the camera. <a href="#302125ce99ba715f9f8d33ea463653b2"></a><br></td></tr> |
---|
169 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5580601c1c3da1d949293ac5e98ee19b"></a><!-- doxytag: member="FCDCamera::GetLensSqueeze" ref="5580601c1c3da1d949293ac5e98ee19b" args="() const " --> |
---|
170 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#5580601c1c3da1d949293ac5e98ee19b">GetLensSqueeze</a> () const </td></tr> |
---|
171 | |
---|
172 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
173 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#cf92f5b2bbf13e397feebb35bc3e0b18">SetVerticalAperture</a> (float aperture)</td></tr> |
---|
174 | |
---|
175 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the vertical aperture of the camera. <a href="#cf92f5b2bbf13e397feebb35bc3e0b18"></a><br></td></tr> |
---|
176 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#ea0914e5cdfd37b7910f35c111d70998">SetHorizontalAperture</a> (float aperture)</td></tr> |
---|
177 | |
---|
178 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the horizontal aperture of the camera. <a href="#ea0914e5cdfd37b7910f35c111d70998"></a><br></td></tr> |
---|
179 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#43fc2d971aaaa1d3b2ca349375892bea">SetLensSqueeze</a> (float factor)</td></tr> |
---|
180 | |
---|
181 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the lens squeeze of the camera. <a href="#43fc2d971aaaa1d3b2ca349375892bea"></a><br></td></tr> |
---|
182 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_u_status.html">FUStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#ebab35f1778fdc318896978b615d3ddb">LoadFromXML</a> (xmlNode *cameraNode)</td></tr> |
---|
183 | |
---|
184 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Reads in the <camera> element from a given COLLADA XML tree node. <a href="#ebab35f1778fdc318896978b615d3ddb"></a><br></td></tr> |
---|
185 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_camera.html#484c6439adab10baa2dbf558f99bd934">WriteToXML</a> (xmlNode *parentNode) const </td></tr> |
---|
186 | |
---|
187 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Writes out the <camera> element to the given COLLADA XML tree node. <a href="#484c6439adab10baa2dbf558f99bd934"></a><br></td></tr> |
---|
188 | </table> |
---|
189 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
190 | A COLLADA camera. |
---|
191 | <p> |
---|
192 | Based on the <a class="el" href="class_f_c_d_targeted_entity.html">FCDTargetedEntity</a> class to support aimed cameras. COLLADA defines two types of cameras: perspective and orthographic. Both types are fully handled by this class.<p> |
---|
193 | A COLLADA perspective camera defines two of the three following parameters: horizontal field of view, vertical field of view and aspect ratio. The missing parameter can be calculated using the following formulae: aspect ratio = vertical field of view / horizontal field of view. The vertical and horizontal field of view are in degrees.<p> |
---|
194 | A COLLADA orthographic camera defines two of the three following parameters: horizontal magnification, vertical magnification and aspect ratio. The missing parameter can be calculated using the following formulae: aspect ratio = vertical magnification / horizontal magnification. You can calculate the viewport width and height using the following formulas: viewport width = horizontal magnification * 2, viewport height = vertical magnification * 2. |
---|
195 | <p> |
---|
196 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
197 | <a class="anchor" name="ccd96cd61f1479822036b39892669160"></a><!-- doxytag: member="FCDCamera::FCDCamera" ref="ccd96cd61f1479822036b39892669160" args="(FCDocument *document)" --><p> |
---|
198 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
199 | <tr> |
---|
200 | <td class="mdRow"> |
---|
201 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
202 | <tr> |
---|
203 | <td class="md" nowrap valign="top">FCDCamera::FCDCamera </td> |
---|
204 | <td class="md" valign="top">( </td> |
---|
205 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> * </td> |
---|
206 | <td class="mdname1" valign="top" nowrap> <em>document</em> </td> |
---|
207 | <td class="md" valign="top"> ) </td> |
---|
208 | <td class="md" nowrap></td> |
---|
209 | </tr> |
---|
210 | </table> |
---|
211 | </td> |
---|
212 | </tr> |
---|
213 | </table> |
---|
214 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
215 | <tr> |
---|
216 | <td> |
---|
217 | |
---|
218 | </td> |
---|
219 | <td> |
---|
220 | |
---|
221 | <p> |
---|
222 | Constructor: do not use directly. |
---|
223 | <p> |
---|
224 | Create new cameras using the <a class="el" href="class_f_c_d_library.html#a5cdcac5a447298d5e3816e4f8c864d0">FCDLibrary::AddEntity</a> function. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
225 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
226 | <tr><td valign="top"></td><td valign="top"><em>document</em> </td><td>The COLLADA document that contains this camera entity. </td></tr> |
---|
227 | </table> |
---|
228 | </dl> |
---|
229 | </td> |
---|
230 | </tr> |
---|
231 | </table> |
---|
232 | <a class="anchor" name="a0b3e2b597146a58a42d6b6b0108af8e"></a><!-- doxytag: member="FCDCamera::~FCDCamera" ref="a0b3e2b597146a58a42d6b6b0108af8e" args="()" --><p> |
---|
233 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
234 | <tr> |
---|
235 | <td class="mdRow"> |
---|
236 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
237 | <tr> |
---|
238 | <td class="md" nowrap valign="top">virtual FCDCamera::~FCDCamera </td> |
---|
239 | <td class="md" valign="top">( </td> |
---|
240 | <td class="mdname1" valign="top" nowrap> </td> |
---|
241 | <td class="md" valign="top"> ) </td> |
---|
242 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
243 | </tr> |
---|
244 | </table> |
---|
245 | </td> |
---|
246 | </tr> |
---|
247 | </table> |
---|
248 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
249 | <tr> |
---|
250 | <td> |
---|
251 | |
---|
252 | </td> |
---|
253 | <td> |
---|
254 | |
---|
255 | <p> |
---|
256 | Destructor: do not release directly. |
---|
257 | <p> |
---|
258 | Release cameras using the <a class="el" href="class_f_c_d_library.html#3fbfbcf4ade5b9c94d2ee2f59db5921d">FCDLibrary::ReleaseEntity</a> function. All cameras are released with the document that they belong to. </td> |
---|
259 | </tr> |
---|
260 | </table> |
---|
261 | <hr><h2>Member Function Documentation</h2> |
---|
262 | <a class="anchor" name="8a44f6185e7146eb8eae3987ce5c69dc"></a><!-- doxytag: member="FCDCamera::GetAspectRatio" ref="8a44f6185e7146eb8eae3987ce5c69dc" args="()" --><p> |
---|
263 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
264 | <tr> |
---|
265 | <td class="mdRow"> |
---|
266 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
267 | <tr> |
---|
268 | <td class="md" nowrap valign="top">float& FCDCamera::GetAspectRatio </td> |
---|
269 | <td class="md" valign="top">( </td> |
---|
270 | <td class="mdname1" valign="top" nowrap> </td> |
---|
271 | <td class="md" valign="top"> ) </td> |
---|
272 | <td class="md" nowrap><code> [inline]</code></td> |
---|
273 | </tr> |
---|
274 | </table> |
---|
275 | </td> |
---|
276 | </tr> |
---|
277 | </table> |
---|
278 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
279 | <tr> |
---|
280 | <td> |
---|
281 | |
---|
282 | </td> |
---|
283 | <td> |
---|
284 | |
---|
285 | <p> |
---|
286 | Retrieves the aspect ratio for the view of this camera. |
---|
287 | <p> |
---|
288 | Before using this value, check if there are only one of the horizontal and vertical view ratios. If there are both of the view ratios provided for the camera, you will need to calculate the aspect ratio using the following formula: aspect ratio = vertical field of view / horizontal field of view. <dl compact><dt><b>Returns:</b></dt><dd>The view aspect ratio. </dd></dl> |
---|
289 | </td> |
---|
290 | </tr> |
---|
291 | </table> |
---|
292 | <a class="anchor" name="c60db7af98f8d5e2dbcca9a5d9bf243b"></a><!-- doxytag: member="FCDCamera::GetFarZ" ref="c60db7af98f8d5e2dbcca9a5d9bf243b" args="()" --><p> |
---|
293 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
294 | <tr> |
---|
295 | <td class="mdRow"> |
---|
296 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
297 | <tr> |
---|
298 | <td class="md" nowrap valign="top">float& FCDCamera::GetFarZ </td> |
---|
299 | <td class="md" valign="top">( </td> |
---|
300 | <td class="mdname1" valign="top" nowrap> </td> |
---|
301 | <td class="md" valign="top"> ) </td> |
---|
302 | <td class="md" nowrap><code> [inline]</code></td> |
---|
303 | </tr> |
---|
304 | </table> |
---|
305 | </td> |
---|
306 | </tr> |
---|
307 | </table> |
---|
308 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
309 | <tr> |
---|
310 | <td> |
---|
311 | |
---|
312 | </td> |
---|
313 | <td> |
---|
314 | |
---|
315 | <p> |
---|
316 | Retrieves the far-z value for this camera. |
---|
317 | <p> |
---|
318 | The far-z value represent how close the far-clip plane of the view frustrum is. For orthographic cameras, this value is solely used for depth-buffering. <dl compact><dt><b>Returns:</b></dt><dd>The far-z value for this camera. </dd></dl> |
---|
319 | </td> |
---|
320 | </tr> |
---|
321 | </table> |
---|
322 | <a class="anchor" name="097a7a8bd64199f2f46e55d356b42723"></a><!-- doxytag: member="FCDCamera::GetFovX" ref="097a7a8bd64199f2f46e55d356b42723" args="()" --><p> |
---|
323 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
324 | <tr> |
---|
325 | <td class="mdRow"> |
---|
326 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
327 | <tr> |
---|
328 | <td class="md" nowrap valign="top">float& FCDCamera::GetFovX </td> |
---|
329 | <td class="md" valign="top">( </td> |
---|
330 | <td class="mdname1" valign="top" nowrap> </td> |
---|
331 | <td class="md" valign="top"> ) </td> |
---|
332 | <td class="md" nowrap><code> [inline]</code></td> |
---|
333 | </tr> |
---|
334 | </table> |
---|
335 | </td> |
---|
336 | </tr> |
---|
337 | </table> |
---|
338 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
339 | <tr> |
---|
340 | <td> |
---|
341 | |
---|
342 | </td> |
---|
343 | <td> |
---|
344 | |
---|
345 | <p> |
---|
346 | Retrieves the horizontal field of view. |
---|
347 | <p> |
---|
348 | Before retrieving this value, check whether the camera defines the horizontal field of view using the HasHorizontalFov function. <dl compact><dt><b>Returns:</b></dt><dd>The horizontal field of view, in degrees. </dd></dl> |
---|
349 | </td> |
---|
350 | </tr> |
---|
351 | </table> |
---|
352 | <a class="anchor" name="25dad9e9f24449a2091ddf86dc728a28"></a><!-- doxytag: member="FCDCamera::GetFovY" ref="25dad9e9f24449a2091ddf86dc728a28" args="()" --><p> |
---|
353 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
354 | <tr> |
---|
355 | <td class="mdRow"> |
---|
356 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
357 | <tr> |
---|
358 | <td class="md" nowrap valign="top">float& FCDCamera::GetFovY </td> |
---|
359 | <td class="md" valign="top">( </td> |
---|
360 | <td class="mdname1" valign="top" nowrap> </td> |
---|
361 | <td class="md" valign="top"> ) </td> |
---|
362 | <td class="md" nowrap><code> [inline]</code></td> |
---|
363 | </tr> |
---|
364 | </table> |
---|
365 | </td> |
---|
366 | </tr> |
---|
367 | </table> |
---|
368 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
369 | <tr> |
---|
370 | <td> |
---|
371 | |
---|
372 | </td> |
---|
373 | <td> |
---|
374 | |
---|
375 | <p> |
---|
376 | Retrieves the vertical field of view. |
---|
377 | <p> |
---|
378 | Before retrieving this value, check whether the camera defines the vertical field of view using the HasVerticalFov function. <dl compact><dt><b>Returns:</b></dt><dd>The horizontal field of view, in degrees. </dd></dl> |
---|
379 | </td> |
---|
380 | </tr> |
---|
381 | </table> |
---|
382 | <a class="anchor" name="9d1e6fb97d3d78f00af8d1379bfcc7e6"></a><!-- doxytag: member="FCDCamera::GetHorizontalAperture" ref="9d1e6fb97d3d78f00af8d1379bfcc7e6" args="()" --><p> |
---|
383 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
384 | <tr> |
---|
385 | <td class="mdRow"> |
---|
386 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
387 | <tr> |
---|
388 | <td class="md" nowrap valign="top">float& FCDCamera::GetHorizontalAperture </td> |
---|
389 | <td class="md" valign="top">( </td> |
---|
390 | <td class="mdname1" valign="top" nowrap> </td> |
---|
391 | <td class="md" valign="top"> ) </td> |
---|
392 | <td class="md" nowrap><code> [inline]</code></td> |
---|
393 | </tr> |
---|
394 | </table> |
---|
395 | </td> |
---|
396 | </tr> |
---|
397 | </table> |
---|
398 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
399 | <tr> |
---|
400 | <td> |
---|
401 | |
---|
402 | </td> |
---|
403 | <td> |
---|
404 | |
---|
405 | <p> |
---|
406 | Retrieves the horizontal aperture of the camera. |
---|
407 | <p> |
---|
408 | This information is specific to COLLADA documents exported from ColladaMaya. <dl compact><dt><b>Returns:</b></dt><dd>The horizontal aperture of the camera. </dd></dl> |
---|
409 | </td> |
---|
410 | </tr> |
---|
411 | </table> |
---|
412 | <a class="anchor" name="302125ce99ba715f9f8d33ea463653b2"></a><!-- doxytag: member="FCDCamera::GetLensSqueeze" ref="302125ce99ba715f9f8d33ea463653b2" args="()" --><p> |
---|
413 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
414 | <tr> |
---|
415 | <td class="mdRow"> |
---|
416 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
417 | <tr> |
---|
418 | <td class="md" nowrap valign="top">float& FCDCamera::GetLensSqueeze </td> |
---|
419 | <td class="md" valign="top">( </td> |
---|
420 | <td class="mdname1" valign="top" nowrap> </td> |
---|
421 | <td class="md" valign="top"> ) </td> |
---|
422 | <td class="md" nowrap><code> [inline]</code></td> |
---|
423 | </tr> |
---|
424 | </table> |
---|
425 | </td> |
---|
426 | </tr> |
---|
427 | </table> |
---|
428 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
429 | <tr> |
---|
430 | <td> |
---|
431 | |
---|
432 | </td> |
---|
433 | <td> |
---|
434 | |
---|
435 | <p> |
---|
436 | Retrieves the lens squeeze of the camera. |
---|
437 | <p> |
---|
438 | This information is specific to COLLADA documents exported from ColladaMaya. The lens squeeze of the camera is a multiplier that acts directly on the horizontal aperture, following this formula: real horizontal aperture = given horizontal aperture * lens squeeze. <dl compact><dt><b>Returns:</b></dt><dd>The lens squeeze of the camera. </dd></dl> |
---|
439 | </td> |
---|
440 | </tr> |
---|
441 | </table> |
---|
442 | <a class="anchor" name="2f0257c2a1ad1a4978729ff4ccef1928"></a><!-- doxytag: member="FCDCamera::GetMagX" ref="2f0257c2a1ad1a4978729ff4ccef1928" args="()" --><p> |
---|
443 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
444 | <tr> |
---|
445 | <td class="mdRow"> |
---|
446 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
447 | <tr> |
---|
448 | <td class="md" nowrap valign="top">float& FCDCamera::GetMagX </td> |
---|
449 | <td class="md" valign="top">( </td> |
---|
450 | <td class="mdname1" valign="top" nowrap> </td> |
---|
451 | <td class="md" valign="top"> ) </td> |
---|
452 | <td class="md" nowrap><code> [inline]</code></td> |
---|
453 | </tr> |
---|
454 | </table> |
---|
455 | </td> |
---|
456 | </tr> |
---|
457 | </table> |
---|
458 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
459 | <tr> |
---|
460 | <td> |
---|
461 | |
---|
462 | </td> |
---|
463 | <td> |
---|
464 | |
---|
465 | <p> |
---|
466 | Retrieves the horizontal magnification. |
---|
467 | <p> |
---|
468 | Before retrieving this value, check whether the camera defines the horizontal magnification using the HasHorizontalMag function. <dl compact><dt><b>Returns:</b></dt><dd>The horizontal magnification. </dd></dl> |
---|
469 | </td> |
---|
470 | </tr> |
---|
471 | </table> |
---|
472 | <a class="anchor" name="c4f31dac6a0251f00d3844f983feadc1"></a><!-- doxytag: member="FCDCamera::GetMagY" ref="c4f31dac6a0251f00d3844f983feadc1" args="()" --><p> |
---|
473 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
474 | <tr> |
---|
475 | <td class="mdRow"> |
---|
476 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
477 | <tr> |
---|
478 | <td class="md" nowrap valign="top">float& FCDCamera::GetMagY </td> |
---|
479 | <td class="md" valign="top">( </td> |
---|
480 | <td class="mdname1" valign="top" nowrap> </td> |
---|
481 | <td class="md" valign="top"> ) </td> |
---|
482 | <td class="md" nowrap><code> [inline]</code></td> |
---|
483 | </tr> |
---|
484 | </table> |
---|
485 | </td> |
---|
486 | </tr> |
---|
487 | </table> |
---|
488 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
489 | <tr> |
---|
490 | <td> |
---|
491 | |
---|
492 | </td> |
---|
493 | <td> |
---|
494 | |
---|
495 | <p> |
---|
496 | Retrieves the vertical magnification. |
---|
497 | <p> |
---|
498 | Before retrieving this value, check whether the camera defines the vertical magnification using the HasVerticalMag function. <dl compact><dt><b>Returns:</b></dt><dd>The vertical magnification. </dd></dl> |
---|
499 | </td> |
---|
500 | </tr> |
---|
501 | </table> |
---|
502 | <a class="anchor" name="ef027ddbc606e4356ebd4a57896e503c"></a><!-- doxytag: member="FCDCamera::GetNearZ" ref="ef027ddbc606e4356ebd4a57896e503c" args="()" --><p> |
---|
503 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
504 | <tr> |
---|
505 | <td class="mdRow"> |
---|
506 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
507 | <tr> |
---|
508 | <td class="md" nowrap valign="top">float& FCDCamera::GetNearZ </td> |
---|
509 | <td class="md" valign="top">( </td> |
---|
510 | <td class="mdname1" valign="top" nowrap> </td> |
---|
511 | <td class="md" valign="top"> ) </td> |
---|
512 | <td class="md" nowrap><code> [inline]</code></td> |
---|
513 | </tr> |
---|
514 | </table> |
---|
515 | </td> |
---|
516 | </tr> |
---|
517 | </table> |
---|
518 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
519 | <tr> |
---|
520 | <td> |
---|
521 | |
---|
522 | </td> |
---|
523 | <td> |
---|
524 | |
---|
525 | <p> |
---|
526 | Retrieves the near-z value for this camera. |
---|
527 | <p> |
---|
528 | The near-z value represent how close the near-clip plane of the view frustrum is. For orthographic cameras, this value is solely used for depth-buffering. <dl compact><dt><b>Returns:</b></dt><dd>The near-z value for this camera. </dd></dl> |
---|
529 | </td> |
---|
530 | </tr> |
---|
531 | </table> |
---|
532 | <a class="anchor" name="a07c99de0148e39b46e33733852ef229"></a><!-- doxytag: member="FCDCamera::GetType" ref="a07c99de0148e39b46e33733852ef229" args="() const " --><p> |
---|
533 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
534 | <tr> |
---|
535 | <td class="mdRow"> |
---|
536 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
537 | <tr> |
---|
538 | <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_entity.html#9301a4bd5f4d4190ec13e40db4effdd7">Type</a> FCDCamera::GetType </td> |
---|
539 | <td class="md" valign="top">( </td> |
---|
540 | <td class="mdname1" valign="top" nowrap> </td> |
---|
541 | <td class="md" valign="top"> ) </td> |
---|
542 | <td class="md" nowrap> const<code> [inline, virtual]</code></td> |
---|
543 | </tr> |
---|
544 | </table> |
---|
545 | </td> |
---|
546 | </tr> |
---|
547 | </table> |
---|
548 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
549 | <tr> |
---|
550 | <td> |
---|
551 | |
---|
552 | </td> |
---|
553 | <td> |
---|
554 | |
---|
555 | <p> |
---|
556 | Retrieves the entity type for this class. |
---|
557 | <p> |
---|
558 | This function is part of the <a class="el" href="class_f_c_d_entity.html">FCDEntity</a> interface. <dl compact><dt><b>Returns:</b></dt><dd>The entity type: CAMERA. </dd></dl> |
---|
559 | |
---|
560 | <p> |
---|
561 | Reimplemented from <a class="el" href="class_f_c_d_entity.html#bfd4312a7124f92364c1e6517c7e60ba">FCDEntity</a>. </td> |
---|
562 | </tr> |
---|
563 | </table> |
---|
564 | <a class="anchor" name="a95ea437698deba85fbff8f2e38816f4"></a><!-- doxytag: member="FCDCamera::GetVerticalAperture" ref="a95ea437698deba85fbff8f2e38816f4" args="()" --><p> |
---|
565 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
566 | <tr> |
---|
567 | <td class="mdRow"> |
---|
568 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
569 | <tr> |
---|
570 | <td class="md" nowrap valign="top">float& FCDCamera::GetVerticalAperture </td> |
---|
571 | <td class="md" valign="top">( </td> |
---|
572 | <td class="mdname1" valign="top" nowrap> </td> |
---|
573 | <td class="md" valign="top"> ) </td> |
---|
574 | <td class="md" nowrap><code> [inline]</code></td> |
---|
575 | </tr> |
---|
576 | </table> |
---|
577 | </td> |
---|
578 | </tr> |
---|
579 | </table> |
---|
580 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
581 | <tr> |
---|
582 | <td> |
---|
583 | |
---|
584 | </td> |
---|
585 | <td> |
---|
586 | |
---|
587 | <p> |
---|
588 | Retrieves the vertical aperture of the camera. |
---|
589 | <p> |
---|
590 | This information is specific to COLLADA documents exported from ColladaMaya. <dl compact><dt><b>Returns:</b></dt><dd>The vertical aperture of the camera. </dd></dl> |
---|
591 | </td> |
---|
592 | </tr> |
---|
593 | </table> |
---|
594 | <a class="anchor" name="5a802fef4d39c8f3d02bb6510330f2f8"></a><!-- doxytag: member="FCDCamera::HasAperture" ref="5a802fef4d39c8f3d02bb6510330f2f8" args="() const " --><p> |
---|
595 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
596 | <tr> |
---|
597 | <td class="mdRow"> |
---|
598 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
599 | <tr> |
---|
600 | <td class="md" nowrap valign="top">bool FCDCamera::HasAperture </td> |
---|
601 | <td class="md" valign="top">( </td> |
---|
602 | <td class="mdname1" valign="top" nowrap> </td> |
---|
603 | <td class="md" valign="top"> ) </td> |
---|
604 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
605 | </tr> |
---|
606 | </table> |
---|
607 | </td> |
---|
608 | </tr> |
---|
609 | </table> |
---|
610 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
611 | <tr> |
---|
612 | <td> |
---|
613 | |
---|
614 | </td> |
---|
615 | <td> |
---|
616 | |
---|
617 | <p> |
---|
618 | Retrieves whether the camera provides aperture information. |
---|
619 | <p> |
---|
620 | This information is specific to COLLADA documents exported from ColladaMaya. <dl compact><dt><b>Returns:</b></dt><dd>Whether the camera provides aperture information. </dd></dl> |
---|
621 | </td> |
---|
622 | </tr> |
---|
623 | </table> |
---|
624 | <a class="anchor" name="f5b0f3acc94e585b3d6b7a97d2b33600"></a><!-- doxytag: member="FCDCamera::HasHorizontalFov" ref="f5b0f3acc94e585b3d6b7a97d2b33600" args="() const " --><p> |
---|
625 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
626 | <tr> |
---|
627 | <td class="mdRow"> |
---|
628 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
629 | <tr> |
---|
630 | <td class="md" nowrap valign="top">bool FCDCamera::HasHorizontalFov </td> |
---|
631 | <td class="md" valign="top">( </td> |
---|
632 | <td class="mdname1" valign="top" nowrap> </td> |
---|
633 | <td class="md" valign="top"> ) </td> |
---|
634 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
635 | </tr> |
---|
636 | </table> |
---|
637 | </td> |
---|
638 | </tr> |
---|
639 | </table> |
---|
640 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
641 | <tr> |
---|
642 | <td> |
---|
643 | |
---|
644 | </td> |
---|
645 | <td> |
---|
646 | |
---|
647 | <p> |
---|
648 | Retrieves whether the perspective camera defines an horizontal field of view. |
---|
649 | <p> |
---|
650 | If the camera does not define the horizontal field of view, you can calculate it using the following formula: horizontal field of view = vertical field of view / aspect ratio. <dl compact><dt><b>Returns:</b></dt><dd>Whether the perspective camera defines an horizontal field of view. </dd></dl> |
---|
651 | </td> |
---|
652 | </tr> |
---|
653 | </table> |
---|
654 | <a class="anchor" name="8e6652d9695b24aa398b0ab6bb408ecb"></a><!-- doxytag: member="FCDCamera::HasHorizontalMag" ref="8e6652d9695b24aa398b0ab6bb408ecb" args="() const " --><p> |
---|
655 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
656 | <tr> |
---|
657 | <td class="mdRow"> |
---|
658 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
659 | <tr> |
---|
660 | <td class="md" nowrap valign="top">bool FCDCamera::HasHorizontalMag </td> |
---|
661 | <td class="md" valign="top">( </td> |
---|
662 | <td class="mdname1" valign="top" nowrap> </td> |
---|
663 | <td class="md" valign="top"> ) </td> |
---|
664 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
665 | </tr> |
---|
666 | </table> |
---|
667 | </td> |
---|
668 | </tr> |
---|
669 | </table> |
---|
670 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
671 | <tr> |
---|
672 | <td> |
---|
673 | |
---|
674 | </td> |
---|
675 | <td> |
---|
676 | |
---|
677 | <p> |
---|
678 | Retrieves whether the orthographic camera defines an horizontal magnification. |
---|
679 | <p> |
---|
680 | If the camera does not define the horizontal magnification, you can calculate it using the following formula: horizontal magnification = vertical magnification / aspect ratio. <dl compact><dt><b>Returns:</b></dt><dd>Whether the orthographic camera defines an horizontal magnification. </dd></dl> |
---|
681 | </td> |
---|
682 | </tr> |
---|
683 | </table> |
---|
684 | <a class="anchor" name="e08e063c02ac91d0fb834aaba29fec74"></a><!-- doxytag: member="FCDCamera::HasVerticalFov" ref="e08e063c02ac91d0fb834aaba29fec74" args="() const " --><p> |
---|
685 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
686 | <tr> |
---|
687 | <td class="mdRow"> |
---|
688 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
689 | <tr> |
---|
690 | <td class="md" nowrap valign="top">bool FCDCamera::HasVerticalFov </td> |
---|
691 | <td class="md" valign="top">( </td> |
---|
692 | <td class="mdname1" valign="top" nowrap> </td> |
---|
693 | <td class="md" valign="top"> ) </td> |
---|
694 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
695 | </tr> |
---|
696 | </table> |
---|
697 | </td> |
---|
698 | </tr> |
---|
699 | </table> |
---|
700 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
701 | <tr> |
---|
702 | <td> |
---|
703 | |
---|
704 | </td> |
---|
705 | <td> |
---|
706 | |
---|
707 | <p> |
---|
708 | Retrieves whether the perspective camera defines a vertical field of view. |
---|
709 | <p> |
---|
710 | If the camera does not define the vertical field of view, you can calculate it using the following formula: vertical field of view = aspect ratio * horizontal field of view. <dl compact><dt><b>Returns:</b></dt><dd>Whether the perspective camera defines a vertical field of view. </dd></dl> |
---|
711 | </td> |
---|
712 | </tr> |
---|
713 | </table> |
---|
714 | <a class="anchor" name="4eddec2fc3082c106b417632103dbe51"></a><!-- doxytag: member="FCDCamera::HasVerticalMag" ref="4eddec2fc3082c106b417632103dbe51" args="() const " --><p> |
---|
715 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
716 | <tr> |
---|
717 | <td class="mdRow"> |
---|
718 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
719 | <tr> |
---|
720 | <td class="md" nowrap valign="top">bool FCDCamera::HasVerticalMag </td> |
---|
721 | <td class="md" valign="top">( </td> |
---|
722 | <td class="mdname1" valign="top" nowrap> </td> |
---|
723 | <td class="md" valign="top"> ) </td> |
---|
724 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
725 | </tr> |
---|
726 | </table> |
---|
727 | </td> |
---|
728 | </tr> |
---|
729 | </table> |
---|
730 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
731 | <tr> |
---|
732 | <td> |
---|
733 | |
---|
734 | </td> |
---|
735 | <td> |
---|
736 | |
---|
737 | <p> |
---|
738 | Retrieves whether the perspective camera defines a vertical magnification. |
---|
739 | <p> |
---|
740 | If the camera does not define the vertical magnification, you can calculate it using the following formula: vertical magnification = aspect ratio * horizontal magnification. <dl compact><dt><b>Returns:</b></dt><dd>Whether the perspective camera defines a vertical magnification. </dd></dl> |
---|
741 | </td> |
---|
742 | </tr> |
---|
743 | </table> |
---|
744 | <a class="anchor" name="2f8ac0483f3be7766eb8ecf10653316f"></a><!-- doxytag: member="FCDCamera::IsOrthographic" ref="2f8ac0483f3be7766eb8ecf10653316f" args="() const " --><p> |
---|
745 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
746 | <tr> |
---|
747 | <td class="mdRow"> |
---|
748 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
749 | <tr> |
---|
750 | <td class="md" nowrap valign="top">bool FCDCamera::IsOrthographic </td> |
---|
751 | <td class="md" valign="top">( </td> |
---|
752 | <td class="mdname1" valign="top" nowrap> </td> |
---|
753 | <td class="md" valign="top"> ) </td> |
---|
754 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
755 | </tr> |
---|
756 | </table> |
---|
757 | </td> |
---|
758 | </tr> |
---|
759 | </table> |
---|
760 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
761 | <tr> |
---|
762 | <td> |
---|
763 | |
---|
764 | </td> |
---|
765 | <td> |
---|
766 | |
---|
767 | <p> |
---|
768 | Retrieves whether this camera is an orthographic camera. |
---|
769 | <p> |
---|
770 | <dl compact><dt><b>Returns:</b></dt><dd>Whether this camera is an orthographic camera. </dd></dl> |
---|
771 | </td> |
---|
772 | </tr> |
---|
773 | </table> |
---|
774 | <a class="anchor" name="7756959daf1ed8d8a90fa19f45f49496"></a><!-- doxytag: member="FCDCamera::IsPerspective" ref="7756959daf1ed8d8a90fa19f45f49496" args="() const " --><p> |
---|
775 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
776 | <tr> |
---|
777 | <td class="mdRow"> |
---|
778 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
779 | <tr> |
---|
780 | <td class="md" nowrap valign="top">bool FCDCamera::IsPerspective </td> |
---|
781 | <td class="md" valign="top">( </td> |
---|
782 | <td class="mdname1" valign="top" nowrap> </td> |
---|
783 | <td class="md" valign="top"> ) </td> |
---|
784 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
785 | </tr> |
---|
786 | </table> |
---|
787 | </td> |
---|
788 | </tr> |
---|
789 | </table> |
---|
790 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
791 | <tr> |
---|
792 | <td> |
---|
793 | |
---|
794 | </td> |
---|
795 | <td> |
---|
796 | |
---|
797 | <p> |
---|
798 | Retrieves whether this camera is a perspective camera. |
---|
799 | <p> |
---|
800 | This is the default type of camera. <dl compact><dt><b>Returns:</b></dt><dd>Whether this camera is a perspective camera. </dd></dl> |
---|
801 | </td> |
---|
802 | </tr> |
---|
803 | </table> |
---|
804 | <a class="anchor" name="ebab35f1778fdc318896978b615d3ddb"></a><!-- doxytag: member="FCDCamera::LoadFromXML" ref="ebab35f1778fdc318896978b615d3ddb" args="(xmlNode *cameraNode)" --><p> |
---|
805 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
806 | <tr> |
---|
807 | <td class="mdRow"> |
---|
808 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
809 | <tr> |
---|
810 | <td class="md" nowrap valign="top"><a class="el" href="class_f_u_status.html">FUStatus</a> FCDCamera::LoadFromXML </td> |
---|
811 | <td class="md" valign="top">( </td> |
---|
812 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
813 | <td class="mdname1" valign="top" nowrap> <em>cameraNode</em> </td> |
---|
814 | <td class="md" valign="top"> ) </td> |
---|
815 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
816 | </tr> |
---|
817 | </table> |
---|
818 | </td> |
---|
819 | </tr> |
---|
820 | </table> |
---|
821 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
822 | <tr> |
---|
823 | <td> |
---|
824 | |
---|
825 | </td> |
---|
826 | <td> |
---|
827 | |
---|
828 | <p> |
---|
829 | [INTERNAL] Reads in the <camera> element from a given COLLADA XML tree node. |
---|
830 | <p> |
---|
831 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
832 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
833 | <tr><td valign="top"></td><td valign="top"><em>cameraNode</em> </td><td>A COLLADA XML tree node. </td></tr> |
---|
834 | </table> |
---|
835 | </dl> |
---|
836 | <dl compact><dt><b>Returns:</b></dt><dd>The status of the import. If the status is not successful, it may be dangerous to extract information from the camera. </dd></dl> |
---|
837 | |
---|
838 | <p> |
---|
839 | Reimplemented from <a class="el" href="class_f_c_d_entity.html#8e32fcc93de76acc4b606db7b5b83890">FCDEntity</a>. </td> |
---|
840 | </tr> |
---|
841 | </table> |
---|
842 | <a class="anchor" name="d36e7b6987ff8a7f1a9145148a49fa5b"></a><!-- doxytag: member="FCDCamera::SetAspectRatio" ref="d36e7b6987ff8a7f1a9145148a49fa5b" args="(float aspectRatio)" --><p> |
---|
843 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
844 | <tr> |
---|
845 | <td class="mdRow"> |
---|
846 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
847 | <tr> |
---|
848 | <td class="md" nowrap valign="top">void FCDCamera::SetAspectRatio </td> |
---|
849 | <td class="md" valign="top">( </td> |
---|
850 | <td class="md" nowrap valign="top">float </td> |
---|
851 | <td class="mdname1" valign="top" nowrap> <em>aspectRatio</em> </td> |
---|
852 | <td class="md" valign="top"> ) </td> |
---|
853 | <td class="md" nowrap></td> |
---|
854 | </tr> |
---|
855 | </table> |
---|
856 | </td> |
---|
857 | </tr> |
---|
858 | </table> |
---|
859 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
860 | <tr> |
---|
861 | <td> |
---|
862 | |
---|
863 | </td> |
---|
864 | <td> |
---|
865 | |
---|
866 | <p> |
---|
867 | Sets the aspect ratio for the view of this camera. |
---|
868 | <p> |
---|
869 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
870 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
871 | <tr><td valign="top"></td><td valign="top"><em>aspectRatio</em> </td><td>The new view aspect ratio. </td></tr> |
---|
872 | </table> |
---|
873 | </dl> |
---|
874 | </td> |
---|
875 | </tr> |
---|
876 | </table> |
---|
877 | <a class="anchor" name="f833473ab121efed5be5f02d8680d51c"></a><!-- doxytag: member="FCDCamera::SetFarZ" ref="f833473ab121efed5be5f02d8680d51c" args="(float _farZ)" --><p> |
---|
878 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
879 | <tr> |
---|
880 | <td class="mdRow"> |
---|
881 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
882 | <tr> |
---|
883 | <td class="md" nowrap valign="top">void FCDCamera::SetFarZ </td> |
---|
884 | <td class="md" valign="top">( </td> |
---|
885 | <td class="md" nowrap valign="top">float </td> |
---|
886 | <td class="mdname1" valign="top" nowrap> <em>_farZ</em> </td> |
---|
887 | <td class="md" valign="top"> ) </td> |
---|
888 | <td class="md" nowrap><code> [inline]</code></td> |
---|
889 | </tr> |
---|
890 | </table> |
---|
891 | </td> |
---|
892 | </tr> |
---|
893 | </table> |
---|
894 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
895 | <tr> |
---|
896 | <td> |
---|
897 | |
---|
898 | </td> |
---|
899 | <td> |
---|
900 | |
---|
901 | <p> |
---|
902 | Sets the far-z value for this camera. |
---|
903 | <p> |
---|
904 | The far-z value represent how close the far-clip plane of the view frustrum is. For orthographic cameras, this value is solely used for depth-buffering. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
905 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
906 | <tr><td valign="top"></td><td valign="top"><em>_farZ</em> </td><td>A valid far-z value. No check is made to verify that the far-z value is greather than the near-z value. </td></tr> |
---|
907 | </table> |
---|
908 | </dl> |
---|
909 | </td> |
---|
910 | </tr> |
---|
911 | </table> |
---|
912 | <a class="anchor" name="6288922e48ed1426edeeee4cb727a1e5"></a><!-- doxytag: member="FCDCamera::SetFovX" ref="6288922e48ed1426edeeee4cb727a1e5" args="(float fovX)" --><p> |
---|
913 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
914 | <tr> |
---|
915 | <td class="mdRow"> |
---|
916 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
917 | <tr> |
---|
918 | <td class="md" nowrap valign="top">void FCDCamera::SetFovX </td> |
---|
919 | <td class="md" valign="top">( </td> |
---|
920 | <td class="md" nowrap valign="top">float </td> |
---|
921 | <td class="mdname1" valign="top" nowrap> <em>fovX</em> </td> |
---|
922 | <td class="md" valign="top"> ) </td> |
---|
923 | <td class="md" nowrap></td> |
---|
924 | </tr> |
---|
925 | </table> |
---|
926 | </td> |
---|
927 | </tr> |
---|
928 | </table> |
---|
929 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
930 | <tr> |
---|
931 | <td> |
---|
932 | |
---|
933 | </td> |
---|
934 | <td> |
---|
935 | |
---|
936 | <p> |
---|
937 | Sets the horizontal field of view value for this camera. |
---|
938 | <p> |
---|
939 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
940 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
941 | <tr><td valign="top"></td><td valign="top"><em>fovX</em> </td><td>The new horizontal field of view, in degrees. </td></tr> |
---|
942 | </table> |
---|
943 | </dl> |
---|
944 | </td> |
---|
945 | </tr> |
---|
946 | </table> |
---|
947 | <a class="anchor" name="833fe15b9b9186f3946bfc8c2f721e5c"></a><!-- doxytag: member="FCDCamera::SetFovY" ref="833fe15b9b9186f3946bfc8c2f721e5c" args="(float fovY)" --><p> |
---|
948 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
949 | <tr> |
---|
950 | <td class="mdRow"> |
---|
951 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
952 | <tr> |
---|
953 | <td class="md" nowrap valign="top">void FCDCamera::SetFovY </td> |
---|
954 | <td class="md" valign="top">( </td> |
---|
955 | <td class="md" nowrap valign="top">float </td> |
---|
956 | <td class="mdname1" valign="top" nowrap> <em>fovY</em> </td> |
---|
957 | <td class="md" valign="top"> ) </td> |
---|
958 | <td class="md" nowrap></td> |
---|
959 | </tr> |
---|
960 | </table> |
---|
961 | </td> |
---|
962 | </tr> |
---|
963 | </table> |
---|
964 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
965 | <tr> |
---|
966 | <td> |
---|
967 | |
---|
968 | </td> |
---|
969 | <td> |
---|
970 | |
---|
971 | <p> |
---|
972 | Sets the vertical field of view value for this camera. |
---|
973 | <p> |
---|
974 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
975 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
976 | <tr><td valign="top"></td><td valign="top"><em>fovY</em> </td><td>The new vertical field of view, in degrees. </td></tr> |
---|
977 | </table> |
---|
978 | </dl> |
---|
979 | </td> |
---|
980 | </tr> |
---|
981 | </table> |
---|
982 | <a class="anchor" name="ea0914e5cdfd37b7910f35c111d70998"></a><!-- doxytag: member="FCDCamera::SetHorizontalAperture" ref="ea0914e5cdfd37b7910f35c111d70998" args="(float aperture)" --><p> |
---|
983 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
984 | <tr> |
---|
985 | <td class="mdRow"> |
---|
986 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
987 | <tr> |
---|
988 | <td class="md" nowrap valign="top">void FCDCamera::SetHorizontalAperture </td> |
---|
989 | <td class="md" valign="top">( </td> |
---|
990 | <td class="md" nowrap valign="top">float </td> |
---|
991 | <td class="mdname1" valign="top" nowrap> <em>aperture</em> </td> |
---|
992 | <td class="md" valign="top"> ) </td> |
---|
993 | <td class="md" nowrap><code> [inline]</code></td> |
---|
994 | </tr> |
---|
995 | </table> |
---|
996 | </td> |
---|
997 | </tr> |
---|
998 | </table> |
---|
999 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1000 | <tr> |
---|
1001 | <td> |
---|
1002 | |
---|
1003 | </td> |
---|
1004 | <td> |
---|
1005 | |
---|
1006 | <p> |
---|
1007 | Sets the horizontal aperture of the camera. |
---|
1008 | <p> |
---|
1009 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1010 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1011 | <tr><td valign="top"></td><td valign="top"><em>aperture</em> </td><td>The horizontal aperture of the camera. </td></tr> |
---|
1012 | </table> |
---|
1013 | </dl> |
---|
1014 | </td> |
---|
1015 | </tr> |
---|
1016 | </table> |
---|
1017 | <a class="anchor" name="43fc2d971aaaa1d3b2ca349375892bea"></a><!-- doxytag: member="FCDCamera::SetLensSqueeze" ref="43fc2d971aaaa1d3b2ca349375892bea" args="(float factor)" --><p> |
---|
1018 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1019 | <tr> |
---|
1020 | <td class="mdRow"> |
---|
1021 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1022 | <tr> |
---|
1023 | <td class="md" nowrap valign="top">void FCDCamera::SetLensSqueeze </td> |
---|
1024 | <td class="md" valign="top">( </td> |
---|
1025 | <td class="md" nowrap valign="top">float </td> |
---|
1026 | <td class="mdname1" valign="top" nowrap> <em>factor</em> </td> |
---|
1027 | <td class="md" valign="top"> ) </td> |
---|
1028 | <td class="md" nowrap><code> [inline]</code></td> |
---|
1029 | </tr> |
---|
1030 | </table> |
---|
1031 | </td> |
---|
1032 | </tr> |
---|
1033 | </table> |
---|
1034 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1035 | <tr> |
---|
1036 | <td> |
---|
1037 | |
---|
1038 | </td> |
---|
1039 | <td> |
---|
1040 | |
---|
1041 | <p> |
---|
1042 | Sets the lens squeeze of the camera. |
---|
1043 | <p> |
---|
1044 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1045 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1046 | <tr><td valign="top"></td><td valign="top"><em>factor</em> </td><td>The lense squeeze of the camera. </td></tr> |
---|
1047 | </table> |
---|
1048 | </dl> |
---|
1049 | </td> |
---|
1050 | </tr> |
---|
1051 | </table> |
---|
1052 | <a class="anchor" name="6dad0e3978aad3bbd920587ae387e952"></a><!-- doxytag: member="FCDCamera::SetMagX" ref="6dad0e3978aad3bbd920587ae387e952" args="(float magX)" --><p> |
---|
1053 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1054 | <tr> |
---|
1055 | <td class="mdRow"> |
---|
1056 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1057 | <tr> |
---|
1058 | <td class="md" nowrap valign="top">void FCDCamera::SetMagX </td> |
---|
1059 | <td class="md" valign="top">( </td> |
---|
1060 | <td class="md" nowrap valign="top">float </td> |
---|
1061 | <td class="mdname1" valign="top" nowrap> <em>magX</em> </td> |
---|
1062 | <td class="md" valign="top"> ) </td> |
---|
1063 | <td class="md" nowrap><code> [inline]</code></td> |
---|
1064 | </tr> |
---|
1065 | </table> |
---|
1066 | </td> |
---|
1067 | </tr> |
---|
1068 | </table> |
---|
1069 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1070 | <tr> |
---|
1071 | <td> |
---|
1072 | |
---|
1073 | </td> |
---|
1074 | <td> |
---|
1075 | |
---|
1076 | <p> |
---|
1077 | Sets the horizontal magnification for this camera. |
---|
1078 | <p> |
---|
1079 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1080 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1081 | <tr><td valign="top"></td><td valign="top"><em>magX</em> </td><td>The new horizontal magnification, in degrees. </td></tr> |
---|
1082 | </table> |
---|
1083 | </dl> |
---|
1084 | </td> |
---|
1085 | </tr> |
---|
1086 | </table> |
---|
1087 | <a class="anchor" name="4edf1eb03fe522145a18d80aabcef450"></a><!-- doxytag: member="FCDCamera::SetMagY" ref="4edf1eb03fe522145a18d80aabcef450" args="(float magY)" --><p> |
---|
1088 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1089 | <tr> |
---|
1090 | <td class="mdRow"> |
---|
1091 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1092 | <tr> |
---|
1093 | <td class="md" nowrap valign="top">void FCDCamera::SetMagY </td> |
---|
1094 | <td class="md" valign="top">( </td> |
---|
1095 | <td class="md" nowrap valign="top">float </td> |
---|
1096 | <td class="mdname1" valign="top" nowrap> <em>magY</em> </td> |
---|
1097 | <td class="md" valign="top"> ) </td> |
---|
1098 | <td class="md" nowrap><code> [inline]</code></td> |
---|
1099 | </tr> |
---|
1100 | </table> |
---|
1101 | </td> |
---|
1102 | </tr> |
---|
1103 | </table> |
---|
1104 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1105 | <tr> |
---|
1106 | <td> |
---|
1107 | |
---|
1108 | </td> |
---|
1109 | <td> |
---|
1110 | |
---|
1111 | <p> |
---|
1112 | Sets the vertical magnification value for this camera. |
---|
1113 | <p> |
---|
1114 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1115 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1116 | <tr><td valign="top"></td><td valign="top"><em>magY</em> </td><td>The new vertical magnification, in degrees. </td></tr> |
---|
1117 | </table> |
---|
1118 | </dl> |
---|
1119 | </td> |
---|
1120 | </tr> |
---|
1121 | </table> |
---|
1122 | <a class="anchor" name="5897d7a1ba3e10316f0f2f183530ee45"></a><!-- doxytag: member="FCDCamera::SetNearZ" ref="5897d7a1ba3e10316f0f2f183530ee45" args="(float _nearZ)" --><p> |
---|
1123 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1124 | <tr> |
---|
1125 | <td class="mdRow"> |
---|
1126 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1127 | <tr> |
---|
1128 | <td class="md" nowrap valign="top">void FCDCamera::SetNearZ </td> |
---|
1129 | <td class="md" valign="top">( </td> |
---|
1130 | <td class="md" nowrap valign="top">float </td> |
---|
1131 | <td class="mdname1" valign="top" nowrap> <em>_nearZ</em> </td> |
---|
1132 | <td class="md" valign="top"> ) </td> |
---|
1133 | <td class="md" nowrap><code> [inline]</code></td> |
---|
1134 | </tr> |
---|
1135 | </table> |
---|
1136 | </td> |
---|
1137 | </tr> |
---|
1138 | </table> |
---|
1139 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1140 | <tr> |
---|
1141 | <td> |
---|
1142 | |
---|
1143 | </td> |
---|
1144 | <td> |
---|
1145 | |
---|
1146 | <p> |
---|
1147 | Sets the near-z value for this camera. |
---|
1148 | <p> |
---|
1149 | The near-z value represent how close the near-clip plane of the view frustrum is. For orthographic cameras, this value is solely used for depth-buffering. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1150 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1151 | <tr><td valign="top"></td><td valign="top"><em>_nearZ</em> </td><td>A valid near-z value. No check is made to verify that the near-z value is greather than the far-z value. </td></tr> |
---|
1152 | </table> |
---|
1153 | </dl> |
---|
1154 | </td> |
---|
1155 | </tr> |
---|
1156 | </table> |
---|
1157 | <a class="anchor" name="cf92f5b2bbf13e397feebb35bc3e0b18"></a><!-- doxytag: member="FCDCamera::SetVerticalAperture" ref="cf92f5b2bbf13e397feebb35bc3e0b18" args="(float aperture)" --><p> |
---|
1158 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1159 | <tr> |
---|
1160 | <td class="mdRow"> |
---|
1161 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1162 | <tr> |
---|
1163 | <td class="md" nowrap valign="top">void FCDCamera::SetVerticalAperture </td> |
---|
1164 | <td class="md" valign="top">( </td> |
---|
1165 | <td class="md" nowrap valign="top">float </td> |
---|
1166 | <td class="mdname1" valign="top" nowrap> <em>aperture</em> </td> |
---|
1167 | <td class="md" valign="top"> ) </td> |
---|
1168 | <td class="md" nowrap><code> [inline]</code></td> |
---|
1169 | </tr> |
---|
1170 | </table> |
---|
1171 | </td> |
---|
1172 | </tr> |
---|
1173 | </table> |
---|
1174 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1175 | <tr> |
---|
1176 | <td> |
---|
1177 | |
---|
1178 | </td> |
---|
1179 | <td> |
---|
1180 | |
---|
1181 | <p> |
---|
1182 | Sets the vertical aperture of the camera. |
---|
1183 | <p> |
---|
1184 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1185 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1186 | <tr><td valign="top"></td><td valign="top"><em>aperture</em> </td><td>The vertical aperture of the camera. </td></tr> |
---|
1187 | </table> |
---|
1188 | </dl> |
---|
1189 | </td> |
---|
1190 | </tr> |
---|
1191 | </table> |
---|
1192 | <a class="anchor" name="484c6439adab10baa2dbf558f99bd934"></a><!-- doxytag: member="FCDCamera::WriteToXML" ref="484c6439adab10baa2dbf558f99bd934" args="(xmlNode *parentNode) const " --><p> |
---|
1193 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1194 | <tr> |
---|
1195 | <td class="mdRow"> |
---|
1196 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1197 | <tr> |
---|
1198 | <td class="md" nowrap valign="top">virtual xmlNode* FCDCamera::WriteToXML </td> |
---|
1199 | <td class="md" valign="top">( </td> |
---|
1200 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
1201 | <td class="mdname1" valign="top" nowrap> <em>parentNode</em> </td> |
---|
1202 | <td class="md" valign="top"> ) </td> |
---|
1203 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
1204 | </tr> |
---|
1205 | </table> |
---|
1206 | </td> |
---|
1207 | </tr> |
---|
1208 | </table> |
---|
1209 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1210 | <tr> |
---|
1211 | <td> |
---|
1212 | |
---|
1213 | </td> |
---|
1214 | <td> |
---|
1215 | |
---|
1216 | <p> |
---|
1217 | [INTERNAL] Writes out the <camera> element to the given COLLADA XML tree node. |
---|
1218 | <p> |
---|
1219 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1220 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1221 | <tr><td valign="top"></td><td valign="top"><em>parentNode</em> </td><td>The COLLADA XML parent node in which to insert the geometry information. </td></tr> |
---|
1222 | </table> |
---|
1223 | </dl> |
---|
1224 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
1225 | |
---|
1226 | <p> |
---|
1227 | Reimplemented from <a class="el" href="class_f_c_d_entity.html#b27f0c175c3f8fd7064cde48bcf1d7a0">FCDEntity</a>. </td> |
---|
1228 | </tr> |
---|
1229 | </table> |
---|
1230 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
1231 | <li>FCDocument/<a class="el" href="_f_c_d_camera_8h-source.html">FCDCamera.h</a></ul> |
---|
1232 | <hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:41 2006 for FCollada by |
---|
1233 | <a href="http://www.doxygen.org/index.html"> |
---|
1234 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
1235 | </body> |
---|
1236 | </html> |
---|