Equalizer  1.2.1
Public Member Functions | Protected Member Functions
seqPly::Renderer Class Reference
+ Inheritance diagram for seqPly::Renderer:
+ Collaboration diagram for seqPly::Renderer:

List of all members.

Public Member Functions

 Renderer (seq::Application &app)
 Construct a new renderer.
virtual ~Renderer ()
 Destruct this renderer.
virtual co::ObjectcreateObject (const uint32_t type)
StategetState ()

Protected Member Functions

virtual bool init (co::Object *initData)
 Initialize the renderer.
virtual bool exit ()
 De-initialize the renderer.
virtual void draw (co::Object *frameData)
 Render the scene.

Detailed Description

Definition at line 37 of file share/Equalizer/examples/seqPly/renderer.h.


Constructor & Destructor Documentation

seqPly::Renderer::Renderer ( seq::Application application) [inline]

Construct a new renderer.

Version:
1.0

Reimplemented from seq::Renderer.

Definition at line 40 of file share/Equalizer/examples/seqPly/renderer.h.

virtual seqPly::Renderer::~Renderer ( ) [inline, virtual]

Destruct this renderer.

Version:
1.0

Reimplemented from seq::Renderer.

Definition at line 41 of file share/Equalizer/examples/seqPly/renderer.h.


Member Function Documentation

co::Object * seqPly::Renderer::createObject ( const uint32_t  type) [virtual]
Returns:
a new object instance of the given type.
Version:
1.0
See also:
ObjectType, Config::getObject(), Renderer::getObject()

Reimplemented from seq::Renderer.

Definition at line 101 of file renderer.cpp.

References seq::OBJECTTYPE_FRAMEDATA.

void seqPly::Renderer::draw ( co::Object frameData) [protected, virtual]

Render the scene.

Parameters:
frameDatathe renderer's instance of the object passed to Config::run.
Version:
1.0

Implements seq::Renderer.

Definition at line 60 of file renderer.cpp.

References seq::Renderer::applyModelMatrix(), seq::Renderer::applyRenderContext(), seq::Renderer::getApplication(), seq::Renderer::getFrustum(), seq::Renderer::getModelMatrix(), and seq::Renderer::getViewMatrix().

+ Here is the call graph for this function:

bool seqPly::Renderer::exit ( ) [protected, virtual]

De-initialize the renderer.

Called just before the last context will be destroyed after the last call to exitContext().

Returns:
true on success, false otherwise.
Version:
1.0

Reimplemented from seq::Renderer.

Definition at line 52 of file renderer.cpp.

bool seqPly::Renderer::init ( co::Object initData) [protected, virtual]

Initialize the renderer.

Called once per renderer with an OpenGL context current before the first call to initContext().

Parameters:
initDataa per-renderer instance of the object passed to Config::init().
Returns:
true on success, false otherwise.
Version:
1.0

Reimplemented from seq::Renderer.

Definition at line 46 of file renderer.cpp.

References seq::Renderer::glewGetContext().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Fri Jun 8 2012 15:44:37 for Equalizer 1.2.1 by  doxygen 1.8.0