Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
How to create a custom ScreenDrawer

VSG extension CustomScreenDrawer How to create a custom ScreenDrawer.

This example show how to create a custom ScreenDrawer, using directly the SoScreenDrawer class to create a PointScreenDrawer, or th SoPolyLineScreenDrawer to create a simple version of SoRectangleScreenDrawer.

FILES:

    • Inventor/Features/CustomScreenDrawer/CustomScreenDrawer.cxx
    • Inventor/Features/CustomScreenDrawer/simpleScene.iv
    • Inventor/Features/CustomScreenDrawer/SoCustomPointScreenDrawer.h
    • Inventor/Features/CustomScreenDrawer/SoCustomPointScreenDrawer.cxx
    • Inventor/Features/CustomScreenDrawer/SoCustomRectangleScreenDrawer.h
    • Inventor/Features/CustomScreenDrawer/SoCustomRectangleScreenDrawer.cxx

SEE ALSO

SoScreenDrawer SoPolyLineScreenDrawer SoRectangleScreenDrawer SoLassoScreenDrawer SoEllipseScreenDrawer SoPolygonScreenDrawer

SCREENSHOT: