8#ifndef OSG_VRUI_PRESETS
9#define OSG_VRUI_PRESETS
13#include <osg/StateSet>
14#include <osg/Material>
15#include <osg/BlendFunc>
16#include <osg/CullFace>
18#include <osg/PolygonMode>
49 std::vector<osg::ref_ptr<osg::StateSet> > stateSets;
50 std::vector<osg::ref_ptr<osg::StateSet> > stateSetsCulled;
51 std::vector<osg::ref_ptr<osg::Material> > materials;
52 osg::ref_ptr<osg::TexEnv> texEnvModulate;
53 osg::ref_ptr<osg::PolygonMode> polyModeFill;
54 osg::ref_ptr<osg::CullFace> cullFaceBack;
55 osg::ref_ptr<osg::BlendFunc> oneMinusSourceAlphaBlendFunc;
58 void setColorFromConfig(
const char *configEntry,
int materialIndex, osg::Vec4 def);
collaborative interface manager
Definition: coVRCommunication.h:41
Material
Color definitions, to be used whenever a material is needed.
Definition: coUIElement.h:66
Definition: OSGVruiPresets.h:27
static void makeTransparent(osg::StateSet *state, bool continuous=false)
static osg::PolygonMode * getPolyModeFill()
static osg::TexEnv * getTexEnvModulate()
static osg::StateSet * getStateSetCulled(coUIElement::Material material)
static osg::BlendFunc * getBlendOneMinusSrcAlpha()
static osg::StateSet * makeStateSet(coUIElement::Material material)
static osg::Material * getMaterial(coUIElement::Material material)
static std::string getFontFile()
static osg::StateSet * getStateSet(coUIElement::Material material)
static osg::StateSet * makeStateSetCulled(coUIElement::Material material)
static osg::CullFace * getCullFaceBack()