Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Membres des namespaces | Composants | Déclarations

Référence de la classe ExCCameraChase

#include <ExCCameraChase.h>

Graphe d'héritage de la classe ExCCameraChase

ExCCamera ExCObject3D ExCObject

Membres publics

 ExCCameraChase ()
 ~ExCCameraChase ()
void SetManagerModel (ExManagerModel *Model)
void SetDistanceFromTarget (float Distance)
void SetAngleAroundTarget (float Angle)
float GetDistanceFromTarget (void)
float GetAngleAroundTarget (void)
void SetCameraHeight (float Height)
float GetCameraHeight (void)
void Draw (void)
void Process (void)
void DrawCameraGizmo (void)
void DrawCameraInfo (void)
void ZoomIn (void)
void ZoomIn (float zoom)
void ZoomOut (void)
void ZoomOut (float zoom)
void ResetZoom (void)
void SetZoom (float zoom)
void SetZoomMax (float zoom)
void SetZoomMin (float zoom)
void SetZoomDefault (float zoom)
float GetZoomMax (void)
float GetZoomMin (void)
float GetZoom (void)
float GetZoomDefault (void)
void SetClipFar (float clip)
void SetClipNear (float clip)
float GetClipFar (void)
float GetClipNear (void)
void StartAction (int Action)
void StopAction (int Action)
void SetCurrentState (bool state)
void ShowInfo (void)
void SetShowInfoState (bool state)
bool GetShowInfoState (void)
void SetAngleX (float Angle)
void SetAngleY (float Angle)
void SetAngleZ (float Angle)
float GetAngleX (void)
float GetAngleY (void)
float GetAngleZ (void)
void SetAcceleration (ExCVec3D Acceleration)
void SetAcceleration (float x, float y, float z)
ExCVec3D GetAcceleration (void)
void SetVelocity (ExCVec3D Velocity)
void SetVelocity (float x, float y, float z)
ExCVec3D GetVelocity (void)
void SetGravity (ExCVec3D Gravity)
void SetGravity (float x, float y, float z)
ExCVec3D GetGravity (void)
void SetPosition (ExCVec3D Position)
void SetPosition (float x, float y, float z)
ExCVec3D GetPosition (void)
void SetTarget (ExCVec3D Target)
void SetTarget (float x, float y, float z)
ExCVec3D GetTarget (void)
void SetOldPosition (ExCVec3D OldPosition)
void SetOldPosition (float x, float y, float z)
ExCVec3D GetOldPosition (void)
void SetOldTarget (ExCVec3D OldTarget)
void SetOldTarget (float x, float y, float z)
ExCVec3D GetOldTarget (void)
void Rotate (float angleX, float angleY, float angleZ)
void Rotate (void)
void SetVisibleState (bool state)
bool GetVisibleState (void)
void SetFlux (std::ostrstream *consol, ExCFluxAction *action)
virtual bool LoadFile (std::string FileName)
void SetIdName (ExNihilo::IdName idname)
ExNihilo::ExId GetId (void)
std::string GetName (void)
std::string GetFileName (void)
std::string GetType (void)
void SetId (ExNihilo::ExId Id)
void SetName (std::string Name)
void SetFileName (std::string FileName)
void SetType (std::string Type)

Attributs Publics

int m_CurrentAction
std::vector< int > m_VecAction
std::vector< int >::iterator m_ItVecAction
ExCVec3D m_Position
ExCVec3D m_OldPosition
ExCVec3D m_Target
ExCVec3D m_OldTarget
ExCVec3D m_Angle
int m_speed
float m_SphereRadius
bool m_Visible
std::ostrstream * Consol
ExCFluxActionFluxAction

Attributs Protégés

ExManagerModelManagerModel
ExNihilo::ExId m_ModelTargetID
float m_DistanceFromTarget
float m_AngleAroundTarget
float m_CameraHeight
bool m_Actif
float m_Zoom
float m_ClipFar
float m_ClipNear
float m_ZoomDefault
float m_ZoomMax
float m_ZoomMin
ExCVec3D fwd
ExCVec3D side
ExCVec3D m_Up
ExCVec3D m_Velocity
ExCVec3D m_Gravity
ExCVec3D m_Acceleration
double m_RefreshTime
double m_Life
double m_StartingLife
float m_Size
float m_Mass
bool m_ShowInfo
bool m_CurrentObject
ExNihilo::ExId m_ObjectId
std::string m_ObjectName
std::string m_ObjectFileName
std::string m_ObjectType

Documentation des contructeurs et destructeurs

ExCCameraChase::ExCCameraChase  ) 
 

Définition à la ligne 27 du fichier ExCCameraChase.cpp.

Références ExCCameraChase(), Guard, m_AngleAroundTarget, m_CameraHeight, m_DistanceFromTarget, ExCObject::SetName(), ExCObject::SetType(), et UnGuard.

Référencé par ExCCameraChase(), et ~ExCCameraChase().

00028 {
00029 Guard(ExCCameraChase::ExCCameraChase())
00030         SetName("ExCCameraChase");
00031         SetType(typeid(this).name());
00032         m_DistanceFromTarget=80.0f;
00033         m_AngleAroundTarget=180;
00034         m_CameraHeight=0.0f;
00035 UnGuard
00036 }

ExCCameraChase::~ExCCameraChase  ) 
 

Définition à la ligne 38 du fichier ExCCameraChase.cpp.

Références ExCCameraChase(), Guard, et UnGuard.

00039 {
00040 Guard(ExCCameraChase::~ExCCameraChase())
00041 UnGuard
00042 }


Documentation des méthodes

void ExCCameraChase::Draw void   )  [virtual]
 

Redéfinie à partir de ExCCamera.

Définition à la ligne 44 du fichier ExCCameraChase.cpp.

Références DegreesToRadians(), ExCCamera::Draw(), Draw(), ExCCamera::fwd, ExCObject3D::GetAngleX(), ExCObject3D::GetAngleY(), ExCObject3D::GetAngleZ(), ExManagerModel::GetCurrentObject(), ExCObject3D::GetPosition(), ExCVec3D::GetX(), ExCVec3D::GetY(), ExCVec3D::GetZ(), Guard, ExCVec3D::IncY(), ExCObject3D::m_Angle, m_AngleAroundTarget, m_CameraHeight, m_DistanceFromTarget, ExCObject3D::m_Position, ExCObject3D::m_Target, ExCObject3D::m_Up, ManagerModel, Process(), ExCVec3D::SetX(), ExCVec3D::SetY(), ExCVec3D::SetZ(), et UnGuard.

Référencé par Draw().

00045 {
00046 Guard(void ExCCameraChase::Draw(void))
00047         ExCVec3D fwd;
00048         float TargetAngleY,TargetAngleZ;        
00049         //Test if there is one object
00050         if(ManagerModel->GetCurrentObject()>0)
00051         {
00052                 m_Target=fwd+ManagerModel->GetCurrentObject()->GetPosition();
00053                 m_Target.IncY(25);
00054                 TargetAngleY=ManagerModel->GetCurrentObject()->GetAngleY();
00055                 TargetAngleZ=ManagerModel->GetCurrentObject()->GetAngleZ();
00056         }else //Transform the cam into free cam
00057         {
00058                 ExCCamera::Draw();
00059                 return;
00060         }
00061         Process();
00062         
00063         if(m_Angle.GetX()<0)m_Angle.SetX(359);
00064         if(m_Angle.GetX()>359)m_Angle.SetX(0);
00065         if(m_Angle.GetY()<0)m_Angle.SetY(359);
00066         if(m_Angle.GetY()>359)m_Angle.SetY(0);
00067         if(m_Angle.GetZ()<0)m_Angle.SetZ(359);
00068         if(m_Angle.GetZ()>359)m_Angle.SetZ(0);
00069 
00070         float cosY,cosP,cosR;
00071         float sinY,sinP,sinR;
00072 
00073         cosY=cosf(DegreesToRadians(GetAngleY()));
00074         cosP=cosf(DegreesToRadians(GetAngleX()));
00075         cosR=cosf(DegreesToRadians(GetAngleZ()));
00076 
00077         sinY=sinf(DegreesToRadians(GetAngleY()));
00078         sinP=sinf(DegreesToRadians(GetAngleX()));
00079         sinR=sinf(DegreesToRadians(GetAngleZ()));       
00080 
00081         fwd.SetX(sinY*cosP);
00082         fwd.SetY(sinP);
00083         fwd.SetZ(cosP*-cosY);
00084 
00085         m_Position.SetX(cosf(DegreesToRadians(TargetAngleY+m_AngleAroundTarget))*m_DistanceFromTarget);
00086         m_Position.SetY(m_CameraHeight);
00087         m_Position.SetZ(sinf(DegreesToRadians(TargetAngleY+m_AngleAroundTarget))*m_DistanceFromTarget);
00088 
00089         m_Position=m_Position+m_Target;
00090 
00091         m_Up.SetX((-cosY*sinR)-(sinY*sinP*cosR));
00092         m_Up.SetY(cosP*cosR);
00093         m_Up.SetZ((-sinY*sinR)-(sinP*cosR*-cosY));
00094 
00095         gluLookAt(m_Position.GetX(),m_Position.GetY(),m_Position.GetZ()
00096                         ,m_Target.GetX(),m_Target.GetY(),m_Target.GetZ()
00097                         ,m_Up.GetX(),m_Up.GetY(),m_Up.GetZ());
00098 
00099 UnGuard
00100 }

void ExCCamera::DrawCameraGizmo void   )  [inherited]
 

Définition à la ligne 51 du fichier ExCCamera.cpp.

Références ExCVec3D::GetX(), ExCVec3D::GetY(), ExCVec3D::GetZ(), ExCObject3D::m_Position, ExCObject3D::m_Target, et ExCVec3D::m_Vector.

00052 {
00053         glColor4f(0.2,0.2,1,1);
00054 
00055         glPushMatrix();
00056         glTranslatef(m_Position.GetX(),m_Position.GetY(),m_Position.GetZ());
00057         glutWireSphere(0.5,4,4);
00058 
00059         glColor3f(0.5,0,0.5);
00060 
00061         glBegin(GL_LINES);
00062                 glVertex3fv(m_Position.m_Vector);
00063                 glVertex3fv(m_Target.m_Vector);
00064         glEnd();
00065 
00066         glPopMatrix();
00067 }

void ExCCamera::DrawCameraInfo void   )  [inherited]
 

Définition à la ligne 120 du fichier ExCCamera.cpp.

Références ExCCamera::DrawCameraInfo(), ExCCamera::fwd, ExCVec3D::GetX(), ExCVec3D::GetY(), ExCVec3D::GetZ(), Guard, ExCObject3D::m_Angle, ExCObject3D::m_Position, ExCObject3D::m_Target, UnGuard, et ExNihilo::WriteToScreen().

Référencé par ExCCamera::DrawCameraInfo().

00121 {
00122 Guard(void ExCCamera::DrawCameraInfo(void))
00123         glColor3f(1,1,1);
00124         char buff[255];
00125         memset(buff,0,255);
00126         //sprintf(buff,"Camera Name:%s",m_ObjectName);
00127         ExNihilo::WriteToScreen(30,520,buff);
00128         memset(buff,0,255);
00129         sprintf(buff,"Camera position X:%f Y:%f Z:%f",m_Position.GetX(),m_Position.GetY(),m_Position.GetZ());
00130         ExNihilo::WriteToScreen(30,540,buff);
00131         memset(buff,0,255);
00132         sprintf(buff,"Camera fwd X:%f Y:%f Z:%f",fwd.GetX(),fwd.GetY(),fwd.GetZ());
00133         ExNihilo::WriteToScreen(30,560,buff);
00134         memset(buff,0,255);
00135         sprintf(buff,"Camera target X:%f Y:%f Z:%f",m_Target.GetX(),m_Target.GetY(),m_Target.GetZ());
00136         ExNihilo::WriteToScreen(30,580,buff);
00137         memset(buff,0,255);
00138         sprintf(buff,"Camera angle X:%f Y:%f Z:%f",m_Angle.GetX(),m_Angle.GetY(),m_Angle.GetZ());
00139         ExNihilo::WriteToScreen(30,600,buff);
00140 
00141 UnGuard
00142 }

ExCVec3D ExCObject3D::GetAcceleration void   )  [inline, inherited]
 

Définition à la ligne 116 du fichier ExCObject3D.h.

Références ExCObject3D::m_Acceleration.

00116 {return m_Acceleration;}

float ExCCameraChase::GetAngleAroundTarget void   )  [inline]
 

Définition à la ligne 90 du fichier ExCCameraChase.h.

Références m_AngleAroundTarget.

00090 {return m_AngleAroundTarget;}

float ExCObject3D::GetAngleX void   )  [inline, inherited]
 

Définition à la ligne 110 du fichier ExCObject3D.h.

Références ExCVec3D::GetX(), et ExCObject3D::m_Angle.

Référencé par ExCCameraFirst::Draw(), Draw(), et ExCCamera::Draw().

00110 {return m_Angle.GetX();}

float ExCObject3D::GetAngleY void   )  [inline, inherited]
 

Définition à la ligne 111 du fichier ExCObject3D.h.

Références ExCVec3D::GetY(), et ExCObject3D::m_Angle.

Référencé par ExCCameraFirst::Draw(), Draw(), et ExCCamera::Draw().

00111 {return m_Angle.GetY();}

float ExCObject3D::GetAngleZ void   )  [inline, inherited]
 

Définition à la ligne 112 du fichier ExCObject3D.h.

Références ExCVec3D::GetZ(), et ExCObject3D::m_Angle.

Référencé par ExCCameraFirst::Draw(), Draw(), et ExCCamera::Draw().

00112 {return m_Angle.GetZ();}

float ExCCameraChase::GetCameraHeight void   )  [inline]
 

Définition à la ligne 92 du fichier ExCCameraChase.h.

Références m_CameraHeight.

00092 {return m_CameraHeight;}        

float ExCCamera::GetClipFar void   )  [inline, inherited]
 

Définition à la ligne 111 du fichier ExCCamera.h.

Références ExCCamera::m_ClipFar.

Référencé par ExManagerOutput::Reshape().

00111 {return m_ClipFar;}

float ExCCamera::GetClipNear void   )  [inline, inherited]
 

Définition à la ligne 112 du fichier ExCCamera.h.

Références ExCCamera::m_ClipNear.

Référencé par ExManagerOutput::Reshape().

00112 {return m_ClipNear;}

float ExCCameraChase::GetDistanceFromTarget void   )  [inline]
 

Définition à la ligne 89 du fichier ExCCameraChase.h.

Références m_DistanceFromTarget.

00089 {return m_DistanceFromTarget;}

std::string ExCObject::GetFileName void   )  [inline, inherited]
 

Définition à la ligne 94 du fichier ExCObject.h.

Références ExCObject::m_ObjectFileName.

Référencé par ExManagerMap::InputAction().

00094 {return m_ObjectFileName;}

ExCVec3D ExCObject3D::GetGravity void   )  [inline, inherited]
 

Définition à la ligne 124 du fichier ExCObject3D.h.

Références ExCObject3D::m_Gravity.

00124 {return m_Gravity;}

ExNihilo::ExId ExCObject::GetId void   )  [inline, inherited]
 

Définition à la ligne 92 du fichier ExCObject.h.

Références ExNihilo::ExId, et ExCObject::m_ObjectId.

Référencé par ExCSystemeParticule::CreateNewParticle(), ExManagerModel::Load(), ExManagerMesh::Load(), ExManagerId::RecordObject(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

00092 {return m_ObjectId;}

std::string ExCObject::GetName void   )  [inline, inherited]
 

Définition à la ligne 93 du fichier ExCObject.h.

Références ExCObject::m_ObjectName.

Référencé par ExManagerTexture::Add(), ExManagerInterface::Load(), ExManagerEntity::LoadGroupe(), ExManagerId::RecordObject(), ExManagerCollision::ResolveCollision(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

00093 {return m_ObjectName;}

ExCVec3D ExCObject3D::GetOldPosition void   )  [inline, inherited]
 

Définition à la ligne 136 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldPosition.

00136 {return m_OldPosition;}

ExCVec3D ExCObject3D::GetOldTarget void   )  [inline, inherited]
 

Définition à la ligne 140 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldTarget.

00140 {return m_OldTarget;}

ExCVec3D ExCObject3D::GetPosition void   )  [inline, inherited]
 

Définition à la ligne 128 du fichier ExCObject3D.h.

Références ExCObject3D::m_Position.

Référencé par ExCCameraFirst::Draw(), Draw(), ExManagerEntity::LoadGroupe(), ExManagerEntity::Reload(), et ExManagerCollision::ResolveCollision().

00128 {return m_Position;}

bool ExCObject3D::GetShowInfoState void   )  [inline, inherited]
 

Définition à la ligne 105 du fichier ExCObject3D.h.

Références ExCObject3D::m_ShowInfo.

00105 {return m_ShowInfo;}

ExCVec3D ExCObject3D::GetTarget void   )  [inline, inherited]
 

Définition à la ligne 132 du fichier ExCObject3D.h.

Références ExCObject3D::m_Target.

Référencé par ExCCameraFirst::Draw(), et ExManagerCollision::ResolveCollision().

00132 {return m_Target;}

std::string ExCObject::GetType void   )  [inline, inherited]
 

Définition à la ligne 95 du fichier ExCObject.h.

Références ExCObject::m_ObjectType.

Référencé par ExManagerId::RecordObject(), et ExManagerCollision::ResolveCollision().

00095 {return m_ObjectType;}

ExCVec3D ExCObject3D::GetVelocity void   )  [inline, inherited]
 

Définition à la ligne 120 du fichier ExCObject3D.h.

Références ExCObject3D::m_Velocity.

Référencé par ExManagerCollision::ResolveCollision().

00120 {return m_Velocity;}

bool ExCObject3D::GetVisibleState void   )  [inline, inherited]
 

Définition à la ligne 146 du fichier ExCObject3D.h.

Références ExCObject3D::m_Visible.

Référencé par ExCModel3DS::InputAction().

00146 {return m_Visible;}

float ExCCamera::GetZoom void   )  [inline, inherited]
 

Définition à la ligne 106 du fichier ExCCamera.h.

Références ExCCamera::m_Zoom.

Référencé par ExManagerOutput::Reshape().

00106 {return m_Zoom;}

float ExCCamera::GetZoomDefault void   )  [inline, inherited]
 

Définition à la ligne 107 du fichier ExCCamera.h.

Références ExCCamera::m_ZoomDefault.

00107 {return m_ZoomDefault;}

float ExCCamera::GetZoomMax void   )  [inline, inherited]
 

Définition à la ligne 104 du fichier ExCCamera.h.

Références ExCCamera::m_ZoomMax.

00104 {return m_ZoomMax;}

float ExCCamera::GetZoomMin void   )  [inline, inherited]
 

Définition à la ligne 105 du fichier ExCCamera.h.

Références ExCCamera::m_ZoomMin.

00105 {return m_ZoomMin;}

bool ExCObject::LoadFile std::string  FileName  )  [virtual, inherited]
 

Redéfinie dans ExCAnimation, ExCEntity, ExCGroupEntity, ExCTexture, ExCInterface, ExCWindowTitleBar, ExCWindow, ExCWindowTitleBar, et ExCGizmoLineBezier.

Définition à la ligne 53 du fichier ExCObject.cpp.

Références Guard, ExCObject::LoadFile(), et UnGuard.

Référencé par ExCModelASC::ExCModelASC(), ExCObject::ExCObject(), ExCWindow::LoadFile(), et ExCObject::LoadFile().

00054 {
00055 Guard(bool ExCObject::LoadFile(std::string FileName))
00056         return true;
00057 UnGuard
00058 }  

void ExCCameraChase::Process void   ) 
 

Redéfinie à partir de ExCCamera.

Définition à la ligne 102 du fichier ExCCameraChase.cpp.

Références ANGLE_AROUND_TARGET_DOWN, ANGLE_AROUND_TARGET_UP, DISTANCE_FROM_TARGET_DOWN, DISTANCE_FROM_TARGET_UP, Guard, HEIGHT_FROM_TARGET_DOWN, HEIGHT_FROM_TARGET_UP, m_AngleAroundTarget, m_CameraHeight, m_DistanceFromTarget, ExCCamera::m_VecAction, ExCCamera::Process(), Process(), et UnGuard.

Référencé par Draw(), et Process().

00103 {
00104 Guard(void ExCCameraChase::Process(void))
00105         for(unsigned i=0;i<m_VecAction.size();i++)
00106         {
00107                 switch(m_VecAction.at(i)) 
00108                 {
00109                 case ANGLE_AROUND_TARGET_UP:
00110                         m_AngleAroundTarget=m_AngleAroundTarget+0.5;
00111                         break;
00112                 case ANGLE_AROUND_TARGET_DOWN:
00113                         m_AngleAroundTarget=m_AngleAroundTarget-0.5;
00114                         break;
00115                 case DISTANCE_FROM_TARGET_UP:m_DistanceFromTarget++;break;
00116                 case DISTANCE_FROM_TARGET_DOWN:m_DistanceFromTarget--;break;
00117                 case HEIGHT_FROM_TARGET_UP:m_CameraHeight++;break;
00118                 case HEIGHT_FROM_TARGET_DOWN:m_CameraHeight--;break;
00119                 default:ExCCamera::Process();
00120                 }
00121         }
00122 UnGuard
00123 }

void ExCCamera::ResetZoom void   )  [inherited]
 

Définition à la ligne 144 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_Zoom, ExCCamera::m_ZoomDefault, ExCCamera::ResetZoom(), et UnGuard.

Référencé par ExCCamera::ResetZoom().

00145 {
00146 Guard(void ExCCamera::ResetZoom(void))
00147         m_Zoom=m_ZoomDefault;
00148 UnGuard
00149 }

void ExCObject3D::Rotate void   )  [inherited]
 

Définition à la ligne 134 du fichier ExCObject3D.cpp.

Références GetQuaternionFromEuler(), ExCVec3D::GetX(), ExCVec3D::GetY(), ExCVec3D::GetZ(), ExCObject3D::m_Angle, ExCVec3D::SetX(), ExCVec3D::SetY(), et ExCVec3D::SetZ().

Référencé par ExCObject3D::Rotate().

00135 {
00136         if(m_Angle.GetX()<0)m_Angle.SetX(359);
00137         if(m_Angle.GetX()>359)m_Angle.SetX(0);
00138         if(m_Angle.GetY()<0)m_Angle.SetY(359);
00139         if(m_Angle.GetY()>359)m_Angle.SetY(0);
00140         if(m_Angle.GetZ()<0)m_Angle.SetZ(359);
00141         if(m_Angle.GetZ()>359)m_Angle.SetZ(0);
00142         
00143         ExQuaternion quat;
00144         ExCMatrix4x4 Matr;
00145         ExCVec3D VecX,VecY,VecZ,VecDir;
00146         
00147         quat=GetQuaternionFromEuler(m_Angle.GetX(),m_Angle.GetY(),m_Angle.GetZ());
00148         //Matr=GetMatrixFromQuaternion(quat);
00149         //Matr=GetMatrixFromEuler(m_AngleX,m_AngleY,m_AngleZ);
00150         
00151         /*VecX.m_Vector[0]=(float)Matr.m_Matrix[0];
00152         VecX.m_Vector[1]=(float)Matr.m_Matrix[1];
00153         VecX.m_Vector[2]=(float)Matr.m_Matrix[2];
00154         VecY.m_Vector[0]=(float)Matr.m_Matrix[4];
00155         VecY.m_Vector[1]=(float)Matr.m_Matrix[5];
00156         VecY.m_Vector[2]=(float)Matr.m_Matrix[6];
00157         VecZ.m_Vector[0]=(float)Matr.m_Matrix[8];
00158         VecZ.m_Vector[1]=(float)Matr.m_Matrix[9];
00159         VecZ.m_Vector[2]=(float)Matr.m_Matrix[10];
00160 
00161         VecDir.m_Vector[0]=VecX.GetVectorLenght();
00162         VecDir.m_Vector[1]=VecY.GetVectorLenght();
00163         VecDir.m_Vector[2]=VecZ.GetVectorLenght();
00164         VecDir=VecX+VecY+VecZ;
00165         std::cout<<"Angle X:"<<m_AngleX<<" Y:"<<m_AngleY<<" Z:"<<m_AngleZ<<std::endl;
00166         std::cout<<"Quater :"<<quat<<std::endl;
00167         std::cout<<"Matrice:"<<Matr<<std::endl;
00168         std::cout<<"vec   X:"<<VecX<<std::endl;
00169         std::cout<<"vec   Y:"<<VecY<<std::endl;
00170         std::cout<<"vec   Z:"<<VecZ<<std::endl;
00171         std::cout<<"vec dir:"<<VecDir<<std::endl;
00172         std::cout<<"vel bef:"<<m_Velocity<<std::endl;
00173         //std::cout<<"vec aft:"<<m_Velocity<<std::endl;
00174         
00175 
00176         m_Target.SetX((Cos[(int)m_AngleY]));
00177         m_Target.SetZ((Sin[(int)m_AngleY]));
00178         m_Target.SetY((Sin[(int)m_AngleX]));
00179         std::cout<<"vec target:"<<m_Target<<std::endl;*/
00180         //VecDir=GetAxisFromQuaternion(quat);
00181         //m_Velocity=m_Velocity*VecDir;
00182         //std::cout<<"vec dir:"<<VecDir<<std::endl;
00183         //std::cout<<"vec vel:"<<m_Velocity<<std::endl;
00184         
00185 }

void ExCObject3D::Rotate float  angleX,
float  angleY,
float  angleZ
[inherited]
 

Définition à la ligne 126 du fichier ExCObject3D.cpp.

Références ExCObject3D::Rotate(), ExCObject3D::SetAngleX(), ExCObject3D::SetAngleY(), et ExCObject3D::SetAngleZ().

00127 {
00128         SetAngleX(angleX);
00129         SetAngleY(angleY);
00130         SetAngleZ(angleZ);
00131         Rotate();       
00132 }

void ExCObject3D::SetAcceleration float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 115 du fichier ExCObject3D.h.

Références ExCObject3D::m_Acceleration.

00115 {m_Acceleration=ExCVec3D(x,y,z);}

void ExCObject3D::SetAcceleration ExCVec3D  Acceleration  )  [inline, inherited]
 

Définition à la ligne 114 du fichier ExCObject3D.h.

Références ExCObject3D::m_Acceleration.

00114 {m_Acceleration=Acceleration;}

void ExCCameraChase::SetAngleAroundTarget float  Angle  )  [inline]
 

Définition à la ligne 88 du fichier ExCCameraChase.h.

Références m_AngleAroundTarget.

00088 {m_AngleAroundTarget=Angle;}

void ExCObject3D::SetAngleX float  Angle  )  [inherited]
 

Définition à la ligne 106 du fichier ExCObject3D.cpp.

Références ExCVec3D::GetX(), ExCObject3D::m_Angle, et ExCVec3D::SetX().

Référencé par ExCObject3D::Rotate().

00107 {
00108         if(m_Angle.GetX()<0)m_Angle.SetX(359);
00109         if(m_Angle.GetX()>359)m_Angle.SetX(0);
00110 }

void ExCObject3D::SetAngleY float  Angle  )  [inherited]
 

Définition à la ligne 112 du fichier ExCObject3D.cpp.

Références ExCVec3D::GetY(), ExCObject3D::m_Angle, et ExCVec3D::SetY().

Référencé par ExCObject3D::Rotate().

00113 {
00114         if(m_Angle.GetY()<0)m_Angle.SetY(359);
00115         if(m_Angle.GetY()>359)m_Angle.SetY(0);
00116 }

void ExCObject3D::SetAngleZ float  Angle  )  [inherited]
 

Définition à la ligne 118 du fichier ExCObject3D.cpp.

Références ExCObject3D::m_Angle, et ExCVec3D::SetZ().

Référencé par ExCObject3D::Rotate().

00119 {
00120         /*if(m_AngleZ<0)m_AngleZ=359;
00121         if(m_AngleZ>359)m_AngleZ=0;*/
00122         m_Angle.SetZ(Angle);
00123 }

void ExCCameraChase::SetCameraHeight float  Height  )  [inline]
 

Définition à la ligne 91 du fichier ExCCameraChase.h.

Références m_CameraHeight.

00091 {m_CameraHeight=Height;}

void ExCCamera::SetClipFar float  clip  )  [inherited]
 

Définition à la ligne 209 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_ClipFar, ExCCamera::m_ClipNear, ExCCamera::SetClipFar(), et UnGuard.

Référencé par ExCCamera::SetClipFar().

00210 {
00211         Guard(void ExCCamera::SetClipFar(float clip))
00212         m_ClipFar=clip;
00213         if(m_ClipFar<m_ClipNear)m_ClipFar=m_ClipNear+1;
00214 UnGuard
00215 }

void ExCCamera::SetClipNear float  clip  )  [inherited]
 

Définition à la ligne 217 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_ClipFar, ExCCamera::m_ClipNear, ExCCamera::SetClipNear(), et UnGuard.

Référencé par ExCCamera::SetClipNear().

00218 {
00219         Guard(void ExCCamera::SetClipNear(float clip))
00220         m_ClipNear=clip;
00221         if(m_ClipNear>m_ClipFar)m_ClipNear=m_ClipFar-1;
00222 UnGuard
00223 }

void ExCObject3D::SetCurrentState bool  state  )  [inline, inherited]
 

Définition à la ligne 101 du fichier ExCObject3D.h.

Références ExCObject3D::m_CurrentObject.

00101 {m_CurrentObject=state;}

void ExCCameraChase::SetDistanceFromTarget float  Distance  )  [inline]
 

Définition à la ligne 87 du fichier ExCCameraChase.h.

Références m_DistanceFromTarget.

00087 {m_DistanceFromTarget=Distance;}

void ExCObject::SetFileName std::string  FileName  )  [inline, inherited]
 

Définition à la ligne 98 du fichier ExCObject.h.

Références ExCObject::m_ObjectFileName.

Référencé par ExManagerModel::Load(), ExManagerMap::Load(), ExManagerEntity::Load(), ExCGizmoLineBezier::LoadFile(), ExCAnimation::LoadFile(), et ExManagerEntity::LoadGroupe().

00098 {m_ObjectFileName = FileName;}

void ExCObject::SetFlux std::ostrstream *  consol,
ExCFluxAction action
[inherited]
 

Définition à la ligne 66 du fichier ExCObject.cpp.

Références ExCObject::Consol, et ExCObject::FluxAction.

Référencé par ExManagerId::RecordObject().

00067 {
00068         Consol=consol;
00069         FluxAction=action;
00070 }

void ExCObject3D::SetGravity float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 123 du fichier ExCObject3D.h.

Références ExCObject3D::m_Gravity.

00123 {m_Gravity=ExCVec3D(x,y,z);}

void ExCObject3D::SetGravity ExCVec3D  Gravity  )  [inline, inherited]
 

Définition à la ligne 122 du fichier ExCObject3D.h.

Références ExCObject3D::m_Gravity.

00122 {m_Gravity=Gravity;}

void ExCObject::SetId ExNihilo::ExId  Id  )  [inline, inherited]
 

Définition à la ligne 96 du fichier ExCObject.h.

Références ExNihilo::ExId, et ExCObject::m_ObjectId.

Référencé par ExCSystemeParticule::CreateNewParticle(), ExCObject::ExCObject(), ExManagerId::RecordObject(), et ExCObject::SetIdName().

00096 {m_ObjectId=Id;}

void ExCObject::SetIdName ExNihilo::IdName  idname  )  [inherited]
 

Définition à la ligne 47 du fichier ExCObject.cpp.

Références ExNihilo::IdName, ExCObject::SetId(), et ExCObject::SetName().

00048 {
00049         SetName(idname.second);
00050         SetId(idname.first);
00051 }

void ExCCameraChase::SetManagerModel ExManagerModel Model  )  [inline]
 

Définition à la ligne 86 du fichier ExCCameraChase.h.

Références ManagerModel.

00086 {ManagerModel = Model;}

void ExCObject::SetName std::string  Name  )  [inline, inherited]
 

Redéfinie dans ExCTexture.

Définition à la ligne 97 du fichier ExCObject.h.

Références ExCObject::m_ObjectName.

Référencé par ExManagerCamera::AddCamera(), ExCAnimation::ExCAnimation(), ExCCamera::ExCCamera(), ExCCameraChase(), ExCCameraFirst::ExCCameraFirst(), ExCCameraFlight::ExCCameraFlight(), ExCCameraFree::ExCCameraFree(), ExCEntity::ExCEntity(), ExCFont::ExCFont(), ExCGizmo::ExCGizmo(), ExCGizmoElipsoide::ExCGizmoElipsoide(), ExCGizmoFace::ExCGizmoFace(), ExCGizmoLine::ExCGizmoLine(), ExCGizmoLineBezier::ExCGizmoLineBezier(), ExCGizmoPoint::ExCGizmoPoint(), ExCGizmoRectangle::ExCGizmoRectangle(), ExCGizmoSphere::ExCGizmoSphere(), ExCGroupEntity::ExCGroupEntity(), ExCInterface::ExCInterface(), ExCLight::ExCLight(), ExCLoadingAnimation::ExCLoadingAnimation(), ExCMesh::ExCMesh(), ExCMesh3ds::ExCMesh3ds(), ExCMeshBilboarded::ExCMeshBilboarded(), ExCMeshFireEffect::ExCMeshFireEffect(), ExCMeshLOD3ds::ExCMeshLOD3ds(), ExCMeshSauronEffect::ExCMeshSauronEffect(), ExCMeshSmogEffect::ExCMeshSmogEffect(), ExCMeshSummonCylenderEffect::ExCMeshSummonCylenderEffect(), ExCMeshWaterDisqueEffect::ExCMeshWaterDisqueEffect(), ExCMeshWaterEffect::ExCMeshWaterEffect(), ExCModel3DS::ExCModel3DS(), ExCModelASC::ExCModelASC(), ExCModelEXM::ExCModelEXM(), ExCModelMD2::ExCModelMD2(), ExCModelMD3::ExCModelMD3(), ExCModelOBJ::ExCModelOBJ(), ExCObject::ExCObject(), ExCObject2D::ExCObject2D(), ExCObject3D::ExCObject3D(), ExCParticule::ExCParticule(), ExCParticuleLine::ExCParticuleLine(), ExCParticulePoint::ExCParticulePoint(), ExCParticuleTexture::ExCParticuleTexture(), ExCSound::ExCSound(), ExCSpirit::ExCSpirit(), ExCSystemeParticule::ExCSystemeParticule(), ExCVertexProgram::ExCVertexProgram(), ExCWindowContent::ExCWindowContent(), ExCWindowControl::ExCWindowControl(), ExCWindowTitleBar::ExCWindowTitleBar(), ExManagerSpirit::Init(), ExManagerFont::Init(), ExCWindowTitleBar::Init(), ExCWindowObject::Init(), ExCWindowMessageBoxQuestion::Init(), ExCWindowMessageBox::Init(), ExCWindowLabel::Init(), ExCWindowEditLabel::Init(), ExCWindowButtonSwitchOnMouse::Init(), ExCWindowButtonSwitch::Init(), ExCWindowButton::Init(), ExCWindow::Init(), ExManagerModel::Load(), ExManagerMesh::Load(), ExCSystemeParticule::Load(), ExCModelASC::Load(), ExManagerLoad::LoadAnimationFile(), ExCGroupEntity::LoadFile(), ExCAnimation::LoadFile(), ExManagerEntity::LoadGroupe(), ExManagerSound::LoadSound(), ExManagerId::RecordObject(), et ExCObject::SetIdName().

00097 {m_ObjectName = Name;}

void ExCObject3D::SetOldPosition float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 135 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldPosition.

00135 {m_OldPosition=ExCVec3D(x,y,z);}

void ExCObject3D::SetOldPosition ExCVec3D  OldPosition  )  [inline, inherited]
 

Définition à la ligne 134 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldPosition.

00134 {m_OldPosition=OldPosition;}

void ExCObject3D::SetOldTarget float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 139 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldTarget.

00139 {m_OldTarget=ExCVec3D(x,y,z);}

void ExCObject3D::SetOldTarget ExCVec3D  OldTarget  )  [inline, inherited]
 

Définition à la ligne 138 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldTarget.

00138 {m_OldTarget=OldTarget;}

void ExCObject3D::SetPosition float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 127 du fichier ExCObject3D.h.

Références ExCObject3D::m_Position.

00127 {m_Position=ExCVec3D(x,y,z);}

void ExCObject3D::SetPosition ExCVec3D  Position  )  [inline, inherited]
 

Définition à la ligne 126 du fichier ExCObject3D.h.

Références ExCObject3D::m_Position.

Référencé par ExCModelMD2::Draw(), et ExManagerEntity::LoadGroupe().

00126 {m_Position=Position;}

void ExCObject3D::SetShowInfoState bool  state  )  [inline, inherited]
 

Définition à la ligne 104 du fichier ExCObject3D.h.

Références ExCObject3D::m_ShowInfo.

Référencé par ExManagerCamera::InputAction().

00104 {m_ShowInfo=state;}

void ExCObject3D::SetTarget float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 131 du fichier ExCObject3D.h.

Références ExCObject3D::m_Target.

00131 {m_Target=ExCVec3D(x,y,z);}

void ExCObject3D::SetTarget ExCVec3D  Target  )  [inline, inherited]
 

Définition à la ligne 130 du fichier ExCObject3D.h.

Références ExCObject3D::m_Target.

Référencé par ExManagerCollision::ResolveCollision().

00130 {m_Target=Target;}

void ExCObject::SetType std::string  Type  )  [inline, inherited]
 

Définition à la ligne 99 du fichier ExCObject.h.

Références ExCObject::m_ObjectType.

Référencé par ExCAnimation::ExCAnimation(), ExCCamera::ExCCamera(), ExCCameraChase(), ExCCameraFirst::ExCCameraFirst(), ExCCameraFlight::ExCCameraFlight(), ExCCameraFree::ExCCameraFree(), ExCEntity::ExCEntity(), ExCFont::ExCFont(), ExCGizmo::ExCGizmo(), ExCGizmoElipsoide::ExCGizmoElipsoide(), ExCGizmoFace::ExCGizmoFace(), ExCGizmoLine::ExCGizmoLine(), ExCGizmoLineBezier::ExCGizmoLineBezier(), ExCGizmoPoint::ExCGizmoPoint(), ExCGizmoRectangle::ExCGizmoRectangle(), ExCGizmoSphere::ExCGizmoSphere(), ExCGroupEntity::ExCGroupEntity(), ExCInterface::ExCInterface(), ExCLight::ExCLight(), ExCLoadingAnimation::ExCLoadingAnimation(), ExCMesh::ExCMesh(), ExCMesh3ds::ExCMesh3ds(), ExCMeshBilboarded::ExCMeshBilboarded(), ExCMeshFireEffect::ExCMeshFireEffect(), ExCMeshLOD3ds::ExCMeshLOD3ds(), ExCMeshSauronEffect::ExCMeshSauronEffect(), ExCMeshSmogEffect::ExCMeshSmogEffect(), ExCMeshSummonCylenderEffect::ExCMeshSummonCylenderEffect(), ExCMeshWaterDisqueEffect::ExCMeshWaterDisqueEffect(), ExCMeshWaterEffect::ExCMeshWaterEffect(), ExCModel3DS::ExCModel3DS(), ExCModelASC::ExCModelASC(), ExCModelEXM::ExCModelEXM(), ExCModelMD2::ExCModelMD2(), ExCModelMD3::ExCModelMD3(), ExCModelOBJ::ExCModelOBJ(), ExCObject::ExCObject(), ExCObject2D::ExCObject2D(), ExCObject3D::ExCObject3D(), ExCParticule::ExCParticule(), ExCParticuleLine::ExCParticuleLine(), ExCParticulePoint::ExCParticulePoint(), ExCParticuleTexture::ExCParticuleTexture(), ExCSound::ExCSound(), ExCSpirit::ExCSpirit(), ExCSystemeParticule::ExCSystemeParticule(), ExCTexture::ExCTexture(), ExCVertexProgram::ExCVertexProgram(), ExCWindowContent::ExCWindowContent(), ExCWindowControl::ExCWindowControl(), ExCWindowTitleBar::ExCWindowTitleBar(), ExCWindowObject::Init(), ExCWindowMessageBoxQuestion::Init(), ExCWindowMessageBox::Init(), ExCWindowLabel::Init(), ExCWindowEditLabel::Init(), ExCWindowButtonSwitchOnMouse::Init(), ExCWindowButtonSwitch::Init(), ExCWindowButton::Init(), ExCWindow::Init(), et ExManagerId::RecordObject().

00099 {m_ObjectType = Type;}

void ExCObject3D::SetVelocity float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 119 du fichier ExCObject3D.h.

Références ExCObject3D::m_Velocity.

00119 {m_Velocity=ExCVec3D(x,y,z);}

void ExCObject3D::SetVelocity ExCVec3D  Velocity  )  [inline, inherited]
 

Définition à la ligne 118 du fichier ExCObject3D.h.

Références ExCObject3D::m_Velocity.

Référencé par ExManagerCollision::ResolveCollision().

00118 {m_Velocity=Velocity;}

void ExCObject3D::SetVisibleState bool  state  )  [inline, inherited]
 

Définition à la ligne 145 du fichier ExCObject3D.h.

Références ExCObject3D::m_Visible.

Référencé par ExCModel3DS::ExCModel3DS(), ExCModelMD2::ExCModelMD2(), ExManagerEntity::InputAction(), et ExCModel3DS::InputAction().

00145 {m_Visible=state;}

void ExCCamera::SetZoom float  zoom  )  [inherited]
 

Définition à la ligne 191 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::SetZoom(), et UnGuard.

Référencé par ExCCamera::SetZoom().

00192 {
00193 Guard(void ExCCamera::SetZoom(float zoom))
00194 UnGuard
00195 }

void ExCCamera::SetZoomDefault float  zoom  )  [inherited]
 

Définition à la ligne 151 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_ZoomDefault, ExCCamera::m_ZoomMin, et UnGuard.

00152 {
00153 Guard(void ExCCamera:: SetZoomDefault(float zoom))
00154         if(zoom<m_ZoomMax&&zoom>m_ZoomMin)
00155                 m_ZoomDefault=zoom;
00156 UnGuard
00157 }

void ExCCamera::SetZoomMax float  zoom  )  [inherited]
 

Définition à la ligne 197 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::SetZoomMax(), et UnGuard.

Référencé par ExCCamera::SetZoomMax().

00198 {
00199 Guard(void ExCCamera::SetZoomMax(float zoom))
00200 UnGuard
00201 }

void ExCCamera::SetZoomMin float  zoom  )  [inherited]
 

Définition à la ligne 203 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::SetZoomMin(), et UnGuard.

Référencé par ExCCamera::SetZoomMin().

00204 {
00205 Guard(void ExCCamera::SetZoomMin(float zoom))
00206 UnGuard
00207 }

void ExCObject3D::ShowInfo void   )  [inherited]
 

Redéfinie dans ExCModelMD2.

Définition à la ligne 55 du fichier ExCObject3D.cpp.

Références ExCObject::GetId(), ExCObject::GetName(), ExCVec3D::GetX(), ExCVec3D::GetY(), ExCVec3D::GetZ(), Guard, ExCObject3D::m_Acceleration, ExCObject3D::m_Gravity, ExCObject3D::m_Life, ExCObject3D::m_Position, ExCObject3D::m_Velocity, ExCObject3D::ShowInfo(), UnGuard, et ExNihilo::WriteToScreen().

Référencé par ExCObject3D::ShowInfo().

00056 {
00057 Guard(void ExCObject3D::ShowInfo(void))
00058         
00059         char *CIdName;
00060         char *CPosition;
00061         char *CVelocity;
00062         char *CAcceleration;
00063         char *CGravity;
00064         char *CLife;
00065 
00066         CIdName= new char[strlen("Name : Id:")+strlen(GetName().data())+7];
00067         sprintf(CIdName,"Name :%s Id:%ld",GetName(),GetId());
00068 
00069         CPosition= new char[strlen("Position X: Y: Z:")+30];
00070         sprintf(CPosition,"Position X:%f Y:%f Z:%f",m_Position.GetX(),m_Position.GetY(),m_Position.GetZ());
00071 
00072         CVelocity= new char[strlen("Velocity X: Y: Z:")+30];
00073         sprintf(CVelocity,"Velocity X:%f Y:%f Z:%f",m_Velocity.GetX(),m_Velocity.GetY(),m_Velocity.GetZ());
00074 
00075         CGravity= new char[strlen("Gravity X: Y: Z:")+30];
00076         sprintf(CGravity,"Gravity X:%f Y:%f Z:%f",m_Gravity.GetX(),m_Gravity.GetY(),m_Gravity.GetZ());
00077 
00078         CAcceleration= new char[strlen("Acceleration X: Y: Z:")+30];
00079         sprintf(CAcceleration,"Acceleration X:%f Y:%f Z:%f",m_Acceleration.GetX(),m_Acceleration.GetY(),m_Acceleration.GetZ());
00080 
00081         CLife= new char[strlen("Life :")+10];
00082         sprintf(CLife,"Life :%f",m_Life);
00083 
00084                 ExNihilo::WriteToScreen(500,500,CIdName);       
00085                 ExNihilo::WriteToScreen(500,515,CPosition);
00086                 ExNihilo::WriteToScreen(500,530,CVelocity);     
00087                 ExNihilo::WriteToScreen(500,545,CAcceleration); 
00088                 ExNihilo::WriteToScreen(500,560,CGravity);      
00089                 ExNihilo::WriteToScreen(500,575,CLife); 
00090                 std::cout<<CIdName<<std::endl;  
00091                 std::cout<<CPosition<<std::endl;        
00092                 std::cout<<CVelocity<<std::endl;                
00093                 std::cout<<CAcceleration<<std::endl;            
00094                 std::cout<<CGravity<<std::endl;         
00095                 std::cout<<CLife<<std::endl;            
00096 
00097         delete CIdName;
00098         delete CPosition;
00099         delete CVelocity;
00100         delete CAcceleration;
00101         delete CGravity;
00102         delete CLife;   
00103 UnGuard
00104 }  

void ExCCamera::StartAction int  Action  )  [inherited]
 

Définition à la ligne 247 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_VecAction, ExCCamera::StartAction(), et UnGuard.

Référencé par ExManagerCamera::InputAction(), et ExCCamera::StartAction().

00248 {
00249 Guard(void ExCCamera::StartAction(int Action))
00250         m_VecAction.push_back(Action);
00251 UnGuard
00252 }

void ExCCamera::StopAction int  Action  )  [inherited]
 

Définition à la ligne 254 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_ItVecAction, ExCCamera::m_VecAction, ExCCamera::StopAction(), et UnGuard.

Référencé par ExManagerCamera::InputAction(), et ExCCamera::StopAction().

00255 {
00256 Guard(void ExCCamera::StopAction(int Action))
00257         for(m_ItVecAction=m_VecAction.begin();m_ItVecAction!=m_VecAction.end();m_ItVecAction++)
00258         {
00259                 if(*m_ItVecAction==Action){m_VecAction.erase(m_ItVecAction);return;}
00260         }
00261 UnGuard
00262 }

void ExCCamera::ZoomIn float  zoom  )  [inherited]
 

Définition à la ligne 175 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_Zoom, ExCCamera::m_ZoomMin, UnGuard, et ExCCamera::ZoomIn().

00176 {
00177 Guard(void ExCCamera::ZoomIn(float zoom))
00178         m_Zoom=m_Zoom-zoom;
00179         if(m_Zoom<=m_ZoomMin)m_Zoom=m_ZoomMin+1;
00180 UnGuard
00181 }

void ExCCamera::ZoomIn void   )  [inherited]
 

Définition à la ligne 159 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_Zoom, ExCCamera::m_ZoomMin, UnGuard, et ExCCamera::ZoomIn().

Référencé par ExManagerCamera::InputAction(), ExCCameraFlight::Process(), ExCCamera::Process(), et ExCCamera::ZoomIn().

00160 {
00161 Guard(void ExCCamera::ZoomIn(void))
00162         m_Zoom--;
00163         if(m_Zoom<=m_ZoomMin)m_Zoom=m_ZoomMin+1;
00164 UnGuard
00165 }

void ExCCamera::ZoomOut float  zoom  )  [inherited]
 

Définition à la ligne 183 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_Zoom, ExCCamera::m_ZoomMax, UnGuard, et ExCCamera::ZoomOut().

00184 {
00185 Guard(void ExCCamera::ZoomOut(float zoom))
00186         m_Zoom=m_Zoom+m_ZoomMax;
00187         if(m_Zoom>=m_ZoomMax)m_Zoom=m_ZoomMax-1;
00188 UnGuard
00189 }

void ExCCamera::ZoomOut void   )  [inherited]
 

Définition à la ligne 167 du fichier ExCCamera.cpp.

Références Guard, ExCCamera::m_Zoom, ExCCamera::m_ZoomMax, UnGuard, et ExCCamera::ZoomOut().

Référencé par ExManagerCamera::InputAction(), ExCCameraFlight::Process(), ExCCamera::Process(), et ExCCamera::ZoomOut().

00168 {
00169 Guard(void ExCCamera::ZoomOut(void))
00170         m_Zoom++;
00171         if(m_Zoom>=m_ZoomMax)m_Zoom=m_ZoomMax-1;
00172 UnGuard
00173 }


Documentation des données imbriquées

std::ostrstream* ExCObject::Consol [inherited]
 

Redéfinie dans ExCInterface, et ExCSystemeParticule.

Définition à la ligne 75 du fichier ExCObject.h.

Référencé par ExCTexture::LoadFile(), et ExCObject::SetFlux().

ExCFluxAction* ExCObject::FluxAction [inherited]
 

Définition à la ligne 76 du fichier ExCObject.h.

Référencé par ExCAnimation::Draw(), et ExCObject::SetFlux().

ExCVec3D ExCCamera::fwd [protected, inherited]
 

Définition à la ligne 79 du fichier ExCCamera.h.

Référencé par ExCCameraFlight::Draw(), Draw(), ExCCamera::Draw(), et ExCCamera::DrawCameraInfo().

ExCVec3D ExCObject3D::m_Acceleration [protected, inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 71 du fichier ExCObject3D.h.

Référencé par ExCModel::Draw(), ExCObject3D::ExCObject3D(), ExCObject3D::GetAcceleration(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), ExCObject3D::SetAcceleration(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

bool ExCCamera::m_Actif [protected, inherited]
 

Définition à la ligne 72 du fichier ExCCamera.h.

ExCVec3D ExCObject3D::m_Angle [inherited]
 

Définition à la ligne 86 du fichier ExCObject3D.h.

Référencé par ExCSystemeParticule::Draw(), ExCModel::Draw(), ExCGroupEntity::Draw(), ExCEntity::Draw(), ExCCameraFlight::Draw(), ExCCameraFirst::Draw(), Draw(), ExCCamera::Draw(), ExCAnimation::Draw(), ExCCamera::DrawCameraInfo(), ExCObject3D::ExCObject3D(), ExCObject3D::GetAngleX(), ExCObject3D::GetAngleY(), ExCObject3D::GetAngleZ(), ExManagerCamera::InputAction(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), ExCGroupEntity::LoadFile(), ExCEntity::LoadFile(), ExCAnimation::LoadFile(), ExManagerEntity::LoadGroupe(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCCameraFlight::Process(), ExCCamera::Process(), ExManagerEntity::Reload(), ExCLight::Reset(), ExCObject3D::Rotate(), ExCObject3D::SetAngleX(), ExCObject3D::SetAngleY(), ExCObject3D::SetAngleZ(), et ExCModelMD2::ShowInfo().

float ExCCameraChase::m_AngleAroundTarget [protected]
 

Définition à la ligne 74 du fichier ExCCameraChase.h.

Référencé par Draw(), ExCCameraChase(), GetAngleAroundTarget(), Process(), et SetAngleAroundTarget().

float ExCCameraChase::m_CameraHeight [protected]
 

Définition à la ligne 75 du fichier ExCCameraChase.h.

Référencé par Draw(), ExCCameraChase(), GetCameraHeight(), Process(), et SetCameraHeight().

float ExCCamera::m_ClipFar [protected, inherited]
 

Définition à la ligne 74 du fichier ExCCamera.h.

Référencé par ExCCamera::ExCCamera(), ExCCamera::GetClipFar(), ExCCamera::SetClipFar(), et ExCCamera::SetClipNear().

float ExCCamera::m_ClipNear [protected, inherited]
 

Définition à la ligne 75 du fichier ExCCamera.h.

Référencé par ExCCamera::ExCCamera(), ExCCamera::GetClipNear(), ExCCamera::SetClipFar(), et ExCCamera::SetClipNear().

int ExCCamera::m_CurrentAction [inherited]
 

Définition à la ligne 114 du fichier ExCCamera.h.

bool ExCObject3D::m_CurrentObject [protected, inherited]
 

Définition à la ligne 79 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D(), et ExCObject3D::SetCurrentState().

float ExCCameraChase::m_DistanceFromTarget [protected]
 

Définition à la ligne 73 du fichier ExCCameraChase.h.

Référencé par Draw(), ExCCameraChase(), GetDistanceFromTarget(), Process(), et SetDistanceFromTarget().

ExCVec3D ExCObject3D::m_Gravity [protected, inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 69 du fichier ExCObject3D.h.

Référencé par ExCModel::Draw(), ExCObject3D::ExCObject3D(), ExCObject3D::GetGravity(), ExCObject3D::SetGravity(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

std::vector<int>::iterator ExCCamera::m_ItVecAction [inherited]
 

Définition à la ligne 116 du fichier ExCCamera.h.

Référencé par ExCCamera::StopAction().

double ExCObject3D::m_Life [protected, inherited]
 

Définition à la ligne 74 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

float ExCObject3D::m_Mass [protected, inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 77 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D().

ExNihilo::ExId ExCCameraChase::m_ModelTargetID [protected]
 

Définition à la ligne 72 du fichier ExCCameraChase.h.

std::string ExCObject::m_ObjectFileName [protected, inherited]
 

Définition à la ligne 72 du fichier ExCObject.h.

Référencé par ExCObject::GetFileName(), ExCTexture::LoadFile(), et ExCObject::SetFileName().

ExNihilo::ExId ExCObject::m_ObjectId [protected, inherited]
 

Définition à la ligne 70 du fichier ExCObject.h.

Référencé par ExCObject::GetId(), et ExCObject::SetId().

std::string ExCObject::m_ObjectName [protected, inherited]
 

Définition à la ligne 71 du fichier ExCObject.h.

Référencé par ExCObject::GetName(), ExCGroupEntity::LoadFile(), ExCEntity::LoadFile(), ExCTexture::SetName(), et ExCObject::SetName().

std::string ExCObject::m_ObjectType [protected, inherited]
 

Définition à la ligne 73 du fichier ExCObject.h.

Référencé par ExCObject::GetType(), et ExCObject::SetType().

ExCVec3D ExCObject3D::m_OldPosition [inherited]
 

Définition à la ligne 83 du fichier ExCObject3D.h.

Référencé par ExCParticule::Draw(), ExCModelMD2::Draw(), ExCObject3D::GetOldPosition(), et ExCObject3D::SetOldPosition().

ExCVec3D ExCObject3D::m_OldTarget [inherited]
 

Définition à la ligne 85 du fichier ExCObject3D.h.

Référencé par ExCObject3D::GetOldTarget(), et ExCObject3D::SetOldTarget().

ExCVec3D ExCObject3D::m_Position [inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 82 du fichier ExCObject3D.h.

Référencé par ExCSystemeParticule::CalculateEmitPosition(), ExCModelMD2::Draw(), ExCModel3DS::Draw(), ExCModel::Draw(), ExCMeshSmogEffect::Draw(), ExCMeshLOD3ds::Draw(), ExCMeshFireEffect::Draw(), ExCMeshBilboarded::Draw(), ExCLight::Draw(), ExCHeightMap::Draw(), ExCGroupEntity::Draw(), ExCEntity::Draw(), ExCCameraFlight::Draw(), ExCCameraFirst::Draw(), Draw(), ExCCamera::Draw(), ExCAnimation::Draw(), ExCCamera::DrawCameraGizmo(), ExCCamera::DrawCameraInfo(), ExCObject3D::ExCObject3D(), ExCModel::Forward(), ExCObject3D::GetPosition(), ExCLight::GetPositionX(), ExCLight::GetPositionY(), ExCLight::GetPositionZ(), ExManagerCamera::InputAction(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), ExCHeightMap::Load(), ExCGroupEntity::LoadFile(), ExCEntity::LoadFile(), ExManagerEntity::LoadGroupe(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCLight::Reset(), ExCObject3D::SetPosition(), ExCLight::SetPosition(), ExCLight::SetPositionX(), ExCLight::SetPositionY(), ExCLight::SetPositionZ(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

double ExCObject3D::m_RefreshTime [protected, inherited]
 

Définition à la ligne 72 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D().

bool ExCObject3D::m_ShowInfo [protected, inherited]
 

Définition à la ligne 78 du fichier ExCObject3D.h.

Référencé par ExCCamera::ExCCamera(), ExCObject3D::ExCObject3D(), ExCObject3D::GetShowInfoState(), et ExCObject3D::SetShowInfoState().

float ExCObject3D::m_Size [protected, inherited]
 

Redéfinie dans ExCMeshBilboarded, ExCMeshFireEffect, ExCMeshWaterEffect, ExCMeshSmogEffect, et ExCParticule.

Définition à la ligne 76 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D(), et ExCSkyBox::ExCSkyBox().

int ExCObject3D::m_speed [inherited]
 

Définition à la ligne 90 du fichier ExCObject3D.h.

Référencé par ExCModelMD2::Draw(), ExCCameraFlight::Draw(), ExCCamera::Draw(), ExCCamera::ExCCamera(), ExCModelMD2::ExCModelMD2(), et ExManagerCamera::InputAction().

float ExCObject3D::m_SphereRadius [inherited]
 

Définition à la ligne 91 du fichier ExCObject3D.h.

Référencé par ExCModelMD2::BuildSphere(), ExCModelMD2::ExCModelMD2(), et ExManagerCollision::ResolveCollision().

double ExCObject3D::m_StartingLife [protected, inherited]
 

Définition à la ligne 75 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D().

ExCVec3D ExCObject3D::m_Target [inherited]
 

Définition à la ligne 84 du fichier ExCObject3D.h.

Référencé par ExCModel::Draw(), ExCCameraFlight::Draw(), ExCCameraFirst::Draw(), Draw(), ExCCamera::Draw(), ExCCamera::DrawCameraGizmo(), ExCCamera::DrawCameraInfo(), ExCModel::Forward(), ExCObject3D::GetTarget(), ExCLight::GetTargetX(), ExCLight::GetTargetY(), ExCLight::GetTargetZ(), ExManagerCamera::InputAction(), ExCLight::Reset(), ExCObject3D::SetTarget(), ExCLight::SetTarget(), ExCLight::SetTargetX(), ExCLight::SetTargetY(), ExCLight::SetTargetZ(), et ExCModelMD2::ShowInfo().

ExCVec3D ExCObject3D::m_Up [protected, inherited]
 

Définition à la ligne 67 du fichier ExCObject3D.h.

Référencé par ExCCameraFlight::Draw(), Draw(), et ExCCamera::Draw().

std::vector<int> ExCCamera::m_VecAction [inherited]
 

Définition à la ligne 115 du fichier ExCCamera.h.

Référencé par ExCCameraFlight::Process(), ExCCameraFirst::Process(), Process(), ExCCamera::Process(), ExCCamera::StartAction(), et ExCCamera::StopAction().

ExCVec3D ExCObject3D::m_Velocity [protected, inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 68 du fichier ExCObject3D.h.

Référencé par ExCModel::Draw(), ExCModelMD2::ExCModelMD2(), ExCObject3D::ExCObject3D(), ExCObject3D::GetVelocity(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), ExCObject3D::SetVelocity(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

bool ExCObject3D::m_Visible [inherited]
 

Définition à la ligne 92 du fichier ExCObject3D.h.

Référencé par ExCModelMD2::Draw(), ExCModel3DS::Draw(), ExCMeshWaterDisqueEffect::Draw(), ExCMeshSummonCylenderEffect::Draw(), ExCMeshSmogEffect::Draw(), ExCMeshSauronEffect::Draw(), ExCMeshLOD3ds::Draw(), ExCMeshFireEffect::Draw(), ExCMeshBilboarded::Draw(), ExCMesh3ds::Draw(), ExCMesh::Draw(), ExCGroupEntity::Draw(), ExCGizmoSphere::Draw(), ExCGizmoLineBezier::Draw(), ExCEntity::Draw(), ExCEntity::ExCEntity(), ExCGroupEntity::ExCGroupEntity(), ExCObject3D::GetVisibleState(), ExCMesh3ds::Load(), ExCGroupEntity::LoadFile(), ExCEntity::LoadFile(), et ExCObject3D::SetVisibleState().

float ExCCamera::m_Zoom [protected, inherited]
 

Définition à la ligne 73 du fichier ExCCamera.h.

Référencé par ExCCamera::ExCCamera(), ExCCamera::GetZoom(), ExCCamera::ResetZoom(), ExCCamera::ZoomIn(), et ExCCamera::ZoomOut().

float ExCCamera::m_ZoomDefault [protected, inherited]
 

Définition à la ligne 76 du fichier ExCCamera.h.

Référencé par ExCCamera::ExCCamera(), ExCCamera::GetZoomDefault(), ExCCamera::ResetZoom(), et ExCCamera::SetZoomDefault().

float ExCCamera::m_ZoomMax [protected, inherited]
 

Définition à la ligne 77 du fichier ExCCamera.h.

Référencé par ExCCamera::ExCCamera(), ExCCamera::GetZoomMax(), et ExCCamera::ZoomOut().

float ExCCamera::m_ZoomMin [protected, inherited]
 

Définition à la ligne 78 du fichier ExCCamera.h.

Référencé par ExCCamera::ExCCamera(), ExCCamera::GetZoomMin(), ExCCamera::SetZoomDefault(), et ExCCamera::ZoomIn().

ExManagerModel* ExCCameraChase::ManagerModel [protected]
 

Définition à la ligne 71 du fichier ExCCameraChase.h.

Référencé par Draw(), et SetManagerModel().

ExCVec3D ExCCamera::side [protected, inherited]
 

Définition à la ligne 79 du fichier ExCCamera.h.


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Oct 28 12:43:44 2003 pour ExNihilo par doxygen 1.3.4