1 #ifndef PROGRAMSTROKE_H 2 #define PROGRAMSTROKE_H 5 #include <osg/StateSet> 6 #include <osg/observer_ptr> 8 #include <osg/MatrixTransform> 10 #include "ProgramEntity2D.h" 26 void initialize(osg::StateSet* state, osg::Camera* camera, osg::MatrixTransform* t,
bool isFogged);
31 bool getIsFogged()
const;
34 virtual bool addPresetShaders();
35 virtual bool addPresetUniforms();
41 #endif // PROGRAMSTROKE_H A virtual class to be inhereted by program for stroke, polygon and other entities.
Definition: ProgramEntity2D.h:17
An interface class that deals with entity::Stroke shader's state.
Definition: ProgramStroke.h:19
void initialize(osg::StateSet *state, osg::Camera *camera, osg::MatrixTransform *t, bool isFogged)
Definition: ProgramStroke.cpp:19
void updateIsFogged(bool f)
Definition: ProgramStroke.cpp:26
ProgramStroke()
Definition: ProgramStroke.cpp:12