Loading...
Searching...
No Matches
SBGRenderSTLObject Class Reference

The class can be used to load and display 3D objects from STL files.

Rendering

SBGRenderSTLObjectData * dataPointer
 
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.
 
 SB_DECLARE_DATA (SBGRenderSTLObject)
 

Constructors and destructors

 SBGRenderSTLObject (const std::string &fileName, bool smoothed)
 
virtual ~SBGRenderSTLObject ()