|
#include <Scanner.h>
Collaboration diagram for Scanner:

Public Methods | |
| Scanner () | |
| Constructor. | |
| void | getVoxelParamsFromScnFile (const char *filename, Vertex ¢er, int &voxelsPerSide, double &voxelCubeSize) |
| Loads a list of voxel parameters from an xml file. More... | |
| void | loadImages (const char *filename, int defaultVoxelsPerSide, float defaultVoxelCubeSize) |
| Loads a list of images from a .col or .scn file. More... | |
| void | carveVoxels (double threshold, bool bUseSilhouettes) |
| Assuming our images were loaded with loadImages, constructs the voxel cube. More... | |
| void | setProgressCallback (void(*updateCB)(char *str, float pctDone, void *data), int intervalInSeconds, void *data) |
| Sets a callback, which receives a string indicating the current operation. More... | |
| void | drawWithAngle (bool bSmooth, double latitude, double longitude) |
| Draws the voxel cube, given a certain amount of rotation. More... | |
| void | takeSnapshots (const char *directoryName) |
| For each input image, save a ppm that has both the original and a rendered version. This is used to compare perspectives, especially when the ppm is compiled into a movie. More... | |
| bool | hasSilhouettes () const |
| If one or more images has a silhouette available, this will return true. | |
| Vertex | guessVoxelcubeCenter () |
| Guesses a good place to put the center of the voxel cube. | |
Public Attributes | |
| VoxelCube | voxelCube |
| QEM::ProgMesh | mesh |
| A marching-cubes-generated mesh. | |
Definition at line 20 of file Scanner.h.
|
||||||||||||
|
Assuming our images were loaded with loadImages, constructs the voxel cube.
Definition at line 321 of file Scanner.cpp. Referenced by CChildView::openFile(). |
|
||||||||||||||||
|
Draws the voxel cube, given a certain amount of rotation.
Definition at line 251 of file Scanner.cpp. |
|
||||||||||||||||||||
|
Loads a list of voxel parameters from an xml file. Here, those are loaded from an ".scn" (xml really) file. Definition at line 27 of file Scanner.cpp. Referenced by CChildView::openFile(). |
|
||||||||||||||||
|
Loads a list of images from a .col or .scn file.
Definition at line 607 of file Scanner.cpp. Referenced by CChildView::openFile(). |
|
||||||||||||||||
|
Sets a callback, which receives a string indicating the current operation.
Definition at line 474 of file Scanner.cpp. Referenced by CChildView::openFile(). |
|
|
For each input image, save a ppm that has both the original and a rendered version. This is used to compare perspectives, especially when the ppm is compiled into a movie. This is used to compare perspectives. Definition at line 536 of file Scanner.cpp. |
1.2.15