Loading...
Searching...
No Matches
raytracingRenderer.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_VIEW_RENDERING_RENDERERS_RAYTRACINGRENDERER_H
#define BALL_VIEW_RENDERING_RENDERERS_RAYTRACINGRENDERER_H
#ifndef BALL_VIEW_RENDERING_RENDERERS_RENDERER_H
# include <BALL/VIEW/RENDERING/RENDERERS/renderer.h>
#endif
#ifndef BALL_VIEW_KERNEL_STAGE_H
# include <BALL/VIEW/KERNEL/stage.h>
#endif
#ifndef BALL_VIEW_RENDERING_RENDERERS_BUFFEREDRENDERER_H
#include <BALL/VIEW/RENDERING/RENDERERS/bufferedRenderer.h>
#endif
#include <vector>
namespace BALL
{
namespace VIEW
{
class Scene;
class BALL_VIEW_EXPORT RaytracingRenderer
: public BufferedRenderer
{
public:
/*
* \link BufferedRenderer \endlink public methods
*/
virtual bool supports(const PixelFormat &format) const;
virtual Resolution getSupportedResolution(
const Resolution &min, const Resolution &max,
const PixelFormat &format) const;
/*
* Get description of the renderer int textual form
*/
virtual String getRenderer() = 0;
virtual void updateMaterialForRepresentation(Representation const* rep) = 0;
virtual std::vector<float> intersectRaysWithGeometry(const std::vector<Vector3>& origins,
const std::vector<Vector3>& directions);
protected:
/* BufferedRender protected methods */
virtual bool supports(const FrameBufferFormat &format) const;
};
} // namespace VIEW
} // namespace BALL
#endif // BALL_VIEW_RENDERING_RAYTRACINGRENDERER_H
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
bufferedRenderer.h
BALL::String
Definition string.h:57
BALL::VIEW::BufferedRenderer::BufferedRenderer
BufferedRenderer()
Definition bufferedRenderer.h:34
BALL::VIEW::FrameBufferFormat
Definition renderTarget.h:45
BALL::VIEW::PixelFormat
Definition pixelFormat.h:61
BALL::VIEW::RaytracingRenderer
Definition raytracingRenderer.h:34
BALL::VIEW::RaytracingRenderer::getSupportedResolution
virtual Resolution getSupportedResolution(const Resolution &min, const Resolution &max, const PixelFormat &format) const
BALL::VIEW::RaytracingRenderer::supports
virtual bool supports(const FrameBufferFormat &format) const
BALL::VIEW::RaytracingRenderer::updateMaterialForRepresentation
virtual void updateMaterialForRepresentation(Representation const *rep)=0
BALL::VIEW::RaytracingRenderer::supports
virtual bool supports(const PixelFormat &format) const
BALL::VIEW::RaytracingRenderer::intersectRaysWithGeometry
virtual std::vector< float > intersectRaysWithGeometry(const std::vector< Vector3 > &origins, const std::vector< Vector3 > &directions)
BALL::VIEW::RaytracingRenderer::getRenderer
virtual String getRenderer()=0
BALL::VIEW::Representation
Definition representation.h:59
BALL::VIEW::Scene
Definition scene.h:141
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
renderer.h
stage.h
BALL::VIEW::Resolution
Definition renderTarget.h:25