Class SBGRenderSTLObject#
ClassList > SBGRenderSTLObject
The class can be used to load and display 3D objects from STL files.
#include <SBGRenderSTLObject.hpp>
Public Functions#
Type | Name |
---|---|
SBGRenderSTLObject (const std::string & fileName, bool smoothed) |
|
SB_DECLARE_DATA (SBGRenderSTLObject) |
|
virtual void | display (const SBSpatialTransform & transform, float * color) Displays the STL object. |
virtual void | display (const SBSpatialTransform & transform, unsigned int nodeIndex) Displays the STL object. |
virtual | ~SBGRenderSTLObject () |
Protected Attributes#
Type | Name |
---|---|
SBGRenderSTLObjectData * | dataPointer |
Public Functions Documentation#
function SBGRenderSTLObject#
function SB_DECLARE_DATA#
function display [1/2]#
Displays the STL object.
function display [2/2]#
Displays the STL object.
virtual void SBGRenderSTLObject::display (
const SBSpatialTransform & transform,
unsigned int nodeIndex
)