Skip to content

namespace drt

Summary

Members Descriptions
pd3::resultaggregate_indices(Eigen::Vector2i *, int &, const Config &) API Exposure internally called the sized functions.
template<int>
pd3::resultraycast(const Deformation *, cv::cuda::PtrStepSz< double >, const ::drt::config::proto::Config)
Compute raytrace with the provided configuration.
template<int>
pd3::resultraycast(const Deformation *, const std::vector< Eigen::Vector3i > &, cv::cuda::PtrStepSz< double >, const ::drt::config::proto::Config)
Provided a list of factors, compute the micro-XRD scattering patterns.
template<int>
pd3::resultlog_deviation(const Deformation *, const std::string, const int)
Calculate the deviation on a per voxel basis and output to a file.
template<int>
pd3::resultcompute_deviation(const Deformation *, std::vector< double > &, const int)
Calculate the deviation on a per voxel basis with default factors.
template<int>
pd3::resultcompute_deviation(const Deformation *, const std::vector< Eigen::Vector3i > &, std::vector< double > &, const int)
Calculate the deviation on a per voxel basis with provided factors.

Members

aggregate_indices

pd3::result aggregate_indices(Eigen::Vector2i * indices_dev, int & max_total, const Config &)

API Exposure internally called the sized functions.

raycast

template<int threads>
pd3::result raycast(const Deformation * deformations, cv::cuda::PtrStepSz< double > canvas, const ::drt::config::proto::Config config)

Compute raytrace with the provided configuration.

raycast

template<int threads>
pd3::result raycast(const Deformation * deformations, const std::vector< Eigen::Vector3i > & factors, cv::cuda::PtrStepSz< double > canvas, const ::drt::config::proto::Config config)

Provided a list of factors, compute the micro-XRD scattering patterns.

log_deviation

template<int threads>
pd3::result log_deviation(const Deformation * deformations_dev, const std::string log_location, const int voxel_total_count)

Calculate the deviation on a per voxel basis and output to a file.

compute_deviation

template<int threads>
pd3::result compute_deviation(const Deformation *, std::vector< double > & result, const int voxel_total_count)

Calculate the deviation on a per voxel basis with default factors.

compute_deviation

template<int threads>
pd3::result compute_deviation(const Deformation *, const std::vector< Eigen::Vector3i > & factors, std::vector< double > & result, const int voxel_total_count)

Calculate the deviation on a per voxel basis with provided factors.