~ubuntu-branches/debian/sid/ember/sid

« back to all changes in this revision

Viewing changes to src/components/ogre/SceneManagers/EmberPagingSceneManager/include/OgrePagingLandScapeOcclusionTraversal.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2009-07-23 07:46:40 UTC
  • Revision ID: james.westby@ubuntu.com-20090723074640-wh0ukzis0kda36qv
Tags: upstream-0.5.6
ImportĀ upstreamĀ versionĀ 0.5.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __PagingLandScapeOcclusionTraversal_H
 
2
#define __PagingLandScapeOcclusionTraversal_H
 
3
 
 
4
#include "OgrePagingLandScapePrerequisites.h"
 
5
#include "OgrePagingLandScapeOctreeCamera.h"
 
6
#include <OgreSceneManager.h>
 
7
 
 
8
namespace Ogre
 
9
{
 
10
    //-----------------------------------------------------------------------
 
11
    class ConstTraversalConst 
 
12
    {
 
13
 
 
14
        public:
 
15
                virtual ~ConstTraversalConst() {}
 
16
                    virtual void onTree(const PagingLandScapeOctree& n, VisibleObjectsBoundsInfo * const visibleBounds ) const = 0;
 
17
                virtual void onLeaf(const PagingLandScapeOctreeNode&, VisibleObjectsBoundsInfo * const visibleBounds ) const = 0;
 
18
 
 
19
        protected:
 
20
            virtual void traverseChildren(const PagingLandScapeOctree& n, VisibleObjectsBoundsInfo * const visibleBounds) const;
 
21
    };
 
22
    //-----------------------------------------------------------------------
 
23
    class TraversalConst 
 
24
    {
 
25
 
 
26
        public:
 
27
                virtual ~TraversalConst() {}
 
28
                    virtual void onTree(PagingLandScapeOctree& n, VisibleObjectsBoundsInfo * const visibleBounds ) const = 0;
 
29
                virtual void onLeaf(PagingLandScapeOctreeNode&, VisibleObjectsBoundsInfo * const visibleBounds ) const = 0;
 
30
 
 
31
        protected:
 
32
            virtual void traverseChildren(PagingLandScapeOctree& n, VisibleObjectsBoundsInfo * const visibleBounds) const ;
 
33
    };
 
34
    //-----------------------------------------------------------------------
 
35
    class Traversal 
 
36
    {
 
37
 
 
38
        public:
 
39
                virtual ~Traversal() {}
 
40
                    virtual void onTree(PagingLandScapeOctree& n, VisibleObjectsBoundsInfo * const visibleBounds ) = 0;
 
41
                virtual void onLeaf(PagingLandScapeOctreeNode&, VisibleObjectsBoundsInfo * const visibleBounds ) = 0;
 
42
 
 
43
        protected:
 
44
            virtual void traverseChildren(PagingLandScapeOctree& n, VisibleObjectsBoundsInfo * const visibleBounds );
 
45
    };
 
46
}
 
47
#endif //PagingLandScapeOcclusionTraversal