~ubuntu-branches/ubuntu/raring/openwalnut/raring

« back to all changes in this revision

Viewing changes to src/core/graphicsEngine/WGETextureHud.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Eichelbaum
  • Date: 2012-12-12 11:26:32 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20121212112632-xhiuwkxuz5h0idkh
Tags: 1.3.1+hg5849-1
* Minor changes compared to 1.3.0 but included several bug fixes.
* See http://www.openwalnut.org/versions/4

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
class WGETextureHud: public osg::Projection
46
46
{
47
47
public:
48
 
 
49
48
    /**
50
49
     * Default constructor.
51
50
     */
62
61
    class WGETextureHudEntry: public osg::MatrixTransform
63
62
    {
64
63
    public: // NOLINT
65
 
 
66
64
        /**
67
65
         * Constructor.
68
66
         *
113
111
        osg::ref_ptr< osg::Texture2D > getTexture() const;
114
112
 
115
113
    protected:
116
 
 
117
114
        /**
118
115
         * The texture.
119
116
         */
191
188
    size_t getRenderBin() const;
192
189
 
193
190
protected:
194
 
 
195
191
    /**
196
192
     * The group Node where all those texture reside in. Theoretically, it is nonsense to use a separate group inside a osg::Projection since it
197
193
     * also is a group node. But WGEGroupNode offers all those nice and thread-safe insert/remove methods.
219
215
    bool m_coupleTexViewport;
220
216
 
221
217
private:
222
 
 
223
218
    /**
224
219
     * Callback which aligns and renders the textures.
225
220
     */
226
221
    class SafeUpdateCallback : public osg::NodeCallback
227
222
    {
228
223
    public: // NOLINT
229
 
 
230
224
        /**
231
225
         * Constructor.
232
226
         *