SoView2DOverlay Class Reference
Draws an overlay image on the
SoView2D.
More...
#include <SoView2DOverlay.h>
List of all members.
|
Public Member Functions |
| | SoView2DOverlay () |
| | Constructor.
|
| virtual void | startDrawing (View2DSliceList *slicelist) |
| | reimplemented from SoView2DExtension
|
| virtual void | endDrawing (View2DSliceList *slicelist) |
| | reimplemented from SoView2DExtension
|
| virtual void | draw (View2DSliceList *dsl, View2DSlice *dslice, int slice) |
| | reimplemented from SoView2DExtension
|
| virtual bool | evalEvent (SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase) |
| | reimplemented from SoView2DExtension
|
| void | GLRender (SoGLRenderAction *action) |
| | reimplemented from SoNode, stores the LUT for later rendering
|
Static Public Member Functions |
| static void | initClass () |
| | inventor runtime type system
|
Public Attributes |
|
| SoSFMLImage | image |
| | input image
|
| SoSFBool | cacheTextures |
| | flag if textures should be cached
|
| SoSFEnum | blendMode |
| | select the blend mode of the overlay
|
| SoSFBool | inheritFilterMode |
| | inherit filter mode
|
| SoSFEnum | filterMode |
| | filter mode for rendering
|
| SoSFFloat | alphaFactor |
| | set the alpha factor for drawing
|
| SoSFColor | baseColor |
| | set the base color which is multiplied with the overlay
|
| SoSFInt32 | timePoint |
| | select the timepoint of the input image to render
|
| SoSFInt32 | maxTimePoint |
| | maximum timepoint value available (maximum of timePoint field)
|
| SoSFBool | useWorldCoords |
| | if this flag is on, the overlay can also render correct subimage overlays if the image is parallel to the image rendered on SoView2D
|
| SoSFBool | applyLut |
| | if this flag is enabled, the overlay uses the lut that is present in the scene graph, default is true
|
| SoSFBool | isCheckerTiling |
| | If enabled, draws a checkerboard tile each.
|
| SoSFInt32 | checkerTileSize |
| | The size of the checkerboard tiles.
|
| SoSFBool | areCheckerTilesInverted |
| | Invert the checkerboard with this flag.
|
Protected Member Functions |
| virtual | ~SoView2DOverlay () |
| | Destructor.
|
Protected Attributes |
| ml::LUTData< MLuint8 > * | _lutData |
| | the lut data that is rendered
|
| ml::LUTFunction * | _lutFunction |
| | the lut from the scene, stored by GLRender
|
| bool | _reloadData |
| | flag if data needs to be reloaded
|
| int | _id |
| | id for texture caching
|
| int | _oldTimePoint |
| | previous timepoint
|
| bool | _oldUseWorldCoords |
| | previous world coord flag
|
| unsigned int | _imageSerial |
| | serial number of last input image
|
Detailed Description
Draws an overlay image on the
SoView2D.
SoView2DOverlay is derived from SoView2DCallback to allow others to register with the callback
- Author:
- Florian Link
Definition at line 43 of file SoView2DOverlay.h.
Constructor & Destructor Documentation
| SoView2DOverlay::SoView2DOverlay |
( |
|
) |
|
| virtual SoView2DOverlay::~SoView2DOverlay |
( |
|
) |
[protected, virtual] |
Member Function Documentation
| virtual void SoView2DOverlay::endDrawing |
( |
View2DSliceList * |
slicelist |
) |
[virtual] |
| void SoView2DOverlay::GLRender |
( |
SoGLRenderAction * |
action |
) |
[virtual] |
reimplemented from SoNode, stores the LUT for later rendering
Reimplemented from SoView2DExtension.
| static void SoView2DOverlay::initClass |
( |
|
) |
[static] |
| virtual void SoView2DOverlay::startDrawing |
( |
View2DSliceList * |
slicelist |
) |
[virtual] |
Member Data Documentation
if this flag is enabled, the overlay uses the lut that is present in the scene graph, default is true
Definition at line 75 of file SoView2DOverlay.h.
set the base color which is multiplied with the overlay
Definition at line 63 of file SoView2DOverlay.h.
maximum timepoint value available (maximum of timePoint field)
Definition at line 68 of file SoView2DOverlay.h.
select the timepoint of the input image to render
Definition at line 66 of file SoView2DOverlay.h.
if this flag is on, the overlay can also render correct subimage overlays if the image is parallel to the image rendered on SoView2D
Definition at line 72 of file SoView2DOverlay.h.
The documentation for this class was generated from the following file: