OpenWalnut  1.5.0dev
Functions
WDemoGeometry Namespace Reference

This namespace contains functions to create demo geometry. More...

Functions

osg::ref_ptr< osg::Node > createSphereGeometry ()
 Create several spheres. More...
 
osg::ref_ptr< osg::Node > createPlaneGeometry ()
 Create a plane. More...
 

Detailed Description

This namespace contains functions to create demo geometry.

Function Documentation

◆ createPlaneGeometry()

osg::ref_ptr< osg::Node > WDemoGeometry::createPlaneGeometry ( )

Create a plane.

This is basic OSG code.

Returns
the plane

Definition at line 64 of file WDemoGeometry.cpp.

References wge::genFinitePlane().

Referenced by WMTemplateColormapping::moduleMain(), WMTemplateRenderPipelines::moduleMain(), and WMTemplateShaders::moduleMain().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createSphereGeometry()

osg::ref_ptr< osg::Node > WDemoGeometry::createSphereGeometry ( )

Create several spheres.

This is basic OSG code.

Returns
the spheres

Definition at line 32 of file WDemoGeometry.cpp.

Referenced by WMTemplateColormapping::moduleMain(), WMTemplateRenderPipelines::moduleMain(), and WMTemplateShaders::moduleMain().

+ Here is the caller graph for this function: