Turntable/Turntable.h

//**************************************************************************/
// Copyright (c) 2008 Autodesk, Inc.
// All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this software in either electronic or hard copy form.
//
//**************************************************************************/
// DESCRIPTION:
// CREATED: December 2008
//**************************************************************************/

#if defined(JAMBUILD)
#include <Mudbox/mudbox.h>
#else
#if defined __APPLE__
#include "Headers/mudbox.h"
#else
#include "../../include/Mudbox/mudbox.h"
#endif
#endif

// We are using the mudbox namespace. 
using namespace mudbox;

// This plug-in creates a turntable animation of your scene

class Turntable {
    Q_DECLARE_TR_FUNCTIONS(Turntable);

public:

    static void Initializer();
    
    static void CreateTurntable();
    
    static void CreateTurntableImages( int width, int height, int frames, bool antialias, const QString& folderPath );
    
private:
    
    // Save these values so that they are remembered
    static int s_iWidth;
    static int s_iHeight;
    static int s_iFrames;
    static bool s_bAntiAlias;
    static QString s_sFolderPath;
};