19#include <Inventor/fields/SoSFBool.h>
20#include <Inventor/fields/SoSFInt32.h>
21#include <Inventor/fields/SoSFTrigger.h>
74 SoNodeList _extensions;
79 ml::GLFrameBuffer _fbo;
81 ml::GLFrameBuffer _msaaFbo;
82 ml::GLRenderBuffer _msaaColorBuffer;
83 int _usedMultiSampling;
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
SoSFBool enableMultiSampling
enable MSAA multisampling (if supported by hardware)
void startDrawing(View2DSliceList *slicelist) override
reimplemented from SoView2DExtension
bool evaluateEvent(SoView2D *view2d, View2DEvent *ec) override
reimplemented from SoView2DExtension
SoSFTypedEnum< View2DTextureFilter > filterMode
filter mode for rendering
SoView2DExtensionSampler()
Constructor.
~SoView2DExtensionSampler() override
void draw(View2DSliceList *dsl, View2DSlice *dslice, int slice) override
reimplemented from SoView2DExtension
SoSFString overlayName
Fields.
void doAction(SoAction *action) override
reimplemented from SoView2DExtension
SoSFTypedEnum< View2DBlendMode > blendMode
select the blend mode of the overlay
void endDrawing(View2DSliceList *slicelist) override
reimplemented from SoView2DExtension
SoSFInt32 multiSampling
number of multisampling samples
static void initClass()
inventor runtime type system
SoView2DExtension()
Constructor.
Stores information for each overlay to render.
SoView2D is a 2D viewer for image data.
View2DEvent stores all information on an event on a SoView2D.
a list that holds all View2DSlice objects (lazily created) of a SoView2D
a single slice that is stored in a View2DSliceList, typically created by a View2DSliceList
A class to render images as OpenGL Textures.