Lines Matching refs:float3
56 __constant__ float3 crot0;
57 __constant__ float3 crot1;
58 __constant__ float3 crot2;
59 __constant__ float3 ctransl;
61 struct TransformOp : unary_function<float3, float3>
63 __device__ __forceinline__ float3 operator()(const float3& p) const in operator ()()
74 void call(const PtrStepSz<float3> src, const float* rot, in call()
75 const float* transl, PtrStepSz<float3> dst, in call()
88 __constant__ float3 crot0;
89 __constant__ float3 crot1;
90 __constant__ float3 crot2;
91 __constant__ float3 ctransl;
92 __constant__ float3 cproj0;
93 __constant__ float3 cproj1;
95 struct ProjectOp : unary_function<float3, float3>
97 __device__ __forceinline__ float2 operator()(const float3& p) const in operator ()()
100 float3 t = make_float3( in operator ()()
113 void call(const PtrStepSz<float3> src, const float* rot, in call()
129 __constant__ float3 crot_matrices[SOLVE_PNP_RANSAC_MAX_NUM_ITERS * 3];
130 __constant__ float3 ctransl_vectors[SOLVE_PNP_RANSAC_MAX_NUM_ITERS];
144 const int num_points, const float3* object, const float2* image, in computeHypothesisScoresKernel()
147 const float3* const &rot_mat = crot_matrices + blockIdx.x * 3; in computeHypothesisScoresKernel()
148 const float3 &transl_vec = ctransl_vectors[blockIdx.x]; in computeHypothesisScoresKernel()
153 float3 p = object[i]; in computeHypothesisScoresKernel()
174 const float3* transl_vectors, const float3* object, const float2* image, in computeHypothesisScores()
177 …cudaSafeCall(cudaMemcpyToSymbol(crot_matrices, rot_matrices, num_hypotheses * 3 * sizeof(float3))); in computeHypothesisScores()
178 …cudaSafeCall(cudaMemcpyToSymbol(ctransl_vectors, transl_vectors, num_hypotheses * sizeof(float3))); in computeHypothesisScores()