13#ifndef SO_OFFSCREEN_VIEWER_PROXY_H
14#define SO_OFFSCREEN_VIEWER_PROXY_H
19#include <Inventor/nodes/SoSubNode.h>
20#include <Inventor/nodes/SoSeparator.h>
21#include <Inventor/misc/SoState.h>
24 class OffscreenRenderer;
60 void GLRender(SoGLRenderAction *action)
override;
#define MLOFFSCREENRENDER_EXPORT
Defines macro needed for Windows (export of classes from this DLL)
SoOffscreenViewerProxyNode will put a SoViewerElement with the given SoOffscreenViewerProxy into the ...
virtual void renderCustom(SoGLRenderAction *)
method that can be implemented to do additional GL rendering or setup state when offscreen rendering
static void initClass()
Initializes this class.
SoOffscreenViewerProxyNode(SoOffscreenViewerProxy *proxy=nullptr)
Constructor.
void GLRender(SoGLRenderAction *action) override
set SoOffscreenViewerProxy before scene traversal
~SoOffscreenViewerProxyNode() override
SoOffscreenViewerProxy * _proxy
This class implements access to the state of the SoOffscreenRenderer viewer.
ml::OffscreenRenderer * _offscreenRenderer
Pointer to the actual viewer.
~SoOffscreenViewerProxy() override
Destructor.
bool isHighQualityOffscreenRendering() const override
returns true if high quality offscreen rendering (e.g. for OffscreenRenderer) is desired
SoOffscreenViewerProxy(ml::OffscreenRenderer *offscreenRenderer=nullptr)
Constructor.
OpenInventor Scenes can be rendered to the OffscreenRender who outputs an MLImage.
Platform independent interface class to manage an OpenGL context.