Classes | |
| class | sal3d::Movement3D |
| A 3D transformation representation (rotation and translation.) More... | |
| class | sal3d::COP |
| Cloud of Points defining a 3D surface. More... | |
| class | sal3d::Mesh |
| Structure defining a surface composed of vertices and triangles. More... | |
| class | sal3d::ZMap |
| Projection of a COP on the XY plane. More... | |
Functions | |
| sal3d::Point3D | operator* (const sal3d::Movement3D &movement, const sal3d::Point3D point) |
| Transforms a Point3D using a 3D movement. | |
| sal3d::Movement3D | operator* (const sal3d::Movement3D &lhsMovement, const sal3d::Movement3D &rhsMovement) |
| Performs the multiplication of two 3D movements. | |
| sal3d::Point2D | operator* (const sal3d::Projection2D &projection, const sal3d::Point3D &point3D) |
| Projects a Point3D to a 2D surface using a Projection2D. | |
| static Mesh | sal3d::Mesh::MeshFromPLY (const std::string &filename) |
| Creates a Mesh from a PLY file. | |
| static Mesh | sal3d::Mesh::MeshFromSTL (const std::string &filename) |
| Creates a Mesh from a STL file. | |
| static Mesh sal3d::Mesh::MeshFromPLY | ( | const std::string & | filename | ) | [inline, static] |
Creates a Mesh from a PLY file.
This function requires linking with core3d.lib (import library for core3d.dll).
This function loads a PLY from file and creates a Mesh structure with the surface.
| [in] | filename | The PLY file to load. |
| sal3d::Error | On error |
References sal3d::Mesh::Mesh().
| static Mesh sal3d::Mesh::MeshFromSTL | ( | const std::string & | filename | ) | [inline, static] |
Creates a Mesh from a STL file.
This function requires linking with core3d.lib (import library for core3d.dll).
This function loads a STL from file and creates a Mesh structure with the surface.
| [in] | filename | The STL file to load. |
| sal3d::Error | On error |
References sal3d::Mesh::Mesh().
| sal3d::Point3D operator* | ( | const sal3d::Movement3D & | movement, |
| const sal3d::Point3D | point | ||
| ) | [inline] |
Transforms a Point3D using a 3D movement.
| [in] | movement | The movement to use to transform the point. |
| [in] | point | The point to transform. |
point transformed (rotated and/or translated) by movement. References sal3d::Point3D::x(), sal3d::Point3D::y(), and sal3d::Point3D::z().
| sal3d::Movement3D operator* | ( | const sal3d::Movement3D & | lhsMovement, |
| const sal3d::Movement3D & | rhsMovement | ||
| ) | [inline] |
Performs the multiplication of two 3D movements.
| [in] | lhsMovement | The movement on the left side of the multiplication. |
| [in] | rhsMovement | The movement on the right side of the multiplication. |
movement resulting of the multiplication of two 3D movements. | sal3d::Point2D operator* | ( | const sal3d::Projection2D & | projection, |
| const sal3d::Point3D & | point3D | ||
| ) | [inline] |
Projects a Point3D to a 2D surface using a Projection2D.
| [in] | projection | The Projection2D used to map the 3D point to 2D coordinates. |
| [in] | point3D | The Point3D to transform. |
point projected to a 2D window defined by this Projection2D.| sal3d::Error | On error |
References sal3d::Point3D::c_point_3d().
by
1.7.6.1