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

« back to all changes in this revision

Viewing changes to COLLADAMax/include/COLLADAMaxEffectImporter.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 COLLADAMax.
 
5
 
 
6
Portions of the code are:
 
7
Copyright (c) 2005-2007 Feeling Software Inc.
 
8
Copyright (c) 2005-2007 Sony Computer Entertainment America
 
9
 
 
10
Based on the 3dsMax COLLADASW Tools:
 
11
Copyright (c) 2005-2006 Autodesk Media Entertainment
 
12
 
 
13
Licensed under the MIT Open Source License, 
 
14
for details please see LICENSE file or the website
 
15
http://www.opensource.org/licenses/mit-license.php
 
16
*/
 
17
 
 
18
#ifndef __COLLADAMAX_EFFECTIMPORTER_H__
 
19
#define __COLLADAMAX_EFFECTIMPORTER_H__
 
20
 
 
21
#include "COLLADAMaxPrerequisites.h"
 
22
#include "COLLADAMaxImporterBase.h"
 
23
 
 
24
 
 
25
namespace COLLADAFW
 
26
{
 
27
        class Effect;
 
28
};
 
29
 
 
30
 
 
31
namespace COLLADAMax
 
32
{
 
33
 
 
34
        /** Imports one effect */
 
35
        class EffectImporter : public ImporterBase 
 
36
        {
 
37
        private:
 
38
                /** The effect to import.*/
 
39
                const COLLADAFW::Effect* mEffect;
 
40
        
 
41
        public:
 
42
 
 
43
        /** Constructor. */
 
44
                EffectImporter(DocumentImporter* documentImporter, const COLLADAFW::Effect* effect);
 
45
 
 
46
        /** Destructor. */
 
47
                virtual ~EffectImporter();
 
48
 
 
49
                /** Performs the import of the effect.
 
50
                @return True on success, false otherwise.*/
 
51
                bool import();
 
52
 
 
53
        private:
 
54
 
 
55
        /** Disable default copy ctor. */
 
56
                EffectImporter( const EffectImporter& pre );
 
57
 
 
58
        /** Disable default assignment operator. */
 
59
                const EffectImporter& operator= ( const EffectImporter& pre );
 
60
 
 
61
        };
 
62
 
 
63
} // namespace COLLADAMAX
 
64
 
 
65
#endif // __COLLADAMAX_EFFECTIMPORTER_H__