vhdOSGFogPropertyFactory.h File Reference

vhdOSGFogPropertyFactory creates vhdOSGFogProperties. More...

#include <string>
#include <vhdOSGViewerService/vhdExport.h>
#include <vhdXMLPropertyLoader/vhdPropertyFactory.h>

Classes

class  vhdOSGFogPropertyFactory

Functions

 vhdCLASS_DECLARATION (vhdOSGFogProperty)


Detailed Description

vhdOSGFogPropertyFactory creates vhdOSGFogProperties.

Author:
Bruno Herbelin
Version:
0.0.1
Date:
17-03-2004
Remarks:
This source code is a part of the VHD++ platform file may be redistributed unmodified by any means PROVIDING it is not sold for profit without the authors written consent, and providing that this notice and the authors name is included.
This file is provided 'as is' with no expressed or implied warranty. The author accepts no liability if it causes any damage to your computer. Do expect bugs. Please let me know of any bugs/mods/improvements. and I will try to fix/incorporate them into this file. Enjoy!
vhdOSGFogProperty allows defining an OpenGL Fog's parameters used in OSGViewer to create an osg::Fog State Attribute attached to the root node.
 <vhdOSGFogProperty name = "brouillard">
 <!-- see OSG::Fog documentation for details -->
    <mode> LINEAR </mode>
    <density> 0.8 </density>
    <start> 1.0 </start>
    <end> 1000.0 </end>
    <color>  0.0 1.0 0.0 1.0 </color>
 </vhdOSGFogProperty>

Function Documentation

vhdCLASS_DECLARATION ( vhdOSGFogProperty   ) 


Generated on Thu Jan 18 10:06:13 2007 for vhdPLUS by  doxygen 1.5.1-p1