You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
678 B

/**
* ------------------------------------
* @author: Weipeng Kong
* @date: 2021/11/30
* @email: yjxkwp@foxmail.com
* @site: https://donot.fit
* @description:
* ------------------------------------
**/
#ifndef OCTREE_UDFDATA_H
#define OCTREE_UDFDATA_H
#include <vector>
#include <Eigen/Core>
#include <Eigen/Dense>
#include "Octree/VoxelDenseData.h"
namespace Octree {
/**
* All UDF value will be sampled use coordinate [0, 1]^3
*/
class UDFData : public VoxelDenseData {
friend class UDFTraversalBuilder;
public:
explicit UDFData(const std::vector<double> &value, int _x, int _y, int _z);
};
}
#endif //OCTREE_UDFDATA_H