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

« back to all changes in this revision

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