HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_UVUtils.h File Reference
#include "GU_API.h"
#include <UT/UT_Matrix.h>
#include <UT/UT_SparseMatrix.h>
#include <Eigen/Sparse>
#include <functional>
+ Include dependency graph for GU_UVUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 GU_UVUtils
 

Typedefs

template<typename T >
using GU_UVUtils::GetFunctor = std::function< T(int)>
 
template<typename T >
using GU_UVUtils::SetFunctor = std::function< void(int, T)>
 
template<typename T >
using GU_UVUtils::VectorT = UT_VectorT< T >
 
using GU_UVUtils::VectorR = VectorT< fpreal >
 
template<typename T >
using GU_UVUtils::MatrixT = UT_MatrixT< T >
 
using GU_UVUtils::MatrixR = MatrixT< fpreal >
 
template<typename T >
using GU_UVUtils::SparseMatrixT = UT_SparseMatrixCSRT< T >
 
using GU_UVUtils::SparseMatrixR = SparseMatrixT< fpreal >
 
using GU_UVUtils::TripletR = SparseMatrixR::Triplet
 
using GU_UVUtils::TripletRArray = UT_Array< TripletR >
 
template<typename T >
using GU_UVUtils::EVectorT = Eigen::Matrix< T, Eigen::Dynamic, 1 >
 
using GU_UVUtils::EVectorR = EVectorT< fpreal >
 
template<typename T >
using GU_UVUtils::EMatrixT = Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic >
 
using GU_UVUtils::EMatrixR = EMatrixT< fpreal >
 
template<typename T >
using GU_UVUtils::ESparseMatrixT = Eigen::SparseMatrix< T >
 
template<typename T >
using GU_UVUtils::ETripletT = Eigen::Triplet< T >
 
using GU_UVUtils::ESparseMatrixR = ESparseMatrixT< fpreal >
 
using GU_UVUtils::ETripletR = ETripletT< fpreal >
 
using GU_UVUtils::ETripletRArray = UT_Array< ETripletR >
 

Functions

template<typename T >
GU_API UT_Vector2T< T > GU_UVUtils::trianglesSymmetryAxis (int num_tris, const GetFunctor< UT_Vector2T< T > > &get_pt_pos, UT_Vector2T< T > *centroid=nullptr, T max_eigen_ratio=T(0.99))
 
template<typename T >
GU_API UT_Vector2T< T > GU_UVUtils::segmentsSymmetryAxis (int num_segs, const GetFunctor< UT_Vector2T< T > > &get_pt_pos, UT_Vector2T< T > *centroid=nullptr, T max_eigen_ratio=T(0.99))
 
template<typename T >
GU_API UT_Vector2T< T > GU_UVUtils::pointsMinAreaBoundingBoxAxis (int num_points, const GetFunctor< UT_Vector2T< T > > &get_pt_pos)
 
template<typename T >
GU_API UT_Vector2T< T > GU_UVUtils::vectorsOrthoAxis (int num_vectors, const GetFunctor< UT_Vector2T< T > > &get_vector)