Equalizer  1.8.0
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
seqPly::Renderer Class Reference
+ Inheritance diagram for seqPly::Renderer:
+ Collaboration diagram for seqPly::Renderer:

Public Member Functions

 Renderer (seq::Application &app)
virtual ~Renderer ()
 Destruct this renderer. More...
State & getState ()
- Public Member Functions inherited from seq::Renderer
SEQ_API Renderer (Application &application)
 Construct a new renderer. More...
virtual SEQ_API bool init (co::Object *initData 1)
 Initialize the renderer. More...
virtual SEQ_API bool initContext (co::Object *initData)
 Initialize a rendering context. More...
virtual SEQ_API bool exitContext ()
 De-initialize a rendering context. More...
virtual SEQ_API void clear (co::Object *frameData)
 Clear the frame buffer. More...
SEQ_API void updateNearFar (const Vector4f &boundingSphere)
 Update the near and far planes to tightly enclose the given sphere. More...
SEQ_API void setNearFar (const float nearPlane, const float farPlane)
 Set the near and far planes. More...
virtual SEQ_API void applyRenderContext ()
 Apply the current rendering parameters to the rendering context. More...
SEQ_API const RenderContextgetRenderContext () const
virtual SEQ_API void applyModelMatrix ()
 Apply the current model matrix to the rendering context. More...
detail::Renderer * getImpl ()
co::Object * getFrameData ()
ApplicationgetApplication ()
const ApplicationgetApplication () const
virtual SEQ_API ViewDatacreateViewData ()
 Create a new per-view data instance. More...
virtual SEQ_API void destroyViewData (ViewData *viewData)
 Delete the given view data. More...
SEQ_API const GLEWContext * glewGetContext () const
 Get the GLEW context for this renderer. More...
SEQ_API const Frustumf & getFrustum () const
SEQ_API const Matrix4f & getViewMatrix () const
SEQ_API const Matrix4f & getModelMatrix () const
virtual SEQ_API co::Object * createObject (const uint32_t type)
virtual SEQ_API void destroyObject (co::Object *object, const uint32_t type)

Protected Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

virtual seqPly::Renderer::~Renderer ( )

Destruct this renderer.


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)

Render the scene.

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

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

+ Here is the call graph for this function:

bool seqPly::Renderer::exit ( )

De-initialize the renderer.

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

true on success, false otherwise.

Reimplemented from seq::Renderer.

Definition at line 52 of file renderer.cpp.

References seq::Renderer::exit().

+ Here is the call graph for this function:

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