Inheritance diagram for ege::resource::ParticuleMesh:
ege::resource::Mesh

Public Member Functions

 DECLARE_RESOURCE_NAMED_FACTORY (ParticuleMesh)
 
virtual void draw (mat4 &_positionMatrix, const etk::Color< float > &_mainColor, bool _enableDepthTest=true, bool _enableDepthUpdate=true)
 
- Public Member Functions inherited from ege::resource::Mesh
 DECLARE_RESOURCE_NAMED_FACTORY (Mesh)
 
virtual void draw (mat4 &_positionMatrix, bool _enableDepthTest=true, bool _enableDepthUpdate=true)
 
void generateVBO ()
 
void createViewBox (const std::string &_materialName, float _size=1.0)
 
void createIcoSphere (const std::string &_materialName, float _size=1.0, int32_t _subdivision=3)
 
void addMaterial (const std::string &_name, ememory::SharedPtr< ege::Material > _data)
 
void setCheckNormal (bool _status)
 
bool getCheckNormal ()
 
const std::vector< ememory::SharedPtr< ege::PhysicsShape > > & getPhysicalProperties () const
 
void addPhysicElement (const ememory::SharedPtr< ege::PhysicsShape > &_shape)
 
void setShape (void *_shape)
 
void * getShape ()
 
void setFreeShapeFunction (void(*_functionFreeShape)(void *_pointer))
 
void addFaceIndexing (const std::string &_layerName)
 
void addPoint (const std::string &_layerName, const vec3 &_pos, const etk::Color< float > &_color)
 
void addLine (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const etk::Color< float > &_color)
 
void addLine (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const etk::Color< float > &_color1, const etk::Color< float > &_color2)
 
void addLines (const std::string &_layerName, const std::vector< vec3 > &_list, const etk::Color< float > &_color)
 
void addLines (const std::string &_layerName, const std::vector< vec3 > &_list, const std::vector< etk::Color< float >> &_color)
 
void addTriangle (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const vec3 &_pos3, const etk::Color< float > &_color)
 
void addTriangle (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const vec3 &_pos3, const etk::Color< float > &_color1, const etk::Color< float > &_color2, const etk::Color< float > &_color3)
 
void addQuad (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const vec3 &_pos3, const vec3 &_pos4, const etk::Color< float > &_color)
 
void addQuad (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const vec3 &_pos3, const vec3 &_pos4, const etk::Color< float > &_color1, const etk::Color< float > &_color2, const etk::Color< float > &_color3, const etk::Color< float > &_color4)
 
void addTriangle (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const vec3 &_pos3, const vec2 &_uv1, const vec2 &_uv2, const vec2 &_uv3, const etk::Color< float > &_color)
 
void addTriangle (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const vec3 &_pos3, const vec2 &_uv1, const vec2 &_uv2, const vec2 &_uv3, const etk::Color< float > &_color1=etk::color::white, const etk::Color< float > &_color2=etk::color::white, const etk::Color< float > &_color3=etk::color::white)
 
void addQuad (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const vec3 &_pos3, const vec3 &_pos4, const vec2 &_uv1, const vec2 &_uv2, const vec2 &_uv3, const vec2 &_uv4, const etk::Color< float > &_color)
 
void addQuad (const std::string &_layerName, const vec3 &_pos1, const vec3 &_pos2, const vec3 &_pos3, const vec3 &_pos4, const vec2 &_uv1, const vec2 &_uv2, const vec2 &_uv3, const vec2 &_uv4, const etk::Color< float > &_color1=etk::color::white, const etk::Color< float > &_color2=etk::color::white, const etk::Color< float > &_color3=etk::color::white, const etk::Color< float > &_color4=etk::color::white)
 

Protected Member Functions

void init (const std::string &_fileName, const std::string &_shaderName="DATA:ParticuleMesh.prog")
 
- Protected Member Functions inherited from ege::resource::Mesh
void clean ()
 
void init (const std::string &_fileName="---", const std::string &_shaderName="DATA:textured3D2.prog")
 
int32_t findPositionInList (const vec3 &_pos)
 
int32_t findTextureInList (const vec2 &_uv)
 
int32_t findColorInList (const etk::Color< float > &_color)
 

Protected Attributes

int32_t m_GLMainColor
 
- Protected Attributes inherited from ege::resource::Mesh
enum normalMode m_normalMode
 
bool m_checkNormal
 
ememory::SharedPtr< gale::resource::Program > m_GLprogram
 
int32_t m_GLPosition
 
int32_t m_GLMatrix
 
int32_t m_GLMatrixPosition
 
int32_t m_GLNormal
 
int32_t m_GLtexture
 
int32_t m_GLColor
 
int32_t m_bufferOfset
 
int32_t m_numberOfElments
 
MaterialGlId m_GLMaterial
 
ege::Light m_light
 
std::vector< vec3m_listVertex
 
std::vector< vec2m_listUV
 
std::vector< etk::Color< float > > m_listColor
 
std::vector< vec3m_listFacesNormal
 
std::vector< vec3m_listVertexNormal
 
etk::Hash< FaceIndexingm_listFaces
 
etk::Hash< ememory::SharedPtr< ege::Material > > m_materials
 
std::vector< ememory::SharedPtr< ege::PhysicsShape > > m_physics
 
ememory::SharedPtr< gale::resource::VirtualBufferObject > m_verticesVBO
 

Additional Inherited Members

- Public Types inherited from ege::resource::Mesh
enum  normalMode { normalModeNone, normalModeFace, normalModeVertex }
 
- Static Public Member Functions inherited from ege::resource::Mesh
static ememory::SharedPtr< ege::resource::MeshcreateGrid (int32_t _lineCount, const vec3 &_position=vec3(0, 0, 0), float _size=1.0f, const std::string &_materialName="basics")
 
static ememory::SharedPtr< ege::resource::MeshcreateCube (float _size=1.0f, const std::string &_materialName="basics", const etk::Color< float > &_color=etk::color::white)
 

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