5#if !defined(AFX_3DPREFERENCES_H__7A247C30_3CCA_4E9C_BB24_7844D0CA0317__INCLUDED_)
6#define AFX_3DPREFERENCES_H__7A247C30_3CCA_4E9C_BB24_7844D0CA0317__INCLUDED_
14#include "XThreadSync.h"
16#ifndef MOOTOOLS_CRUNCHERSDK
17#include "3DCameraManager.h"
20BEGIN_MOOTOOLS_NAMESPACE
23#define PREFS3D_SMOOTH_ANGLE MAKE_CUSTOM_ID('S', 'M', 'A', 'G')
24#define PREFS3D_SMOOTH_MODE MAKE_CUSTOM_ID('S', 'M', 'M', 'D')
25#define PREFS3D_PATCH_LEVEL MAKE_CUSTOM_ID('P', 'H', 'L', 'V')
26#define PREFS3D_TEXTURE_PATH MAKE_CUSTOM_ID('T', 'X', 'T', 'P')
27#define PREFS3D_LIGHTWAVE_PATH MAKE_CUSTOM_ID('L', 'W', 'V', 'P')
28#define PREFS3D_SKETCHUP_PATH MAKE_CUSTOM_ID('S', 'K', 'P', 'P')
29#define PREFS3D_MAYA_PATH MAKE_CUSTOM_ID('M', 'A', 'Y', 'P')
30#define PREFS3D_MAYA_LAST_DATE MAKE_CUSTOM_ID('M', 'A', 'Y', 'D')
31#define PREFS3D_GL_GLOBAL_SETTINGS MAKE_CUSTOM_ID('G', 'L', 'S', 'G')
32#define PREFS3D_GL_SETTINGS_ZUP PREFS3D_GL_GLOBAL_SETTINGS
33#define PREFS3D_GL_SETTINGS_YUP MAKE_CUSTOM_ID('G', 'L', 'S', 'Y')
34#define PREFS3D_DEFAULT_ROTATION_MODE MAKE_CUSTOM_ID('R', 'T', 'M', 'D')
35#define PREFS3D_RESTORE_COMMAND MAKE_CUSTOM_ID('R', 'S', 'T', 'C')
37class DLL_3DFUNCTION C3DPreferences
41 bool init, saveEnabled;
49#ifndef MOOTOOLS_CRUNCHERSDK
53 C3DCameraManager::VIEW_UP_AXIS axis;
59 virtual ~C3DPreferences();
61 static C3DPreferences& Get3DPreferences();
68 float GetSmoothAngle()
const;
74 unsigned int GetPatchLevel()
const;
83 void SetBinaryData(
unsigned int id,
const void *info,
unsigned int size);
84 bool GetBinaryData(
unsigned int id,
void *info,
unsigned int size)
const;
86#ifndef MOOTOOLS_CRUNCHERSDK
106#ifndef MOOTOOLS_NO_SKETCHUP_EXT
112#ifndef MOOTOOLS_NO_MAYABIN_EXT
118END_MOOTOOLS_NAMESPACE
The file contains enum and type declarations used by the SDK.
NormalSmoothMode
Definition 3DType.h:401
CCustomData class is a handly class for storing any kind of data.
Contains many convenient functions for handling files, paths and give a way to add some custom format...
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27
CCustomData is a handly class for storing any kind of data.
Definition CustomData.h:106
Definition XThreadSync.h:20
CXStringArray implement an array of CXString.
Definition XStringArray.h:25