|
#include "../common/standard.h"
#include "stdafx.h"
#include <windows.h>
#include <GL/glu.h>
#include "GLutils.h"
#include "Archimedes.h"
#include "MainFrm.h"
#include "ChildView.h"
#include "VoxelParamDialog.h"
Include dependency graph for ChildView.cpp:
Go to the source code of this file.
Defines | |
#define | TRACKBALLSIZE (0.6) |
#define | BIF_NEWDIALOGSTYLE 0x0040 |
Functions | |
BOOL | InitPixelFormat (CDC *pDC) |
Calls SetPixelFormat for us, given a device context. | |
void | getRotation (ColVector2d mouseOld, ColVector2d mouseNew, float &phi, ColVector3 &a) |
Find a good axis of rotation, given screen mouse coordinates. More... | |
void | updateCallback (char *str, float pct, void *data) |
bool | getDirectoryNameFromDialog (HWND hwnd, const char *messageToDisplay, std::string &dirName) |
Fires up a directory-chooser dialog. More... |
Definition in file ChildView.cpp.
|
Fires up a directory-chooser dialog.
Definition at line 468 of file ChildView.cpp. |
|
Find a good axis of rotation, given screen mouse coordinates. This code is adapted from code by Gavin Bell, available in a number of places online, including: http://pserver.samba.org/cgi-bin/cvsweb/3dttt/trackball.c?annotate=1.1&sortby=date Definition at line 183 of file ChildView.cpp. |