18#include <OgreMatrix3.h>
49 Ogre::ResourceManager *creator,
const String &name,
50 Ogre::ResourceHandle handle,
const String &group,
51 bool is_manual =
false, Ogre::ManualResourceLoader *loader = NULL
76 void SetMatrix(
const Ogre::Matrix3& matrix);
148 Ogre::Radian
GetFov(Ogre::Real width)
const;
float * position
Used to keep track of the skeleton and it's bones positions.
Definition: DrawSkeleton.cpp:33
Handles camera matrix files.
Definition: VGearsCameraMatrixFile.h:26
static const String RESOURCE_TYPE
The type of resource.
Definition: VGearsCameraMatrixFile.h:62
CameraMatrixFile(Ogre::ResourceManager *creator, const String &name, Ogre::ResourceHandle handle, const String &group, bool is_manual=false, Ogre::ManualResourceLoader *loader=NULL)
Constructor.
Definition: VGearsCameraMatrixFile.cpp:24
void SetMatrix(const Ogre::Matrix3 &matrix)
Sets the camera matrix.
Definition: VGearsCameraMatrixFile.cpp:58
void SetCount(const size_t count)
Sets the number of ???
Definition: VGearsCameraMatrixFile.cpp:76
Ogre::Vector3 position_
The position of the camera.
Definition: VGearsCameraMatrixFile.h:179
void SetFocalLength(const Ogre::Real focal_length)
Sets the focal length.
Definition: VGearsCameraMatrixFile.cpp:82
Ogre::Radian GetFov(Ogre::Real width) const
Retrieves the camera field of view.
Definition: VGearsCameraMatrixFile.cpp:86
Ogre::Real focal_length_
The focal length.
Definition: VGearsCameraMatrixFile.h:189
void SetOffset(const Pixel &offset)
Sets the camera offset.
Definition: VGearsCameraMatrixFile.cpp:72
size_t count_
The number of.
Definition: VGearsCameraMatrixFile.h:194
virtual void loadImpl(void)
Loads the file.
Definition: VGearsCameraMatrixFile.cpp:32
Ogre::Matrix3 matrix_
The camera matrix.
Definition: VGearsCameraMatrixFile.h:174
const size_t & GetCount() const
Counts the ???
Definition: VGearsCameraMatrixFile.cpp:74
const Pixel & GetOffset() const
Retrieves the camera offset.
Definition: VGearsCameraMatrixFile.cpp:70
const Ogre::Matrix3 & GetMatrix() const
Retrieves the camera matrix in the file.
Definition: VGearsCameraMatrixFile.cpp:56
virtual void unloadImpl(void)
Unloads the file.
Definition: VGearsCameraMatrixFile.cpp:38
virtual ~CameraMatrixFile()
Destructor.
Definition: VGearsCameraMatrixFile.cpp:30
virtual size_t CalculateSize(void) const
Calculates the file size.
Definition: VGearsCameraMatrixFile.cpp:47
const Ogre::Vector3 & GetPosition() const
Retrieves the camera position.
Definition: VGearsCameraMatrixFile.cpp:62
void SetPosition(const Ogre::Vector3 &position)
Sets the camera position.
Definition: VGearsCameraMatrixFile.cpp:66
Ogre::Quaternion GetOrientation() const
Retrieves the camera orientation.
Definition: VGearsCameraMatrixFile.cpp:52
const Ogre::Real & GetFocalLength() const
Retrieves the focal length.
Definition: VGearsCameraMatrixFile.cpp:78
Pixel offset_
The camera offset.
Definition: VGearsCameraMatrixFile.h:184
A resource.
Definition: VGearsResource.h:29
Definition: FF7NameLookup.h:24
Ogre::String String
Definition: TypeDefine.h:37
Ogre::SharedPtr< CameraMatrixFile > CameraMatrixFilePtr
Definition: VGearsCameraMatrixFile.h:197
Pixel coordinates.
Definition: TypeDefine.h:76