|
OpenVDB 10.0.1
|
Extracts and stores voxel edge intersection data from a mesh. More...
#include <openvdb/tools/MeshToVolume.h>
Classes | |
| struct | EdgeData |
| Internal edge data type. More... | |
| class | GenEdgeData |
Public Types | |
| using | TreeType = tree::Tree4< EdgeData, 5, 4, 3 >::Type |
| using | Accessor = tree::ValueAccessor< TreeType > |
Public Member Functions | |
| MeshToVoxelEdgeData () | |
| void | convert (const std::vector< Vec3s > &pointList, const std::vector< Vec4I > &polygonList) |
| Threaded method to extract voxel edge data, the closest intersection point and corresponding primitive index, from the given mesh. | |
| void | getEdgeData (Accessor &acc, const Coord &ijk, std::vector< Vec3d > &points, std::vector< Index32 > &primitives) |
Returns intersection points with corresponding primitive indices for the given ijk voxel. | |
| Accessor | getAccessor () |
Extracts and stores voxel edge intersection data from a mesh.
| using Accessor = tree::ValueAccessor<TreeType> |
| using TreeType = tree::Tree4<EdgeData, 5, 4, 3>::Type |
|
inline |
|
inline |
Threaded method to extract voxel edge data, the closest intersection point and corresponding primitive index, from the given mesh.
| pointList | List of points in grid index space, preferably unique and shared by different polygons. |
| polygonList | List of triangles and/or quads. |
|
inline |
MeshToVoxelEdgeData::Accessor type that provides random read access to the internal tree.