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 ExCParticuleLine

#include <ExCParticuleLine.h>

Graphe d'héritage de la classe ExCParticuleLine

ExCParticule ExCObject3D ExCObject

Membres publics

 ExCParticuleLine ()
 ~ExCParticuleLine ()
void SetManagerCollision (ExManagerCollision *Collision)
void PrecalculeParticuleTrajectory (int start, int end)
void ApplyForceToParitcule (ExCVec3D force)
void Draw (void)
void SetParticuleType (int type)
int GetParticuleType (void)
void SetParticuleTexture (GLint texture)
void SetParticuleSize (float Size)
float GetParticuleSize (void)
void SetParticuleGrowth (float Growth)
float GetParticuleGrowth (void)
void SetParticuleMass (float Mass)
float GetParticuleMass (void)
void SetParticuleLife (int life)
int GetParticuleLife (void)
void SetParticuleWeight (int Weight)
int GetParticuleWeight (void)
void SetParticuleColorR (int ColorR)
int GetParticuleColorR (void)
void SetParticuleColorG (int ColorG)
int GetParticuleColorG (void)
void SetParticuleColorB (int ColorB)
int GetParticuleColorB (void)
void SetParticuleBlending (int Blending)
int GetParticuleBlending (void)
void SetParticuleVelocity (ExCVec3D Velocity)
ExCVec3D GetParticuleVelocity (void)
void SetParticuleAcceleration (ExCVec3D Acceleration)
ExCVec3D GetParticuleAcceleration (void)
void SetParticuleGravity (ExCVec3D Gravity)
ExCVec3D GetParticuleGravity (void)
void SetParticulePosition (ExCVec3D Position)
ExCVec3D GetParticulePosition (void)
void DecreaseLifeSpan (void)
ExCVec3D GetPositionNow (void)
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

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

ExManagerCollisionManagerCollision
ExCVec3D m_Position
ExCVec3D m_Velocity
ExCVec3D m_Acceleration
ExCVec3D m_Gravity
float m_Size
float m_Mass
float m_Growth
int m_LifeSpan
int m_TotalLife
int m_Weight
int m_Type
int m_ColorR
int m_ColorG
int m_ColorB
int m_Blending
GLint m_Texture
std::vector< ExCVec3Dm_VecPosition
std::vector< ExCVec3D >::iterator m_ItVecPosition
ExCGizmoSphere m_CollisionSphere
PFNGLPOINTPARAMETERFEXTPROC glPointParameterfEXT
PFNGLPOINTPARAMETERFVEXTPROC glPointParameterfvEXT
PFNGLPOINTPARAMETERINVPROC glPointParameteriNV
PFNGLPOINTPARAMETERIVNVPROC glPointParameterivNV
float m_Rotation
ExCVec3D m_Up
double m_RefreshTime
double m_Life
double m_StartingLife
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

ExCParticuleLine::ExCParticuleLine  ) 
 

Définition à la ligne 26 du fichier ExCParticuleLine.cpp.

Références ExCParticuleLine(), Guard, ExCObject::SetName(), ExCObject::SetType(), et UnGuard.

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

00027 {
00028 Guard(ExCParticuleLine::ExCParticuleLine())
00029         SetName("ExCParticuleLine");
00030         SetType(typeid(this).name());
00031 UnGuard
00032 }

ExCParticuleLine::~ExCParticuleLine  ) 
 

Définition à la ligne 34 du fichier ExCParticuleLine.cpp.

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

00035 {
00036 Guard(ExCParticuleLine::~ExCParticuleLine())
00037 UnGuard
00038 }


Documentation des méthodes

void ExCParticule::ApplyForceToParitcule ExCVec3D  force  )  [inherited]
 

Définition à la ligne 318 du fichier ExCParticule.cpp.

Références ExCParticule::ApplyForceToParitcule(), Guard, et UnGuard.

Référencé par ExCParticule::ApplyForceToParitcule().

00319 {
00320 Guard(void ExCParticule::ApplyForceToParitcule(ExCVec3D force))
00321         
00322 UnGuard
00323 }

void ExCParticule::DecreaseLifeSpan void   )  [inline, inherited]
 

Définition à la ligne 169 du fichier ExCParticule.h.

Références ExCParticule::m_LifeSpan.

00169 {m_LifeSpan--;}

void ExCParticule::Draw void   )  [virtual, inherited]
 

Redéfinie à partir de ExCObject.

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

Références ExCParticule::Draw(), ExCParticule::glPointParameterfEXT, ExCParticule::glPointParameterfvEXT, Guard, ExCParticule::m_Blending, ExCParticule::m_CollisionSphere, ExCParticule::m_ColorB, ExCParticule::m_ColorG, ExCParticule::m_ColorR, ExCParticule::m_Gravity, ExCParticule::m_Growth, ExCParticule::m_LifeSpan, ExCObject3D::m_OldPosition, ExCParticule::m_Position, ExCGizmoSphere::m_Radius, ExCParticule::m_Rotation, ExCParticule::m_Size, ExCParticule::m_Texture, ExCParticule::m_TotalLife, ExCParticule::m_Type, ExCParticule::m_VecPosition, ExCVec3D::m_Vector, ExCParticule::m_Velocity, PARTICULE_LINE, PARTICULE_POINT, PARTICULE_TEXTURE, PARTICULE_TEXTURE_NV, ExCVec3D::SetValue(), et UnGuard.

Référencé par ExCParticule::Draw().

00127 {
00128 Guard(void ExCParticule::Draw(void))
00129 
00130         float final,pas,current;
00131         
00132         float x,y,z,x1,y1,z1;
00133         float GravityX,GravityY,GravityZ;
00134         int TimeNow=(m_TotalLife-m_LifeSpan);
00135         
00136         final=((float)m_Size/100)*m_Growth;
00137         pas=(float)(final-m_Size)/m_TotalLife;
00138         current=m_Size+(TimeNow*pas);
00139 
00140         if(TimeNow>=m_TotalLife){return;}
00141 
00142         float quadratic[] =  { 1.0f, 1.0f, 1.0f };
00143         float maxSize = 0.0f;
00144         ExCVec3D v1,v2,v3,v4,up,right,CollisionResult;
00145         GLfloat viewMatrix[16];
00146 
00147         switch(m_Type)
00148         {
00149         case PARTICULE_POINT:
00150                 glPushMatrix();
00151                         glTranslatef(m_Position.m_Vector[0],m_Position.m_Vector[1],m_Position.m_Vector[2]);
00152                         m_Position=m_Position+m_Velocity;
00153                         glColor4ub(m_ColorR,m_ColorG,m_ColorB,m_Blending);
00154                         glBegin(GL_POINT);
00155                                 glVertex3fv(m_Position.m_Vector);
00156                         glEnd();
00157                 glPopMatrix();
00158                 break;
00159 
00160         case PARTICULE_LINE:
00161                 GravityX=((TimeNow*TimeNow)*(m_Gravity.m_Vector[0])/20);
00162                 GravityY=((TimeNow*TimeNow)*(m_Gravity.m_Vector[1])/20);
00163                 GravityZ=((TimeNow*TimeNow)*(m_Gravity.m_Vector[2])/20);
00164                                 
00165                 x=m_Position.m_Vector[0]+(m_Velocity.m_Vector[0]*TimeNow)-GravityX;
00166                 y=m_Position.m_Vector[1]+(m_Velocity.m_Vector[1]*TimeNow)-GravityY;
00167                 z=m_Position.m_Vector[2]+(m_Velocity.m_Vector[2]*TimeNow)-GravityZ;     
00168 
00169                 x1=m_Position.m_Vector[0]+(m_Velocity.m_Vector[0]*(TimeNow+current))-GravityX;
00170                 y1=m_Position.m_Vector[1]+(m_Velocity.m_Vector[1]*(TimeNow+current))-GravityY;
00171                 z1=m_Position.m_Vector[2]+(m_Velocity.m_Vector[2]*(TimeNow+current))-GravityZ;
00172                 
00173                 glPushMatrix();
00174                 //glPushAttrib(GL_ALL_ATTRIB_BITS);
00175                         glTranslatef(x,y,z);
00176                         glColor4ub(m_ColorR,m_ColorG,m_ColorB,m_Blending);
00177                         glDisable(GL_LIGHTING);
00178                         glEnable(GL_BLEND);
00179                         glEnable(GL_ALPHA);
00180                         glBlendFunc(GL_ONE,GL_ONE);
00181                         glEnable(GL_ALPHA_TEST);
00182                         glAlphaFunc(GL_GREATER,0);
00183                         glLineWidth(2.0f);
00184                         glBegin(GL_LINES);
00185                                 glVertex3f(x,y,z);      
00186                                 glVertex3f(x1,y1,z1);
00187                         glEnd();
00188                 //glPopAttrib();
00189                 glPopMatrix();
00190                 break;
00191 
00192         case PARTICULE_TEXTURE:
00193                 glPushMatrix();
00194                 //glPushAttrib(GL_ALL_ATTRIB_BITS);
00195                         m_Position=m_VecPosition.at(TimeNow);
00196                         //CollisionResult=ManagerCollision->OneTestCollision(this);
00197                         //if(CollisionResult.GetX()!=0)
00198                         //{
00199                         //      glColor3f(1,0,0);
00200                         //      m_Position=m_OldPosition;
00201                         //}
00202 
00203 
00204                         glTranslatef(m_Position.m_Vector[0],m_Position.m_Vector[1],m_Position.m_Vector[2]);
00205                         m_CollisionSphere.m_Radius=current;
00206                         glLineWidth(0.2);
00207 
00208                         glMatrixMode(GL_TEXTURE);
00209                                 glRotatef(m_Rotation,0,0,1);
00210                                 m_Rotation+=m_Rotation;
00211                         glMatrixMode(GL_MODELVIEW);     
00212                         
00213                         //m_CollisionSphere.Draw();
00214                         
00215                         // Orienation of particule
00216                         
00217                         glGetFloatv(GL_MODELVIEW_MATRIX, viewMatrix);
00218                         
00219                         right.SetValue(viewMatrix[0],viewMatrix[4],viewMatrix[8]);
00220                         up.SetValue(viewMatrix[1],viewMatrix[5],viewMatrix[9]);
00221 
00222                         
00223                         v1=m_Position+(right+up)*-current;
00224                         v2=m_Position+(right-up)*current;
00225                         v3=m_Position+(right+up)*current;
00226                         v4=m_Position+(up-right)*current;
00227 
00228                         glEnable(GL_BLEND);
00229                         glBlendFunc(GL_SRC_ALPHA,GL_ONE);
00230                         glEnable(GL_TEXTURE_2D);
00231                         glDisable(GL_LIGHTING);
00232                         glTexEnvf(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_MODULATE);
00233                         glBindTexture(GL_TEXTURE_2D, m_Texture);
00234                         glColor4ub(m_ColorR,m_ColorG,m_ColorB,m_Blending);
00235 
00236 
00237                         glBegin(GL_QUADS);
00238                                 glTexCoord2f(0.0f, 0.0f); glVertex3fv(v1.m_Vector);
00239                                 glTexCoord2f(1.0f, 0.0f); glVertex3fv(v2.m_Vector);
00240                                 glTexCoord2f(1.0f, 1.0f); glVertex3fv(v3.m_Vector);
00241                                 glTexCoord2f(0.0f, 1.0f); glVertex3fv(v4.m_Vector);
00242                         glEnd();
00243                         
00244                 //glPopAttrib();
00245                 glPopMatrix();
00246 
00247                 glMatrixMode(GL_TEXTURE);
00248                         glLoadIdentity();
00249                 glMatrixMode(GL_MODELVIEW);
00250 
00251                 break;
00252 
00253         case PARTICULE_TEXTURE_NV:
00254                 m_Position=m_VecPosition.at(TimeNow);
00255                 glPushMatrix();
00256                 glPushAttrib(GL_ALL_ATTRIB_BITS);
00257                         glEnable( GL_BLEND );
00258                         glBlendFunc( GL_SRC_ALPHA, GL_ONE );
00259                         glEnable(GL_TEXTURE_2D);
00260                         glDisable(GL_LIGHTING);
00261                         glTexEnvf(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_MODULATE);
00262                         //glTexEnvf(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_REPLACE);
00263                         glBindTexture(GL_TEXTURE_2D, m_Texture);
00264                         
00265                         glPointParameterfvEXT( GL_DISTANCE_ATTENUATION_EXT, quadratic );
00266 
00267                         // Query for the max point size supported by the hardware
00268                         glGetFloatv( GL_POINT_SIZE_MAX_EXT, &maxSize );
00269                         glPointSize( maxSize );
00270 
00271                         glPointParameterfEXT( GL_POINT_FADE_THRESHOLD_SIZE_EXT, 1.0f );
00272 
00273                         glPointParameterfEXT( GL_POINT_SIZE_MIN_EXT, 1.0f );
00274                         glPointParameterfEXT( GL_POINT_SIZE_MAX_EXT, 2.0f );
00275 
00276                         // Specify point sprite texture coordinate replacement mode for each texture unit
00277                         glTexEnvf( GL_POINT_SPRITE_NV, GL_COORD_REPLACE_NV, GL_TRUE );
00278 
00279         /*              glPointParameteriNV( GL_POINT_SPRITE_R_MODE_NV, GL_ZERO );
00280                         glPointParameteriNV( GL_POINT_SPRITE_R_MODE_NV, GL_S );
00281                         glPointParameteriNV( GL_POINT_SPRITE_R_MODE_NV, GL_R );
00282 */
00283                         glEnable( GL_POINT_SPRITE_NV );
00284 
00285                         glBegin( GL_POINTS );
00286                         {
00287                                 glColor4ub(m_ColorR,m_ColorG,m_ColorB,m_Blending);
00288                                 glVertex3fv(m_Position.m_Vector);
00289                         }
00290                         glEnd();
00291                 glPopAttrib();
00292                 glPopMatrix();
00293                 break;
00294         }
00295         m_OldPosition=m_Position;
00296 UnGuard
00297 }

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 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(), ExCCameraChase::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(), ExCCameraChase::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(), ExCCameraChase::Draw(), et ExCCamera::Draw().

00112 {return m_Angle.GetZ();}

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 ExCParticule::GetParticuleAcceleration void   )  [inline, inherited]
 

Définition à la ligne 161 du fichier ExCParticule.h.

Références ExCParticule::m_Acceleration.

00161 {return m_Acceleration;}

int ExCParticule::GetParticuleBlending void   )  [inline, inherited]
 

Définition à la ligne 155 du fichier ExCParticule.h.

Références ExCParticule::m_Blending.

00155 {return m_Blending;}

int ExCParticule::GetParticuleColorB void   )  [inline, inherited]
 

Définition à la ligne 152 du fichier ExCParticule.h.

Références ExCParticule::m_ColorB.

00152 {return m_ColorB;}

int ExCParticule::GetParticuleColorG void   )  [inline, inherited]
 

Définition à la ligne 149 du fichier ExCParticule.h.

Références ExCParticule::m_ColorG.

00149 {return m_ColorG;}

int ExCParticule::GetParticuleColorR void   )  [inline, inherited]
 

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

Références ExCParticule::m_ColorR.

00146 {return m_ColorR;}

ExCVec3D ExCParticule::GetParticuleGravity void   )  [inline, inherited]
 

Définition à la ligne 164 du fichier ExCParticule.h.

Références ExCParticule::m_Gravity.

00164 {return m_Gravity;}

float ExCParticule::GetParticuleGrowth void   )  [inline, inherited]
 

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

Références ExCParticule::m_Growth.

00132 {return m_Growth;}

int ExCParticule::GetParticuleLife void   )  [inline, inherited]
 

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

Références ExCParticule::m_LifeSpan.

Référencé par ExCSystemeParticule::CreateNewParticle().

00138 {return m_LifeSpan;}

float ExCParticule::GetParticuleMass void   )  [inline, inherited]
 

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

Références ExCParticule::m_Mass.

00135 {return m_Mass;}

ExCVec3D ExCParticule::GetParticulePosition void   )  [inline, inherited]
 

Définition à la ligne 167 du fichier ExCParticule.h.

Références ExCParticule::m_Position.

00167 {return m_Position;}

float ExCParticule::GetParticuleSize void   )  [inline, inherited]
 

Définition à la ligne 129 du fichier ExCParticule.h.

Références ExCParticule::m_Size.

00129 {return m_Size;}

int ExCParticule::GetParticuleType void   )  [inline, inherited]
 

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

Références ExCParticule::m_Type.

00124 {return m_Type;}

ExCVec3D ExCParticule::GetParticuleVelocity void   )  [inline, inherited]
 

Définition à la ligne 158 du fichier ExCParticule.h.

Références ExCParticule::m_Velocity.

00158 {return m_Velocity;}

int ExCParticule::GetParticuleWeight void   )  [inline, inherited]
 

Définition à la ligne 143 du fichier ExCParticule.h.

Références ExCParticule::m_Weight.

00143 {return m_Weight;}

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(), ExCCameraChase::Draw(), ExManagerEntity::LoadGroupe(), ExManagerEntity::Reload(), et ExManagerCollision::ResolveCollision().

00128 {return m_Position;}

ExCVec3D ExCParticule::GetPositionNow void   )  [inherited]
 

Définition à la ligne 325 du fichier ExCParticule.cpp.

Références ExCParticule::GetPositionNow(), Guard, ExCParticule::m_LifeSpan, ExCParticule::m_TotalLife, ExCParticule::m_VecPosition, et UnGuard.

Référencé par ExCParticule::GetPositionNow().

00326 {
00327 Guard(ExCVec3D ExCParticule::GetPositionNow(void))
00328 
00329 return m_VecPosition.at(m_TotalLife-m_LifeSpan);
00330 
00331 UnGuard
00332 }

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;}

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 ExCParticule::PrecalculeParticuleTrajectory int  start,
int  end
[inherited]
 

Définition à la ligne 299 du fichier ExCParticule.cpp.

Références Guard, ExCParticule::m_Gravity, ExCParticule::m_Position, ExCParticule::m_VecPosition, ExCVec3D::m_Vector, ExCParticule::m_Velocity, ExCParticule::PrecalculeParticuleTrajectory(), et UnGuard.

Référencé par ExCSystemeParticule::CreateNewParticle(), et ExCParticule::PrecalculeParticuleTrajectory().

00300 {
00301 Guard(void ExCParticule::PrecalculeParticuleTrajectory(int start,int end))
00302         float GravityX,GravityY,GravityZ;
00303         ExCVec3D Position;
00304         for(int i=start;i<end;i++)
00305         {
00306                 GravityX=((i*i)*(m_Gravity.m_Vector[0])/2000);
00307                 GravityY=((i*i)*(m_Gravity.m_Vector[1])/2000);
00308                 GravityZ=((i*i)*(m_Gravity.m_Vector[2])/2000);
00309                                 
00310                 Position.m_Vector[0]=m_Position.m_Vector[0]+(m_Velocity.m_Vector[0]*i)-GravityX;
00311                 Position.m_Vector[1]=m_Position.m_Vector[1]+(m_Velocity.m_Vector[1]*i)-GravityY;
00312                 Position.m_Vector[2]=m_Position.m_Vector[2]+(m_Velocity.m_Vector[2]*i)-GravityZ;        
00313                 m_VecPosition.push_back(Position);
00314         }
00315 UnGuard
00316 }

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 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 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 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 ExCParticule::SetManagerCollision ExManagerCollision Collision  )  [inline, inherited]
 

Définition à la ligne 117 du fichier ExCParticule.h.

Références ExCParticule::ManagerCollision.

Référencé par ExCSystemeParticule::CreateNewParticle().

00117 {ManagerCollision = Collision;}

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::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(), 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 ExCParticule::SetParticuleAcceleration ExCVec3D  Acceleration  )  [inline, inherited]
 

Définition à la ligne 160 du fichier ExCParticule.h.

Références ExCParticule::m_Acceleration.

Référencé par ExCSystemeParticule::CreateNewParticle().

00160 {m_Acceleration=Acceleration;}

void ExCParticule::SetParticuleBlending int  Blending  )  [inline, inherited]
 

Définition à la ligne 154 du fichier ExCParticule.h.

Références ExCParticule::m_Blending.

Référencé par ExCSystemeParticule::CreateNewParticle().

00154 {m_Blending=Blending;}

void ExCParticule::SetParticuleColorB int  ColorB  )  [inline, inherited]
 

Définition à la ligne 151 du fichier ExCParticule.h.

Références ExCParticule::m_ColorB.

Référencé par ExCSystemeParticule::CreateNewParticle().

00151 {m_ColorB=ColorB;}

void ExCParticule::SetParticuleColorG int  ColorG  )  [inline, inherited]
 

Définition à la ligne 148 du fichier ExCParticule.h.

Références ExCParticule::m_ColorG.

Référencé par ExCSystemeParticule::CreateNewParticle().

00148 {m_ColorG=ColorG;}

void ExCParticule::SetParticuleColorR int  ColorR  )  [inline, inherited]
 

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

Références ExCParticule::m_ColorR.

Référencé par ExCSystemeParticule::CreateNewParticle().

00145 {m_ColorR=ColorR;}

void ExCParticule::SetParticuleGravity ExCVec3D  Gravity  )  [inline, inherited]
 

Définition à la ligne 163 du fichier ExCParticule.h.

Références ExCParticule::m_Gravity.

Référencé par ExCSystemeParticule::CreateNewParticle().

00163 {m_Gravity=Gravity;}

void ExCParticule::SetParticuleGrowth float  Growth  )  [inline, inherited]
 

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

Références ExCParticule::m_Growth.

Référencé par ExCSystemeParticule::CreateNewParticle().

00131 {m_Growth=Growth;}

void ExCParticule::SetParticuleLife int  life  )  [inline, inherited]
 

Définition à la ligne 137 du fichier ExCParticule.h.

Références ExCParticule::m_LifeSpan, et ExCParticule::m_TotalLife.

Référencé par ExCSystemeParticule::CreateNewParticle().

00137 {m_LifeSpan=life;m_TotalLife=life;}

void ExCParticule::SetParticuleMass float  Mass  )  [inline, inherited]
 

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

Références ExCParticule::m_Mass.

Référencé par ExCSystemeParticule::CreateNewParticle().

00134 {m_Mass=Mass;}

void ExCParticule::SetParticulePosition ExCVec3D  Position  )  [inline, inherited]
 

Définition à la ligne 166 du fichier ExCParticule.h.

Références ExCParticule::m_Position.

Référencé par ExCSystemeParticule::CreateNewParticle().

00166 {m_Position=Position;}

void ExCParticule::SetParticuleSize float  Size  )  [inline, inherited]
 

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

Références ExCParticule::m_Size.

Référencé par ExCSystemeParticule::CreateNewParticle().

00128 {m_Size=Size;}

void ExCParticule::SetParticuleTexture GLint  texture  )  [inline, inherited]
 

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

Références ExCParticule::m_Texture.

Référencé par ExCSystemeParticule::CreateNewParticle(), et ExCSystemeParticule::SetParticuleTexture().

00126 {m_Texture=texture;}

void ExCParticule::SetParticuleType int  type  )  [inherited]
 

Définition à la ligne 117 du fichier ExCParticule.cpp.

Références Guard, ExCParticule::m_Type, ExCParticule::SetParticuleType(), et UnGuard.

Référencé par ExCSystemeParticule::CreateNewParticle(), ExCSystemeParticule::SetParticuleType(), et ExCParticule::SetParticuleType().

00118 {
00119 Guard(void ExCParticule::SetParticuleType(int type))
00120         m_Type=type;
00121         if(m_Type>4)m_Type=1;
00122 UnGuard
00123 }

void ExCParticule::SetParticuleVelocity ExCVec3D  Velocity  )  [inline, inherited]
 

Définition à la ligne 157 du fichier ExCParticule.h.

Références ExCParticule::m_Velocity.

Référencé par ExCSystemeParticule::CreateNewParticle().

00157 {m_Velocity=Velocity;}

void ExCParticule::SetParticuleWeight int  Weight  )  [inline, inherited]
 

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

Références ExCParticule::m_CollisionSphere, ExCGizmoSphere::m_Radius, et ExCParticule::m_Weight.

Référencé par ExCSystemeParticule::CreateNewParticle().

00140                                                    {m_Weight=Weight;
00141         m_CollisionSphere.m_Radius=m_Weight;
00142         }

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::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(), 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 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 }  


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().

PFNGLPOINTPARAMETERFEXTPROC ExCParticule::glPointParameterfEXT [protected, inherited]
 

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

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

PFNGLPOINTPARAMETERFVEXTPROC ExCParticule::glPointParameterfvEXT [protected, inherited]
 

Définition à la ligne 100 du fichier ExCParticule.h.

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

PFNGLPOINTPARAMETERINVPROC ExCParticule::glPointParameteriNV [protected, inherited]
 

Définition à la ligne 102 du fichier ExCParticule.h.

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

PFNGLPOINTPARAMETERIVNVPROC ExCParticule::glPointParameterivNV [protected, inherited]
 

Définition à la ligne 103 du fichier ExCParticule.h.

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

ExCVec3D ExCParticule::m_Acceleration [protected, inherited]
 

Redéfinie à partir de ExCObject3D.

Définition à la ligne 81 du fichier ExCParticule.h.

Référencé par ExCParticule::ExCParticule(), ExCParticule::GetParticuleAcceleration(), et ExCParticule::SetParticuleAcceleration().

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(), ExCCameraChase::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().

int ExCParticule::m_Blending [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), ExCParticule::GetParticuleBlending(), et ExCParticule::SetParticuleBlending().

ExCGizmoSphere ExCParticule::m_CollisionSphere [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), et ExCParticule::SetParticuleWeight().

int ExCParticule::m_ColorB [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticuleColorB(), et ExCParticule::SetParticuleColorB().

int ExCParticule::m_ColorG [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticuleColorG(), et ExCParticule::SetParticuleColorG().

int ExCParticule::m_ColorR [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticuleColorR(), et ExCParticule::SetParticuleColorR().

bool ExCObject3D::m_CurrentObject [protected, inherited]
 

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

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

ExCVec3D ExCParticule::m_Gravity [protected, inherited]
 

Redéfinie à partir de ExCObject3D.

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

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticuleGravity(), ExCParticule::PrecalculeParticuleTrajectory(), et ExCParticule::SetParticuleGravity().

float ExCParticule::m_Growth [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticuleGrowth(), et ExCParticule::SetParticuleGrowth().

std::vector<ExCVec3D>::iterator ExCParticule::m_ItVecPosition [protected, inherited]
 

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

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().

int ExCParticule::m_LifeSpan [protected, inherited]
 

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

Référencé par ExCParticule::DecreaseLifeSpan(), ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticuleLife(), ExCParticule::GetPositionNow(), et ExCParticule::SetParticuleLife().

float ExCParticule::m_Mass [protected, inherited]
 

Redéfinie à partir de ExCObject3D.

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

Référencé par ExCParticule::ExCParticule(), ExCParticule::GetParticuleMass(), et ExCParticule::SetParticuleMass().

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 ExCParticule::m_Position [protected, inherited]
 

Redéfinie à partir de ExCObject3D.

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

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticulePosition(), ExCParticule::PrecalculeParticuleTrajectory(), et ExCParticule::SetParticulePosition().

double ExCObject3D::m_RefreshTime [protected, inherited]
 

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

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

float ExCParticule::m_Rotation [protected, inherited]
 

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

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

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 ExCParticule::m_Size [protected, inherited]
 

Redéfinie à partir de ExCObject3D.

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

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticuleSize(), et ExCParticule::SetParticuleSize().

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(), ExCCameraChase::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().

GLint ExCParticule::m_Texture [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), et ExCParticule::SetParticuleTexture().

int ExCParticule::m_TotalLife [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), ExCParticule::GetPositionNow(), et ExCParticule::SetParticuleLife().

int ExCParticule::m_Type [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticuleType(), et ExCParticule::SetParticuleType().

ExCVec3D ExCObject3D::m_Up [protected, inherited]
 

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

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

std::vector<ExCVec3D> ExCParticule::m_VecPosition [protected, inherited]
 

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

Référencé par ExCParticule::Draw(), ExCParticule::GetPositionNow(), et ExCParticule::PrecalculeParticuleTrajectory().

ExCVec3D ExCParticule::m_Velocity [protected, inherited]
 

Redéfinie à partir de ExCObject3D.

Définition à la ligne 80 du fichier ExCParticule.h.

Référencé par ExCParticule::Draw(), ExCParticule::ExCParticule(), ExCParticule::GetParticuleVelocity(), ExCParticule::PrecalculeParticuleTrajectory(), et ExCParticule::SetParticuleVelocity().

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().

int ExCParticule::m_Weight [protected, inherited]
 

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

Référencé par ExCParticule::ExCParticule(), ExCParticule::GetParticuleWeight(), et ExCParticule::SetParticuleWeight().

ExManagerCollision* ExCParticule::ManagerCollision [protected, inherited]
 

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

Référencé par ExCParticule::SetManagerCollision().


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:55 2003 pour ExNihilo par doxygen 1.3.4