Adapter class to interface a Lagrange mesh with OpenVDB functions.
More...
#include <lagrange/volume/legacy/mesh_to_volume.h>
|
| MeshAdapter (const MeshType &mesh, const openvdb::math::Transform &transform) |
| Constructs a new instance. More...
|
|
size_t | polygonCount () const |
| Number of mesh facets.
|
|
size_t | pointCount () const |
| Number of mesh vertices.
|
|
size_t | vertexCount (size_t) const |
| Number of vertices for a given facet.
|
|
void | getIndexSpacePoint (size_t f, size_t lv, openvdb::Vec3d &pos) const |
| Return a vertex position in the grid index space. More...
|
|
|
const MeshType & | m_mesh |
|
const openvdb::math::Transform & | m_transform |
|
template<typename
MeshType>
class lagrange::volume::legacy::MeshAdapter< MeshType >
Adapter class to interface a Lagrange mesh with OpenVDB functions.
◆ MeshAdapter()
Constructs a new instance.
- Parameters
-
[in] | mesh | Input mesh. |
[in] | transform | World to index transform. |
◆ getIndexSpacePoint()
void getIndexSpacePoint |
( |
size_t |
f, |
|
|
size_t |
lv, |
|
|
openvdb::Vec3d & |
pos |
|
) |
| const |
|
inline |
Return a vertex position in the grid index space.
- Parameters
-
[in] | f | Queried facet index. |
[in] | lv | Queried local vertex index. |
[out] | pos | Vertex position in grid index space. |
The documentation for this class was generated from the following file: