Compositing.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <ewol/debug.hpp>
9 #include <etk/types.hpp>
10 #include <etk/math/Matrix4.hpp>
11 
12 namespace ewol {
13  class Compositing {
14  protected:
15  mat4 m_matrixApply;
16  public:
20  Compositing();
24  virtual ~Compositing();
28  virtual void draw(bool _disableDepthTest = true) = 0;
32  virtual void clear();
36  virtual void resetMatrix();
41  virtual void translate(const vec3& _vect);
46  virtual void rotate(const vec3& _vect, float _angle);
51  virtual void scale(const vec3& _vect);
56  virtual void setMatrix(const mat4& _mat);
57  };
58 };
virtual void draw(bool _disableDepthTest=true)=0
Virtal pure function that request the draw of all openGl elements.
virtual void translate(const vec3 &_vect)
translate the current display of this element
Compositing()
generic constructor
Definition: Area.hpp:16
virtual void resetMatrix()
reset to the eye matrix the openGL mouving system
virtual void rotate(const vec3 &_vect, float _angle)
rotate the curent display of this element
virtual void clear()
clear alll tre registered element in the current element
Definition: Compositing.hpp:13
virtual void setMatrix(const mat4 &_mat)
set the transformation matrix
virtual ~Compositing()
Generic destructor.
virtual void scale(const vec3 &_vect)
scale the current diaplsy of this element