Classempathy::life_event::MathWave
life_event
Bases
Subclasses
Constructors
Member Functions

Classempathy::life_event::MathWave

Bases

LifeEvent
Color

The color class to hold a RGBA color value.

Subclasses

MathWave_Para_Circle
MathWave_Line
MathWave_Sine

Constructors

MathWave ( )

Member Functions

  • override
void
decodeJson ( std::__cxx11::string key,
cJSON * value )
key
value
  • override
void
draw ( )
Overrides: LifeEvent::draw
GLfloat
getDiff ( )
return
GLfloat
getHead ( )
return
GLfloat
getLength ( )
return
GLfloat
getOffsetX ( )
return
GLfloat
getOffsetY ( )
return
GLfloat
getPencilSize ( )
return
GLfloat
getRotationAngle ( )
return
GLfloat
getSpeed ( )
return
GLfloat
getTail ( )
return
  • virtual
GLfloat
getX ( GLfloat theta )
theta
return
  • virtual
  • abstract
GLfloat
getY ( GLfloat theta )
theta
return
GLfloat
getZoomX ( )
return
GLfloat
getZoomY ( )
return
  • override
void
onDestroy ( )
  • override
void
onInit ( )
void
render ( std::vector<float, std::allocator<float> > & vertices )
vertices
void
setDiff ( GLfloat diff )
diff
void
setHead ( GLfloat head )
head
void
setLength ( GLfloat length )
length
void
setOffsetX ( GLfloat offsetX )
offsetX
void
setOffsetY ( GLfloat offsetY )
offsetY
void
setPencilSize ( GLfloat pencilSize )
pencilSize
void
setRotationAngle ( GLfloat rotationAngle )
rotationAngle
void
setSpeed ( GLfloat speed )
speed
void
setTail ( GLfloat tail )
tail
void
setZoomX ( GLfloat zoomX )
zoomX
void
setZoomY ( GLfloat zoomY )
zoomY
  • protected
GLfloat
getEndTheta ( )
return
  • protected
GLfloat
getStartTheta ( )
return
  • protected
  • override
void
onCreate ( GLfloat delTime )
delTime
  • protected
  • override
void
onFinish ( GLfloat delTime )
delTime
  • protected
  • override
void
onRun ( GLfloat delTime )
delTime
Overrides: LifeEvent::onRun