11 #ifndef __COP2_ProjectSettings_h__
12 #define __COP2_ProjectSettings_h__
18 #define COP2_PROJECT_SETTINGS_PREF_FILE "compproject.pref"
25 static bool setRes(
int x,
int y);
26 static void getRes(
int &x,
int &y);
28 static bool setPixelAspect(
float aspect);
29 static float getPixelAspect();
31 static bool setDepth(
int depth);
32 static int getDepth();
34 static bool resetBWPoints();
35 static bool setBWPoints(
int b,
int w);
36 static void getBWPoints(
int &b,
int &w);
38 static bool setProxyLevel(
int level);
39 static int getProxyLevel();
40 static float getProxyRes();
41 static void getIconRes(
int &x,
int &y);
43 static void setFileDefaults(
int res,
int depth);
44 static int getFileResDefault();
45 static int getFileDepthDefault();
47 static void setFileLastFileDefault(
int enable);
48 static int getFileLastFileDefault();
50 static void setLargeCanvas(
bool enable);
51 static bool getLargeCanvas();
53 static const char *getProxyLevelString(
int index);
56 static OP_ERROR saveSettings(std::ostream &,
void *);
59 static void setViewerCallback(
void (*cb)(
float ));
62 static void loadDefaultPrefs();
OPENVDB_API void initialize()
Global registration of native Grid, Transform, Metadata and Point attribute types. Also initializes blosc (if enabled).
GLboolean GLboolean GLboolean b
GLint GLint GLsizei GLsizei GLsizei depth
**If you just want to fire and args
GLubyte GLubyte GLubyte GLubyte w