Equalizer  1.4.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.
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

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(), seq::Renderer::getRenderContext(), seq::Renderer::getViewMatrix(), eq::fabric::RenderContext::range, and eq::fabric::Range::start.

+ 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 Mon Nov 26 2012 14:41:51 for Equalizer 1.4.1 by  doxygen 1.7.6.1