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

« back to all changes in this revision

Viewing changes to COLLADAMaya/include/COLLADAMayaImportOptions.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 COLLADAMaya.
 
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
    Copyright (c) 2004-2005 Alias Systems Corp.
 
10
 
 
11
    Licensed under the MIT Open Source License,
 
12
    for details please see LICENSE file or the website
 
13
    http://www.opensource.org/licenses/mit-license.php
 
14
*/
 
15
 
 
16
#ifndef __COLLADA_MAYA_IMPORT_OPTIONS_H__
 
17
#define __COLLADA_MAYA_IMPORT_OPTIONS_H__
 
18
 
 
19
#include <maya/MPxFileTranslator.h>
 
20
 
 
21
 
 
22
namespace COLLADAMaya
 
23
{
 
24
 
 
25
    /**
 
26
    * Class which manages the import options.
 
27
    */
 
28
    class ImportOptions
 
29
    {
 
30
 
 
31
    private:
 
32
        static bool mIsOpenCall;
 
33
        static bool mIsReferenceCall;
 
34
        static bool mHasError;
 
35
 
 
36
        static bool mImportUpAxis;
 
37
        static bool mImportUnits;
 
38
        static bool mImportNormals;
 
39
 
 
40
    public:
 
41
 
 
42
        static void set ( const MString &optionsString, MPxFileTranslator::FileAccessMode mode );
 
43
 
 
44
        static bool isOpenMode();
 
45
 
 
46
        static bool isReferenceMode();
 
47
 
 
48
        static bool hasError();
 
49
 
 
50
        static bool importUpAxis();
 
51
 
 
52
        static bool importUnits();
 
53
 
 
54
        static bool importNormals();
 
55
 
 
56
        static bool importSoftEdges();
 
57
 
 
58
        static void setErrorFlag();
 
59
 
 
60
    };
 
61
 
 
62
}
 
63
 
 
64
#endif // __COLLADA_MAYA_IMPORT_OPTIONS_H__
 
 
b'\\ No newline at end of file'