|
std::vector< cl_float8 > | pc8d1 (n) |
|
std::vector< cl_float8 > | pc8d2 (n) |
|
void | drawGLScene () |
| Display callback for the window. More...
|
|
void | idleGLScene () |
| Idle callback for the window. More...
|
|
void | resizeGLScene (int width, int height) |
| Reshape callback for the window. More...
|
|
void | keyPressed (unsigned char key, int x, int y) |
| Keyboard callback for the window. More...
|
|
void | mouseMoved (int x, int y) |
| Mouse callback for the window. More...
|
|
void | mouseButtonPressed (int button, int state, int x, int y) |
| Mouse button callback for the window. More...
|
|
void | initGL (int argc, char **argv) |
| Initializes GLUT. More...
|
|
void | printInfo () |
| Displays the available controls. More...
|
|
void | fread (const char *path, char *data, size_t n) |
| Reads in a binary file. More...
|
|
void | configure (int argc, char **argv) |
| Configures parameters. More...
|
|
int | main (int argc, char **argv) |
|
An example showcasing the use of the ICP
class.
Estimates the transformation between two point clouds, registers one of them to the other and displays the result with OpenGL.
- Note
- To change the configuration of the
ICP
class, alter the RC
and WC
variables.
-
Command line arguments:
-
<name_1>
: name of the binary file for the first point cloud.
-
<name_2>
: name of the binary file for the second point cloud.
-
Usage:
-
./bin/icp_registration pcA pcB
-
loads the point clouds in
../data/pcA.bin
and ../data/pcB.bin
-
./bin/icp_registration pc
-
loads the point clouds in
../data/pc_1.bin
and ../data/pc_2.bin
-
./bin/icp_registration
-
loads the point clouds in
../data/kg_pc8d_1.bin
and ../data/kg_pc8d_2.bin
- Author
- Nick Lamprianidis
- Version
- 1.1.0
- Date
- 2015
- Copyright
- The MIT License (MIT)
- Copyright (c) 2015 Nick Lamprianidis
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.