Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGDVRIsoShaderARBFragmentProgram.cpp File Reference

#include <OSGConfig.h>
#include <OSGDVRShader.h>
#include <OSGDrawActionBase.h>
#include <OSGDVRVolume.h>
#include <OSGDVRVolumeTexture.h>
#include <OSGDVRIsoSurface.h>
#include <OSGSlicer.h>
#include <OSGWindow.h>
#include <OSGCamera.h>
#include <OSGColor.h>
#include <OSGGLU.h>
#include <OSGGLEXT.h>
#include "OSGDVRIsoShader.h"

Go to the source code of this file.

Namespaces

namespace  osg

Functions

Vec4f cToV (Color4f &col)


Function Documentation

Vec4f cToV Color4f col  ) 
 

Definition at line 17 of file OSGDVRIsoShaderARBFragmentProgram.cpp.

References osg::Color4< ValueTypeT >::alpha(), osg::Color4< ValueTypeT >::blue(), osg::Color4< ValueTypeT >::green(), and osg::Color4< ValueTypeT >::red().

Referenced by osg::DVRIsoShader::activate_FragmentProgramShading().

00018 {
00019     return Vec4f(col.red(), col.green(), col.blue(), col.alpha());
00020 }


Generated on Thu Aug 25 04:12:20 2005 for OpenSG by  doxygen 1.4.3