All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
kjb::Generic_renderer Class Referenceabstract

#include <gr_renderable.h>

Inheritance diagram for kjb::Generic_renderer:
kjb::Renderable kjb::Renderer kjb::Solid_renderer kjb::Wire_occlude_renderer kjb::Wire_renderer

Public Member Functions

 Generic_renderer ()
 Generic_renderer (const Generic_renderable *model)
virtual void render () const
 Renders this object with GL. More...
virtual void render (const Generic_renderable &) const =0
virtual void operator() (const Generic_renderable &model) const
- Public Member Functions inherited from kjb::Renderable
virtual ~Renderable ()
 Deletes this Renderable. More...

Protected Attributes

const Generic_renderablem_model

Detailed Description

Allows us to pass a rendering technique to a generic rendering function.

Kyle Simek

Constructor & Destructor Documentation

kjb::Generic_renderer::Generic_renderer ( )
kjb::Generic_renderer::Generic_renderer ( const Generic_renderable model)

Member Function Documentation

virtual void kjb::Generic_renderer::operator() ( const Generic_renderable model) const
virtual void kjb::Generic_renderer::render ( ) const

Renders this object with GL.

Implements kjb::Renderable.

virtual void kjb::Generic_renderer::render ( const Generic_renderable ) const
pure virtual

Member Data Documentation

const Generic_renderable* kjb::Generic_renderer::m_model

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