2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADAStreamWriter.
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 __COLLADASTREAMWRITER_INSTANCE_CAMERA_H__
12
#define __COLLADASTREAMWRITER_INSTANCE_CAMERA_H__
14
#include "COLLADASWPrerequisites.h"
15
#include "COLLADASWElementWriter.h"
16
#include "COLLADABUURI.h"
21
/** A class that holds informations of an @a \<instance_camera\> element and writes it to stream. */
22
class InstanceCamera : public ElementWriter
27
/** The url to the camera information (library_cameras) */
37
* @param name The name
39
InstanceCamera ( StreamWriter* streamWriter, const URI& url, const String &sid="", const String &name="" )
40
: ElementWriter ( streamWriter )
46
/** Returns the url */
47
const URI& getUrl() const
52
/** Returns the sid */
53
const String& getSid() const
58
/** Returns the name */
59
const String& getName() const
64
/** Write the instance camera to the stream*/
69
} //namespace COLLADASW
72
#endif //__COLLADASTREAMWRITER_INSTANCE_CAMERA_H__