cheshirekow  v0.1.0
mpblocks::cuda_cert Namespace Reference

Namespaces

 kernels
 

Classes

struct  CertDef
 global offset of and size of vertex and face buffer for a particular certificate volume More...
 
class  CertSet
 provides a convenience interface for managing a set of workspace certificates in GPU memory, and dispatching brute force CUDA searches on that point set More...
 
class  CertSet2
 provides a convenience interface for managing a set of workspace certificates in GPU memory, and dispatching brute force CUDA searches on that point set More...
 
struct  FaceFinishTag
 
struct  FaceSurrogate
 
struct  FinishTag
 
struct  SetDef
 global offset of and size of buffer for a vertex set or a face set More...
 
struct  VertexFinishTag
 
struct  VertexSurrogate
 

Typedefs

typedef std::map< std::string,
cuda::FuncAttributes
fattrMap_t
 
typedef cuda::linalg2::Matrix
< float, 3, 3 > 
Matrix3f
 check if the specified certificate is in collision More...
 
typedef unsigned int uint_t
 
typedef cuda::linalg2::Matrix
< float, 3, 1 > 
Vector3f
 

Functions

template<class ArrayLike , class Scalar >
FaceSurrogate< ArrayLike, Scalar > face (const ArrayLike &n, const Scalar &d)
 
void get_fattr (fattrMap_t &map)
 
int inContact (CertSet &certset, uint_t cert, const Matrix3f &R0, const Matrix3f &Rv, const Vector3f &T0, const Vector3f &dT, float gamma, float dilate)
 
int inContact (CertSet2 &certset, uint_t obj, uint_t cert, const Matrix3f &R0, const Matrix3f &Rv, const Vector3f &T0, const Vector3f &dT, float gamma)
 check if the specified certificate is in collision More...
 
int inContact_dbg (CertSet &certset, uint_t cert, const Matrix3f &R0, const Matrix3f &Rv, const Vector3f &T0, const Vector3f &dT, float gamma, float dilate)
 
int inContact_dbg (CertSet2 &certset, uint_t obj, uint_t cert, const Matrix3f &R0, const Matrix3f &Rv, const Vector3f &T0, const Vector3f &dT, float gamma)
 
CertSetoperator<< (CertSet &set, FinishTag)
 
CertSet2operator<< (CertSet2 &set, VertexFinishTag)
 
CertSet2operator<< (CertSet2 &set, FaceFinishTag)
 
template<class ArrayLike >
CertSet2operator<< (CertSet2 &set, const VertexSurrogate< ArrayLike > &vs)
 
template<class ArrayLike , typename Scalar >
CertSet2operator<< (CertSet2 &set, const FaceSurrogate< ArrayLike, Scalar > &fs)
 
template<class ArrayLike >
CertSetoperator<< (CertSet &set, const VertexSurrogate< ArrayLike > &vs)
 
template<class ArrayLike , typename Scalar >
CertSetoperator<< (CertSet &set, const FaceSurrogate< ArrayLike, Scalar > &fs)
 
template<class ArrayLike >
VertexSurrogate< ArrayLike > vertex (const ArrayLike &v)
 

Variables

const FaceFinishTag F_FINISH = FaceFinishTag()
 
const FinishTag FINISH = FinishTag()
 
const uint_t host_numDebugThreads = 10
 
const uint_t host_sizeDebugBuffer = sizeDebugOutput*numDebugThreads
 
const uint_t host_sizeDebugOutput = 70
 
__device__ const uint_t numDebugThreads = 10
 
__device__ const uint_t sizeDebugBuffer = sizeDebugOutput*numDebugThreads
 
__device__ const uint_t sizeDebugOutput = 70
 
const VertexFinishTag V_FINISH = VertexFinishTag()
 

Typedef Documentation

Definition at line 35 of file fattr.h.

check if the specified certificate is in collision

Definition at line 40 of file dispatch.h.

typedef unsigned int mpblocks::cuda_cert::uint_t

Definition at line 38 of file CertSet.h.

Definition at line 41 of file dispatch.h.

Function Documentation

template<class ArrayLike , class Scalar >
FaceSurrogate<ArrayLike,Scalar> mpblocks::cuda_cert::face ( const ArrayLike &  n,
const Scalar &  d 
)
inline

Definition at line 167 of file CertSet.h.

void mpblocks::cuda_cert::get_fattr ( fattrMap_t &  map)

Definition at line 90 of file fattr.cu.hpp.

int mpblocks::cuda_cert::inContact ( CertSet &  certset,
uint_t  cert,
const Matrix3f &  R0,
const Matrix3f &  Rv,
const Vector3f &  T0,
const Vector3f &  dT,
float  gamma,
float  dilate 
)
int mpblocks::cuda_cert::inContact ( CertSet2 &  certset,
uint_t  obj,
uint_t  cert,
const Matrix3f &  R0,
const Matrix3f &  Rv,
const Vector3f &  T0,
const Vector3f &  dT,
float  gamma 
)

check if the specified certificate is in collision

int mpblocks::cuda_cert::inContact_dbg ( CertSet &  certset,
uint_t  cert,
const Matrix3f &  R0,
const Matrix3f &  Rv,
const Vector3f &  T0,
const Vector3f &  dT,
float  gamma,
float  dilate 
)
int mpblocks::cuda_cert::inContact_dbg ( CertSet2 &  certset,
uint_t  obj,
uint_t  cert,
const Matrix3f &  R0,
const Matrix3f &  Rv,
const Vector3f &  T0,
const Vector3f &  dT,
float  gamma 
)
CertSet& mpblocks::cuda_cert::operator<< ( CertSet &  set,
FinishTag   
)
inline

Definition at line 136 of file CertSet.h.

CertSet2& mpblocks::cuda_cert::operator<< ( CertSet2 &  set,
VertexFinishTag   
)
inline

Definition at line 141 of file CertSet2.h.

CertSet2& mpblocks::cuda_cert::operator<< ( CertSet2 &  set,
FaceFinishTag   
)
inline

Definition at line 147 of file CertSet2.h.

template<class ArrayLike >
CertSet2& mpblocks::cuda_cert::operator<< ( CertSet2 &  set,
const VertexSurrogate< ArrayLike > &  vs 
)
inline

Definition at line 154 of file CertSet2.h.

template<class ArrayLike , typename Scalar >
CertSet2& mpblocks::cuda_cert::operator<< ( CertSet2 &  set,
const FaceSurrogate< ArrayLike, Scalar > &  fs 
)
inline

Definition at line 164 of file CertSet2.h.

template<class ArrayLike >
CertSet& mpblocks::cuda_cert::operator<< ( CertSet &  set,
const VertexSurrogate< ArrayLike > &  vs 
)
inline

Definition at line 173 of file CertSet.h.

template<class ArrayLike , typename Scalar >
CertSet& mpblocks::cuda_cert::operator<< ( CertSet &  set,
const FaceSurrogate< ArrayLike, Scalar > &  fs 
)
inline

Definition at line 183 of file CertSet.h.

template<class ArrayLike >
VertexSurrogate<ArrayLike> mpblocks::cuda_cert::vertex ( const ArrayLike &  v)
inline

Definition at line 151 of file CertSet.h.

Variable Documentation

const FaceFinishTag mpblocks::cuda_cert::F_FINISH = FaceFinishTag()

Definition at line 139 of file CertSet2.h.

const FinishTag mpblocks::cuda_cert::FINISH = FinishTag()

Definition at line 134 of file CertSet.h.

const uint_t mpblocks::cuda_cert::host_numDebugThreads = 10

Definition at line 40 of file debug.h.

const uint_t mpblocks::cuda_cert::host_sizeDebugBuffer = sizeDebugOutput*numDebugThreads

Definition at line 42 of file debug.h.

const uint_t mpblocks::cuda_cert::host_sizeDebugOutput = 70

Definition at line 41 of file debug.h.

__device__ const uint_t mpblocks::cuda_cert::numDebugThreads = 10

Definition at line 36 of file debug.h.

__device__ const uint_t mpblocks::cuda_cert::sizeDebugBuffer = sizeDebugOutput*numDebugThreads

Definition at line 38 of file debug.h.

__device__ const uint_t mpblocks::cuda_cert::sizeDebugOutput = 70

Definition at line 37 of file debug.h.

const VertexFinishTag mpblocks::cuda_cert::V_FINISH = VertexFinishTag()

Definition at line 138 of file CertSet2.h.