InitStaticFileTypes.cc 1.19 KB
Newer Older
1 2 3 4 5
/***********************************************************************
 * Copyright 2011-2012 Computer Graphics Group RWTH Aachen University. *
 * All rights reserved.                                                *
 * Distributed under the terms of the MIT License (see LICENSE.TXT).   *
 **********************************************************************/
6 7 8 9 10

#include <ACGL/OpenGL/InitStaticFileTypes.hh>

#include <ACGL/OpenGL/Controller/TextureDataControlFileJPG.hh>
#include <ACGL/OpenGL/Controller/TextureDataControlFilePNG.hh>
11
#include <ACGL/OpenGL/Controller/TextureDataControlFilePNM.hh>
12

Robert Menzel's avatar
Robert Menzel committed
13 14 15
#include <ACGL/OpenGL/Controller/GeometryDataControlFileOBJ.hh>
#include <ACGL/OpenGL/Controller/GeometryDataControlFileATB.hh>

16 17
using namespace ACGL::OpenGL;

18

19 20
void ACGL::OpenGL::initStaticFileTypes(void)
{
21
    #ifdef ACGL_INCLUDE_DEPRECATED_FUNCTIONALITY
Robert Menzel's avatar
Robert Menzel committed
22 23 24
    //
    // Textures
    //
25 26 27 28
#ifdef ACGL_COMPILE_WITH_QT
    TextureDataControlFileJPG::registerType();
    TextureDataControlFilePNG::registerType();
#endif
29
    TextureDataControlFilePNM::registerType();
Robert Menzel's avatar
Robert Menzel committed
30 31 32
    //
    // Geometry, Meshes, Vertex data
    //
33
    GeometryDataControlFileATB::registerType();
34
    GeometryDataControlFileMesh::registerType();
35
#endif
36
}