se_core::ViewPoint Class Reference

#include <ViewPoint.hpp>

List of all members.

Public Member Functions

 ViewPoint ()
 ViewPoint (const ViewPoint &vp)
bool viewPointEquals (const ViewPoint &c) const
bool viewPointEquals (const ViewPoint &c, coor_t coorEpsilon, bray_t faceEpsilon) const
void setViewPoint (const ViewPoint &original)
void setIdentity ()
const Euler3face () const
Euler3face ()
void setCoor (const Point3 &c)
void setFace (const Quat4 &f)
void setFace (const Euler3 &f)
void face (Quat4 &dest)
const Point3coor () const
Point3coor ()
void interpolate (ViewPoint &vp, scale_t alpha)
void add (const ViewPoint &other)
void sub (const ViewPoint &other)
void setFaceDirection (bray_t d)
 Set the new face direction.
const char * toLog () const

Public Attributes

Euler3 face_
Point3 coor_


Constructor & Destructor Documentation

se_core::ViewPoint::ViewPoint  )  [inline]
 

Definition at line 34 of file ViewPoint.hpp.

se_core::ViewPoint::ViewPoint const ViewPoint vp  )  [inline]
 

Definition at line 35 of file ViewPoint.hpp.


Member Function Documentation

void se_core::ViewPoint::add const ViewPoint other  )  [inline]
 

Definition at line 86 of file ViewPoint.hpp.

References se_core::Tuple4::add(), coor_, face_, se_core::Euler3::isIdentity(), and se_core::Quat4::rotate().

Referenced by se_core::SpawnComponent::spawn().

Point3& se_core::ViewPoint::coor  )  [inline]
 

Definition at line 78 of file ViewPoint.hpp.

const Point3& se_core::ViewPoint::coor  )  const [inline]
 

Definition at line 77 of file ViewPoint.hpp.

void se_core::ViewPoint::face Quat4 dest  )  [inline]
 

Definition at line 73 of file ViewPoint.hpp.

References se_core::Quat4::set().

Euler3& se_core::ViewPoint::face  )  [inline]
 

Definition at line 65 of file ViewPoint.hpp.

const Euler3& se_core::ViewPoint::face  )  const [inline]
 

Definition at line 64 of file ViewPoint.hpp.

void se_core::ViewPoint::interpolate ViewPoint vp,
scale_t  alpha
[inline]
 

Definition at line 80 of file ViewPoint.hpp.

References coor_, face_, and se_core::Quat4::interpolate().

void se_core::ViewPoint::setCoor const Point3 c  )  [inline]
 

Definition at line 68 of file ViewPoint.hpp.

void se_core::ViewPoint::setFace const Euler3 f  )  [inline]
 

Definition at line 71 of file ViewPoint.hpp.

void se_core::ViewPoint::setFace const Quat4 f  )  [inline]
 

Definition at line 70 of file ViewPoint.hpp.

void se_core::ViewPoint::setFaceDirection bray_t  d  )  [inline]
 

Set the new face direction.

The new face direction is cached in a special variable that will be used starting next step.

Parameters:
d The new face direction

Definition at line 109 of file ViewPoint.hpp.

References se_core::Quat4::setYaw().

void se_core::ViewPoint::setIdentity  )  [inline]
 

Definition at line 55 of file ViewPoint.hpp.

void se_core::ViewPoint::setViewPoint const ViewPoint original  )  [inline]
 

Definition at line 49 of file ViewPoint.hpp.

References coor_, and face_.

Referenced by se_core::CollisionAreaComponent::_testCollisionCandidates(), se_core::CollisionAreaComponent::_testCollisionCandidates2(), se_core::Pos::areaViewPoint(), se_basic::PhTrackingCamera::calcNext(), se_client::PlayerEncoder::encode(), se_basic::EnterTo::perform(), se_core::Pos::updateLocalViewPoint(), and se_core::PosComponent::worldViewPoint().

void se_core::ViewPoint::sub const ViewPoint other  )  [inline]
 

Definition at line 94 of file ViewPoint.hpp.

References coor_, face_, se_core::Euler3::isIdentity(), se_core::Quat4::rotateInverse(), and se_core::Tuple4::sub().

Referenced by se_core::Pos::areaViewPoint(), se_client::PlayerEncoder::encode(), se_core::SpawnComponent::spawn(), and se_core::Pos::updateLocalViewPoint().

const char * se_core::ViewPoint::toLog  )  const
 

Definition at line 42 of file ViewPoint.cpp.

bool se_core::ViewPoint::viewPointEquals const ViewPoint c,
coor_t  coorEpsilon,
bray_t  faceEpsilon
const [inline]
 

Definition at line 43 of file ViewPoint.hpp.

References coor_, se_core::Euler3::epsilonEquals(), se_core::Tuple3::epsilonEquals(), and face_.

bool se_core::ViewPoint::viewPointEquals const ViewPoint c  )  const [inline]
 

Definition at line 39 of file ViewPoint.hpp.

References coor_, se_core::Euler3::equals(), se_core::Tuple3::equals(), and face_.

Referenced by se_ogre::O3dThingComponent::move().


Member Data Documentation

Point3 se_core::ViewPoint::coor_
 

Definition at line 118 of file ViewPoint.hpp.

Referenced by se_core::CollisionAreaComponent::_testCollisionCandidates(), se_core::CollisionAreaComponent::_testCollisionCandidates2(), add(), se_ogre::ThingStaticGeometry::addToStaticGeometry(), se_core::Pos::areaCoor(), se_ogre::O3dAreaComponent::compileStaticGeometry(), se_client::PlayerEncoder::encode(), se_basic::SimpleAreaThingEncoder::encode(), interpolate(), se_core::operator<<(), se_core::SpawnComponentParser::readSpawnPoint(), se_basic::SimpleActorParser::readSpawnPoint(), setViewPoint(), se_core::SpawnComponent::spawn(), se_core::Area::spawn(), sub(), se_ogre::O3dManager::updateStats(), viewPointEquals(), and se_core::PosComponent::worldViewPoint().

Euler3 se_core::ViewPoint::face_
 

Definition at line 116 of file ViewPoint.hpp.

Referenced by add(), se_ogre::ThingStaticGeometry::addToStaticGeometry(), se_core::Pos::areaFace(), se_ogre::O3dAreaComponent::compileStaticGeometry(), se_client::PlayerEncoder::encode(), se_basic::SimpleAreaThingEncoder::encode(), interpolate(), se_ogre::O3dThingComponent::move(), se_core::operator<<(), se_core::SpawnComponentParser::readSpawnPoint(), se_basic::SimpleActorParser::readSpawnPoint(), setViewPoint(), sub(), se_ogre::O3dManager::updateStats(), viewPointEquals(), and se_core::PosComponent::worldViewPoint().


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:32 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo