OGS
VoxelGridFromMesh.h File Reference

Detailed Description

Definition in file VoxelGridFromMesh.h.

#include <vtkSmartPointer.h>
#include <vtkUnstructuredGrid.h>
#include <array>
#include <memory>
Include dependency graph for VoxelGridFromMesh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MeshLib
 
namespace  MathLib
 
namespace  MeshToolsLib
 
namespace  MeshToolsLib::MeshGenerator
 
namespace  MeshToolsLib::MeshGenerator::VoxelGridFromMesh
 

Functions

std::array< std::size_t, 3 > MeshToolsLib::MeshGenerator::VoxelGridFromMesh::getNumberOfVoxelPerDimension (std::array< double, 3 > const &ranges, std::array< double, 3 > const &cellsize)
 
std::vector< int > MeshToolsLib::MeshGenerator::VoxelGridFromMesh::assignCellIds (vtkSmartPointer< vtkUnstructuredGrid > const &mesh, MathLib::Point3d const &min, std::array< std::size_t, 3 > const &dims, std::array< double, 3 > const &cellsize)
 
bool MeshToolsLib::MeshGenerator::VoxelGridFromMesh::removeUnusedGridCells (vtkSmartPointer< vtkUnstructuredGrid > const &mesh, std::unique_ptr< MeshLib::Mesh > &grid)
 
void MeshToolsLib::MeshGenerator::VoxelGridFromMesh::mapMeshArraysOntoGrid (vtkSmartPointer< vtkUnstructuredGrid > const &mesh, std::unique_ptr< MeshLib::Mesh > const &grid)
 

Variables

static std::string const MeshToolsLib::MeshGenerator::VoxelGridFromMesh::cell_id_name = "CellIds"