~ubuntu-branches/ubuntu/wily/opencollada/wily-proposed

« back to all changes in this revision

Viewing changes to COLLADAFramework/include/COLLADAFWVisualScene.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2015-05-14 17:23:27 UTC
  • Revision ID: package-import@ubuntu.com-20150514172327-f862u8envms01fra
Tags: upstream-0.1.0~20140703.ddf8f47+dfsg1
ImportĀ upstreamĀ versionĀ 0.1.0~20140703.ddf8f47+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (c) 2008-2009 NetAllied Systems GmbH
 
3
 
 
4
    This file is part of COLLADAFramework.
 
5
 
 
6
    Licensed under the MIT Open Source License, 
 
7
    for details please see LICENSE file or the website
 
8
    http://www.opensource.org/licenses/mit-license.php
 
9
*/
 
10
 
 
11
#ifndef __COLLADAFW_VISUALSCENE_H__
 
12
#define __COLLADAFW_VISUALSCENE_H__
 
13
 
 
14
#include "COLLADAFWPrerequisites.h"
 
15
#include "COLLADAFWNode.h"
 
16
#include "COLLADAFWObject.h"
 
17
 
 
18
 
 
19
namespace COLLADAFW
 
20
{
 
21
 
 
22
        class VisualScene : public ObjectTemplate<COLLADA_TYPE::VISUAL_SCENE>
 
23
        {
 
24
        private:
 
25
                /**
 
26
                * The name attribute is the text string name of this element. 
 
27
                * Optional attribute.
 
28
                */
 
29
                String mName;
 
30
 
 
31
                /** All the root nodes of the visual scene.*/
 
32
                NodePointerArray mRootNodes;
 
33
        
 
34
        public:
 
35
 
 
36
                VisualScene(const UniqueId& uniqueId);
 
37
                virtual ~VisualScene();
 
38
 
 
39
                /** Returns the name of the visual scene*/
 
40
                const String& getName() const { return mName; }
 
41
 
 
42
                /** Sets the name of the visual scene*/
 
43
                void setName(const String& name) { mName = name; }
 
44
 
 
45
                /** Returns a reference to the root nodes of the visual scene. */
 
46
                NodePointerArray& getRootNodes() { return mRootNodes; }
 
47
 
 
48
                /** Returns a reference to the root nodes of the visual scene.*/
 
49
                const NodePointerArray& getRootNodes() const { return mRootNodes; }
 
50
 
 
51
                /** Returns a reference to the root nodes of the visual scene.*/
 
52
//              void setRootNodes(const NodeArray& rootNodes) { mRootNodes = rootNodes; }
 
53
 
 
54
 
 
55
        protected:
 
56
        
 
57
        private:
 
58
        /** Disable default copy ctor. */
 
59
//              VisualScene( const VisualScene& pre );
 
60
        /** Disable default assignment operator. */
 
61
//              const VisualScene& operator= ( const VisualScene& pre );
 
62
 
 
63
        };
 
64
} // namespace COLLADAFW
 
65
 
 
66
#endif // __COLLADAFW_VISUALSCENE_H__