CPKRenderer Class Reference

#include <cpk_renderer.hh>

Inherits ost::gfx::impl::ConnectRendererBase.

Public Member Functions

 CPKRenderer ()
virtual void PrepareRendering ()
virtual void RenderPov (PovState &pov, const std::string &name)
virtual void Render (RenderPass pass)
virtual bool CanSetOptions (RenderOptionsPtr &render_options)
virtual void SetOptions (RenderOptionsPtr &render_options)
virtual RenderOptionsPtr GetOptions ()

Detailed Description

Definition at line 36 of file cpk_renderer.hh.


Constructor & Destructor Documentation

CPKRenderer (  ) 

Member Function Documentation

virtual bool CanSetOptions ( RenderOptionsPtr render_options  )  [virtual]

Implements EntityRenderer.

virtual RenderOptionsPtr GetOptions (  )  [virtual]

Implements EntityRenderer.

virtual void PrepareRendering (  )  [virtual]

Reimplemented from ConnectRendererBase.

virtual void Render ( RenderPass  pass  )  [virtual]

render the entity

This is the place where the actual rendering should happen, i.e sending of the geometric primitives to the graphics card.

The rendering buffers and vertex arrays should be prepared in PrepareRendering()

Reimplemented from EntityRenderer.

virtual void RenderPov ( PovState pov,
const std::string &  name 
) [virtual]

povray rendering call

Reimplemented from EntityRenderer.

virtual void SetOptions ( RenderOptionsPtr render_options  )  [virtual]

Implements EntityRenderer.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 1 Mar 2018 for OpenStructure by  doxygen 1.6.1