GCC Code Coverage Report


Directory: ./
File: openvdb/openvdb/points/PointSample.h
Date: 2022-07-25 17:40:05
Exec Total Coverage
Lines: 100 112 89.3%
Functions: 102 2297 4.4%
Branches: 364 17680 2.1%

Line Branch Exec Source
1 // Copyright Contributors to the OpenVDB Project
2 // SPDX-License-Identifier: MPL-2.0
3
4 /// @author Nick Avramoussis, Francisco Gochez, Dan Bailey
5 ///
6 /// @file points/PointSample.h
7 ///
8 /// @brief Sample a VDB Grid onto a VDB Points attribute
9
10 #ifndef OPENVDB_POINTS_POINT_SAMPLE_HAS_BEEN_INCLUDED
11 #define OPENVDB_POINTS_POINT_SAMPLE_HAS_BEEN_INCLUDED
12
13 #include "openvdb/util/NullInterrupter.h"
14 #include "openvdb/thread/Threading.h"
15 #include "openvdb/tools/Interpolation.h"
16
17 #include "PointDataGrid.h"
18 #include "PointAttribute.h"
19
20 #include <sstream>
21 #include <type_traits>
22
23 namespace openvdb {
24 OPENVDB_USE_VERSION_NAMESPACE
25 namespace OPENVDB_VERSION_NAME {
26 namespace points {
27
28