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

« back to all changes in this revision

Viewing changes to COLLADAStreamWriter/include/COLLADASWLibraryLights.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 COLLADAStreamWriter.
 
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 __COLLADASTREAMWRITER_LIBRARY_LIGHTS_H__
 
12
#define __COLLADASTREAMWRITER_LIBRARY_LIGHTS_H__
 
13
 
 
14
#include "COLLADASWPrerequisites.h"
 
15
#include "COLLADASWExtraTechnique.h"
 
16
#include "COLLADASWLibrary.h"
 
17
#include "COLLADASWLight.h"
 
18
 
 
19
namespace COLLADASW
 
20
{
 
21
 
 
22
    /** Class to simply the creation of @a \<library_lights\> and @a \<lights\>'s*/
 
23
    class LibraryLights : public Library, public BaseExtraTechnique
 
24
    {
 
25
 
 
26
    public:
 
27
        /** Constructor
 
28
        @param streamWriter The stream the @a \<library_lights\> and @a \<lights\>'s
 
29
        should be written to.
 
30
        */
 
31
        LibraryLights ( StreamWriter* streamWriter );
 
32
 
 
33
        /** Destructor*/
 
34
        virtual ~LibraryLights() {}
 
35
 
 
36
    protected:
 
37
        /** Adds @a \<light\> element. If not already opened, it opens @a \<library_lights\>*/
 
38
        void addLight ( const Light& light );
 
39
 
 
40
    };
 
41
 
 
42
} //namespace COLLADASW
 
43
 
 
44
#endif //__COLLADASTREAMWRITER_LIBRARY_LIGHTS_H__