Emergency 20 Dokumentation  4.2.0
em5::HeatRenderer Class Reference

Heat renderer. More...

#include <HeatRenderer.h>

Public Member Functions

 HeatRenderer (const glm::vec2 &renderTargetSize)
 Constructor. More...
 
virtual ~HeatRenderer ()
 Destructor. More...
 
void initViewport ()
 
void setMap (qsf::Map &map)
 
Rocket::Core::Texture * getHeatTexture () const
 
void setRenderingEnabled (bool renderingEnabled)
 
void setCameraPosition (const glm::vec3 &position)
 
void setCameraOrientation (const glm::quat &orientation)
 
void setCameraTarget (uint64 entityId)
 
void drawAABB (const qsf::Entity &entity)
 
void setAABBVisible (bool visible)
 
void update (float timeDelta)
 
void render ()
 
bool toScreenCoordinatesAABB (const qsf::Entity &entity, glm::vec2 &center, glm::vec2 &extents) const
 
bool toScreenCoordinatesAABB (Ogre::MovableObject &ogreMovableObject, glm::vec2 &center, glm::vec2 &extents) const
 

Static Public Attributes

static const char RENDER_TARGET_NAME []
 
static const char MATERIAL_NAME []
 

Detailed Description

Heat renderer.

Constructor & Destructor Documentation

em5::HeatRenderer::HeatRenderer ( const glm::vec2 &  renderTargetSize)
explicit

Constructor.

Parameters
[in]prototypeThe prototype this component is in, no null pointer allowed
virtual em5::HeatRenderer::~HeatRenderer ( )
virtual

Destructor.

Member Function Documentation

void em5::HeatRenderer::drawAABB ( const qsf::Entity entity)
Rocket::Core::Texture * em5::HeatRenderer::getHeatTexture ( ) const
inline
void em5::HeatRenderer::initViewport ( )
void em5::HeatRenderer::render ( )
void em5::HeatRenderer::setAABBVisible ( bool  visible)
void em5::HeatRenderer::setCameraOrientation ( const glm::quat &  orientation)
void em5::HeatRenderer::setCameraPosition ( const glm::vec3 &  position)
void em5::HeatRenderer::setCameraTarget ( uint64  entityId)
void em5::HeatRenderer::setMap ( qsf::Map map)
void em5::HeatRenderer::setRenderingEnabled ( bool  renderingEnabled)
inline
bool em5::HeatRenderer::toScreenCoordinatesAABB ( const qsf::Entity entity,
glm::vec2 &  center,
glm::vec2 &  extents 
) const
bool em5::HeatRenderer::toScreenCoordinatesAABB ( Ogre::MovableObject &  ogreMovableObject,
glm::vec2 &  center,
glm::vec2 &  extents 
) const
void em5::HeatRenderer::update ( float  timeDelta)

Member Data Documentation

const char em5::HeatRenderer::MATERIAL_NAME[]
static
const char em5::HeatRenderer::RENDER_TARGET_NAME[]
static

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