#include <OSG3DSLoader.h>
Inheritance diagram for LCamera:

Public Member Functions | |
| LCamera () | |
| virtual | ~LCamera () |
| void | Clear () |
| void | SetPosition (LVector3 vec) |
| LVector3 | GetPosition () |
| void | SetTarget (LVector3 target) |
| LVector3 | GetTarget () |
| void | SetFOV (float value) |
| float | GetFOV () |
| void | SetBank (float value) |
| float | GetBank () |
| void | SetNearplane (float value) |
| float | GetNearplane () |
| void | SetFarplane (float value) |
| float | GetFarplane () |
| virtual const std::string & | GetName () |
| virtual void | SetName (const std::string &value) |
| bool | IsObject (const std::string &name) |
Protected Attributes | |
| LVector3 | m_pos |
| LVector3 | m_target |
| float | m_bank |
| float | m_fov |
| float | m_near |
| float | m_far |
| std::string | m_name |
Definition at line 314 of file OSG3DSLoader.h.
| LCamera::LCamera | ( | ) |
| LCamera::~LCamera | ( | ) | [virtual] |
| void LCamera::Clear | ( | ) |
Definition at line 851 of file OSG3DSLoader.cpp.
References m_bank, m_far, m_fov, m_near, m_pos, m_target, LVector3::x, LVector3::y, and LVector3::z.
Referenced by LCamera().
00852 { 00853 m_pos.x = m_pos.y = m_pos.z = 0.0f; 00854 m_target.x = m_target.y = m_target.z = 0.0f; 00855 m_fov = 80; 00856 m_bank = 0;; 00857 m_near = 10; 00858 m_far = 10000; 00859 }
| void LCamera::SetPosition | ( | LVector3 | vec | ) |
Definition at line 861 of file OSG3DSLoader.cpp.
References m_pos.
Referenced by L3DS::ReadCamera().
00862 { 00863 m_pos = vec; 00864 }
| LVector3 LCamera::GetPosition | ( | ) |
Definition at line 866 of file OSG3DSLoader.cpp.
References m_pos.
00867 { 00868 return m_pos; 00869 }
| void LCamera::SetTarget | ( | LVector3 | target | ) |
Definition at line 871 of file OSG3DSLoader.cpp.
References m_target.
Referenced by L3DS::ReadCamera().
00872 { 00873 m_target = target; 00874 }
| LVector3 LCamera::GetTarget | ( | ) |
Definition at line 876 of file OSG3DSLoader.cpp.
References m_target.
00877 { 00878 return m_target; 00879 }
| void LCamera::SetFOV | ( | float | value | ) |
Definition at line 881 of file OSG3DSLoader.cpp.
References m_fov.
Referenced by L3DS::ReadCamera().
| float LCamera::GetFOV | ( | ) |
Definition at line 886 of file OSG3DSLoader.cpp.
References m_fov.
00887 { 00888 return m_fov; 00889 }
| void LCamera::SetBank | ( | float | value | ) |
Definition at line 891 of file OSG3DSLoader.cpp.
References m_bank.
Referenced by L3DS::ReadCamera().
| float LCamera::GetBank | ( | ) |
Definition at line 896 of file OSG3DSLoader.cpp.
References m_bank.
00897 { 00898 return m_bank; 00899 }
| void LCamera::SetNearplane | ( | float | value | ) |
Definition at line 901 of file OSG3DSLoader.cpp.
References m_near.
Referenced by L3DS::ReadCamera().
| float LCamera::GetNearplane | ( | ) |
Definition at line 906 of file OSG3DSLoader.cpp.
References m_near.
00907 { 00908 return m_near; 00909 }
| void LCamera::SetFarplane | ( | float | value | ) |
Definition at line 911 of file OSG3DSLoader.cpp.
References m_far.
Referenced by L3DS::ReadCamera().
| float LCamera::GetFarplane | ( | ) |
Definition at line 916 of file OSG3DSLoader.cpp.
References m_far.
00917 { 00918 return m_far; 00919 }
| const std::string & LObject::GetName | ( | ) | [virtual, inherited] |
Definition at line 234 of file OSG3DSLoader.cpp.
References LObject::m_name.
Referenced by OSG::A3DSSceneFileType::createMesh().
00235 { 00236 return m_name; 00237 }
| void LObject::SetName | ( | const std::string & | value | ) | [virtual, inherited] |
Definition at line 229 of file OSG3DSLoader.cpp.
References LObject::m_name.
Referenced by L3DS::ReadCamera(), L3DS::ReadLight(), L3DS::ReadMaterial(), and L3DS::ReadMesh().
| bool LObject::IsObject | ( | const std::string & | name | ) | [inherited] |
LVector3 LCamera::m_pos [protected] |
Definition at line 348 of file OSG3DSLoader.h.
Referenced by Clear(), GetPosition(), and SetPosition().
LVector3 LCamera::m_target [protected] |
float LCamera::m_bank [protected] |
float LCamera::m_fov [protected] |
float LCamera::m_near [protected] |
Definition at line 352 of file OSG3DSLoader.h.
Referenced by Clear(), GetNearplane(), and SetNearplane().
float LCamera::m_far [protected] |
Definition at line 353 of file OSG3DSLoader.h.
Referenced by Clear(), GetFarplane(), and SetFarplane().
std::string LObject::m_name [protected, inherited] |
Definition at line 140 of file OSG3DSLoader.h.
Referenced by LObject::GetName(), LObject::IsObject(), LObject::LObject(), and LObject::SetName().