OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MWMechanics::CoordinateConverter Class Reference

convert coordinates between world and local cell More...

#include <coordinateconverter.hpp>

Collaboration diagram for MWMechanics::CoordinateConverter:

Public Member Functions

 CoordinateConverter (const ESM::Cell *cell)
 
void toWorld (ESM::Pathgrid::Point &point)
 in-place conversion from local to world More...
 
void toWorld (osg::Vec3f &point)
 in-place conversion from local to world More...
 
void toLocal (osg::Vec3f &point)
 in-place conversion from world to local More...
 
osg::Vec3f toLocalVec3 (const ESM::Pathgrid::Point &point)
 

Private Attributes

int mCellX
 
int mCellY
 

Detailed Description

convert coordinates between world and local cell

Constructor & Destructor Documentation

MWMechanics::CoordinateConverter::CoordinateConverter ( const ESM::Cell cell)

Here is the call graph for this function:

Member Function Documentation

void MWMechanics::CoordinateConverter::toLocal ( osg::Vec3f &  point)

in-place conversion from world to local

Here is the caller graph for this function:

osg::Vec3f MWMechanics::CoordinateConverter::toLocalVec3 ( const ESM::Pathgrid::Point point)
void MWMechanics::CoordinateConverter::toWorld ( ESM::Pathgrid::Point point)

in-place conversion from local to world

Here is the caller graph for this function:

void MWMechanics::CoordinateConverter::toWorld ( osg::Vec3f &  point)

in-place conversion from local to world

Member Data Documentation

int MWMechanics::CoordinateConverter::mCellX
private
int MWMechanics::CoordinateConverter::mCellY
private

The documentation for this class was generated from the following files: