2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADAFramework.
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
11
#ifndef __COLLADAFW_VISUALSCENE_H__
12
#define __COLLADAFW_VISUALSCENE_H__
14
#include "COLLADAFWPrerequisites.h"
15
#include "COLLADAFWNode.h"
16
#include "COLLADAFWObject.h"
22
class VisualScene : public ObjectTemplate<COLLADA_TYPE::VISUAL_SCENE>
26
* The name attribute is the text string name of this element.
31
/** All the root nodes of the visual scene.*/
32
NodePointerArray mRootNodes;
36
VisualScene(const UniqueId& uniqueId);
37
virtual ~VisualScene();
39
/** Returns the name of the visual scene*/
40
const String& getName() const { return mName; }
42
/** Sets the name of the visual scene*/
43
void setName(const String& name) { mName = name; }
45
/** Returns a reference to the root nodes of the visual scene. */
46
NodePointerArray& getRootNodes() { return mRootNodes; }
48
/** Returns a reference to the root nodes of the visual scene.*/
49
const NodePointerArray& getRootNodes() const { return mRootNodes; }
51
/** Returns a reference to the root nodes of the visual scene.*/
52
// void setRootNodes(const NodeArray& rootNodes) { mRootNodes = rootNodes; }
58
/** Disable default copy ctor. */
59
// VisualScene( const VisualScene& pre );
60
/** Disable default assignment operator. */
61
// const VisualScene& operator= ( const VisualScene& pre );
64
} // namespace COLLADAFW
66
#endif // __COLLADAFW_VISUALSCENE_H__