![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Functions | |
| int | SetCudaDevice (int device) |
| size_t | GetCudaMemoryCap () |
| int | CheckErrorCUDA (const char *location) |
| void | FinishWorkCUDA () |
| void | ClearPreviousError () |
| void | ResetCurrentDevice () |
| void | ClearTextureObjectCache () |
| void | GetBlockConfiguration (unsigned int nblock, unsigned int &bw, unsigned int &bh) |
| void | ComputeSQRT (CuTexImage &tex) |
| void | ComputeRSQRT (CuTexImage &tex) |
| void | ComputeVXY (CuTexImage &texX, CuTexImage &texY, CuTexImage &result, unsigned int part=0, unsigned int skip=0) |
| void | ComputeSAXPY (float a, CuTexImage &texX, CuTexImage &texY, CuTexImage &result) |
| void | ComputeSAX (float a, CuTexImage &texX, CuTexImage &result) |
| void | ComputeSXYPZ (float a, CuTexImage &texX, CuTexImage &texY, CuTexImage &texZ, CuTexImage &result) |
| float | ComputeVectorMax (CuTexImage &vector, CuTexImage &buf) |
| float | ComputeVectorSum (CuTexImage &vector, CuTexImage &buf, int skip) |
| double | ComputeVectorNorm (CuTexImage &vector, CuTexImage &buf) |
| double | ComputeVectorNormW (CuTexImage &vector, CuTexImage &weight, CuTexImage &buf) |
| double | ComputeVectorDot (CuTexImage &vector1, CuTexImage &vector2, CuTexImage &buf) |
| void | UncompressCamera (int ncam, CuTexImage &camera0, CuTexImage &result) |
| void | CompressCamera (int ncam, CuTexImage &camera0, CuTexImage &result) |
| void | UpdateCameraPoint (int ncam, CuTexImage &camera, CuTexImage &point, CuTexImage &delta, CuTexImage &new_camera, CuTexImage &new_point, int mode=0) |
| void | ComputeJacobian (CuTexImage &camera, CuTexImage &point, CuTexImage &jc, CuTexImage &jp, CuTexImage &proj_map, CuTexImage &sj, CuTexImage &meas, CuTexImage &cmlist, bool intrinsic_fixed, int radial_distortion, bool shuffle) |
| void | ComputeProjection (CuTexImage &camera, CuTexImage &point, CuTexImage &meas, CuTexImage &proj_map, CuTexImage &proj, int radial) |
| void | ComputeProjectionX (CuTexImage &camera, CuTexImage &point, CuTexImage &meas, CuTexImage &proj_map, CuTexImage &proj, int radial) |
| bool | ShuffleCameraJacobian (CuTexImage &jc, CuTexImage &map, CuTexImage &result) |
| void | ComputeDiagonal (CuTexImage &jc, CuTexImage &cmap, CuTexImage &jp, CuTexImage &pmap, CuTexImage &cmlist, CuTexImage &jtjd, CuTexImage &jtjdi, bool jc_transpose, int radial, bool add_existing_diagc) |
| void | MultiplyBlockConditioner (int ncam, int npoint, CuTexImage &blocks, CuTexImage &vector, CuTexImage &result, int radial, int mode=0) |
| void | ComputeProjectionQ (CuTexImage &camera, CuTexImage &qmap, CuTexImage &qw, CuTexImage &proj, int offset) |
| void | ComputeJQX (CuTexImage &x, CuTexImage &qmap, CuTexImage &wq, CuTexImage &sj, CuTexImage &jx, int offset) |
| void | ComputeJQtEC (CuTexImage &pe, CuTexImage &qlist, CuTexImage &wq, CuTexImage &sj, CuTexImage &result) |
| void | ComputeDiagonalQ (CuTexImage &qlistw, CuTexImage &sj, CuTexImage &diag) |
| void | ComputeJX (int point_offset, CuTexImage &x, CuTexImage &jc, CuTexImage &jp, CuTexImage &jmap, CuTexImage &result, int mode=0) |
| void | ComputeJtE (CuTexImage &pe, CuTexImage &jc, CuTexImage &cmap, CuTexImage &cmlist, CuTexImage &jp, CuTexImage &pmap, CuTexImage &jte, bool jc_transpose, int mode=0) |
| void | ComputeDiagonalBlock (float lambda, bool dampd, CuTexImage &jc, CuTexImage &cmap, CuTexImage &jp, CuTexImage &pmap, CuTexImage &cmlist, CuTexImage &diag, CuTexImage &blocks, int radial_distortion, bool jc_transpose, bool add_existing_diagc, int mode=0) |
| void | ComputeJX_ (CuTexImage &x, CuTexImage &jx, CuTexImage &camera, CuTexImage &point, CuTexImage &meas, CuTexImage &pjmap, bool intrinsic_fixed, int radial_distortion, int mode=0) |
| void | ComputeJtE_ (CuTexImage &e, CuTexImage &jte, CuTexImage &camera, CuTexImage &point, CuTexImage &meas, CuTexImage &cmap, CuTexImage &cmlist, CuTexImage &pmap, CuTexImage &jmap, CuTexImage &jp, bool intrinsic_fixed, int radial_distortion, int mode=0) |
| void | ComputeDiagonalBlock_ (float lambda, bool dampd, CuTexImage &camera, CuTexImage &point, CuTexImage &meas, CuTexImage &cmap, CuTexImage &cmlist, CuTexImage &pmap, CuTexImage &jmap, CuTexImage &jp, CuTexImage &sj, CuTexImage &diag, CuTexImage &blocks, bool intrinsic_fixed, int radial_distortion, bool add_existing_diagc, int mode=0) |
| int pba::ProgramCU::CheckErrorCUDA | ( | const char * | location | ) |
| void pba::ProgramCU::ClearPreviousError | ( | ) |
Referenced by pba::SparseBundleCU::InitializeBundleGPU().
| void pba::ProgramCU::ClearTextureObjectCache | ( | ) |
Referenced by pba::SparseBundleCU::ReleaseAllocatedData().
| void pba::ProgramCU::CompressCamera | ( | int | ncam, |
| CuTexImage & | camera0, | ||
| CuTexImage & | result | ||
| ) |
| void pba::ProgramCU::ComputeDiagonal | ( | CuTexImage & | jc, |
| CuTexImage & | cmap, | ||
| CuTexImage & | jp, | ||
| CuTexImage & | pmap, | ||
| CuTexImage & | cmlist, | ||
| CuTexImage & | jtjd, | ||
| CuTexImage & | jtjdi, | ||
| bool | jc_transpose, | ||
| int | radial, | ||
| bool | add_existing_diagc | ||
| ) |
Referenced by pba::SparseBundleCU::ComputeDiagonal().
| void pba::ProgramCU::ComputeDiagonalBlock | ( | float | lambda, |
| bool | dampd, | ||
| CuTexImage & | jc, | ||
| CuTexImage & | cmap, | ||
| CuTexImage & | jp, | ||
| CuTexImage & | pmap, | ||
| CuTexImage & | cmlist, | ||
| CuTexImage & | diag, | ||
| CuTexImage & | blocks, | ||
| int | radial_distortion, | ||
| bool | jc_transpose, | ||
| bool | add_existing_diagc, | ||
| int | mode = 0 |
||
| ) |
Referenced by pba::SparseBundleCU::ComputeBlockPC().
| void pba::ProgramCU::ComputeDiagonalBlock_ | ( | float | lambda, |
| bool | dampd, | ||
| CuTexImage & | camera, | ||
| CuTexImage & | point, | ||
| CuTexImage & | meas, | ||
| CuTexImage & | cmap, | ||
| CuTexImage & | cmlist, | ||
| CuTexImage & | pmap, | ||
| CuTexImage & | jmap, | ||
| CuTexImage & | jp, | ||
| CuTexImage & | sj, | ||
| CuTexImage & | diag, | ||
| CuTexImage & | blocks, | ||
| bool | intrinsic_fixed, | ||
| int | radial_distortion, | ||
| bool | add_existing_diagc, | ||
| int | mode = 0 |
||
| ) |
Referenced by pba::SparseBundleCU::ComputeBlockPC().
| void pba::ProgramCU::ComputeDiagonalQ | ( | CuTexImage & | qlistw, |
| CuTexImage & | sj, | ||
| CuTexImage & | diag | ||
| ) |
Referenced by pba::SparseBundleCU::ComputeBlockPC(), and pba::SparseBundleCU::ComputeDiagonal().
| void pba::ProgramCU::ComputeJacobian | ( | CuTexImage & | camera, |
| CuTexImage & | point, | ||
| CuTexImage & | jc, | ||
| CuTexImage & | jp, | ||
| CuTexImage & | proj_map, | ||
| CuTexImage & | sj, | ||
| CuTexImage & | meas, | ||
| CuTexImage & | cmlist, | ||
| bool | intrinsic_fixed, | ||
| int | radial_distortion, | ||
| bool | shuffle | ||
| ) |
Referenced by pba::SparseBundleCU::EvaluateJacobians().
| void pba::ProgramCU::ComputeJQtEC | ( | CuTexImage & | pe, |
| CuTexImage & | qlist, | ||
| CuTexImage & | wq, | ||
| CuTexImage & | sj, | ||
| CuTexImage & | result | ||
| ) |
Referenced by pba::SparseBundleCU::ComputeJtE().
| void pba::ProgramCU::ComputeJQX | ( | CuTexImage & | x, |
| CuTexImage & | qmap, | ||
| CuTexImage & | wq, | ||
| CuTexImage & | sj, | ||
| CuTexImage & | jx, | ||
| int | offset | ||
| ) |
Referenced by pba::SparseBundleCU::ComputeJX().
| void pba::ProgramCU::ComputeJtE | ( | CuTexImage & | pe, |
| CuTexImage & | jc, | ||
| CuTexImage & | cmap, | ||
| CuTexImage & | cmlist, | ||
| CuTexImage & | jp, | ||
| CuTexImage & | pmap, | ||
| CuTexImage & | jte, | ||
| bool | jc_transpose, | ||
| int | mode = 0 |
||
| ) |
Referenced by pba::SparseBundleCU::ComputeJtE().
| void pba::ProgramCU::ComputeJtE_ | ( | CuTexImage & | e, |
| CuTexImage & | jte, | ||
| CuTexImage & | camera, | ||
| CuTexImage & | point, | ||
| CuTexImage & | meas, | ||
| CuTexImage & | cmap, | ||
| CuTexImage & | cmlist, | ||
| CuTexImage & | pmap, | ||
| CuTexImage & | jmap, | ||
| CuTexImage & | jp, | ||
| bool | intrinsic_fixed, | ||
| int | radial_distortion, | ||
| int | mode = 0 |
||
| ) |
Referenced by pba::SparseBundleCU::ComputeJtE().
| void pba::ProgramCU::ComputeJX | ( | int | point_offset, |
| CuTexImage & | x, | ||
| CuTexImage & | jc, | ||
| CuTexImage & | jp, | ||
| CuTexImage & | jmap, | ||
| CuTexImage & | result, | ||
| int | mode = 0 |
||
| ) |
Referenced by pba::SparseBundleCU::ComputeJX().
| void pba::ProgramCU::ComputeJX_ | ( | CuTexImage & | x, |
| CuTexImage & | jx, | ||
| CuTexImage & | camera, | ||
| CuTexImage & | point, | ||
| CuTexImage & | meas, | ||
| CuTexImage & | pjmap, | ||
| bool | intrinsic_fixed, | ||
| int | radial_distortion, | ||
| int | mode = 0 |
||
| ) |
Referenced by pba::SparseBundleCU::ComputeJX().
| void pba::ProgramCU::ComputeProjection | ( | CuTexImage & | camera, |
| CuTexImage & | point, | ||
| CuTexImage & | meas, | ||
| CuTexImage & | proj_map, | ||
| CuTexImage & | proj, | ||
| int | radial | ||
| ) |
Referenced by pba::SparseBundleCU::EvaluateProjection().
| void pba::ProgramCU::ComputeProjectionQ | ( | CuTexImage & | camera, |
| CuTexImage & | qmap, | ||
| CuTexImage & | qw, | ||
| CuTexImage & | proj, | ||
| int | offset | ||
| ) |
Referenced by pba::SparseBundleCU::EvaluateProjection(), and pba::SparseBundleCU::EvaluateProjectionX().
| void pba::ProgramCU::ComputeProjectionX | ( | CuTexImage & | camera, |
| CuTexImage & | point, | ||
| CuTexImage & | meas, | ||
| CuTexImage & | proj_map, | ||
| CuTexImage & | proj, | ||
| int | radial | ||
| ) |
Referenced by pba::SparseBundleCU::EvaluateProjectionX().
| void pba::ProgramCU::ComputeRSQRT | ( | CuTexImage & | tex | ) |
Referenced by pba::SparseBundleCU::PrepareJacobianNormalization().
| void pba::ProgramCU::ComputeSAX | ( | float | a, |
| CuTexImage & | texX, | ||
| CuTexImage & | result | ||
| ) |
| void pba::ProgramCU::ComputeSAXPY | ( | float | a, |
| CuTexImage & | texX, | ||
| CuTexImage & | texY, | ||
| CuTexImage & | result | ||
| ) |
| void pba::ProgramCU::ComputeSQRT | ( | CuTexImage & | tex | ) |
Referenced by pba::SparseBundleCU::PrepareJacobianNormalization().
| void pba::ProgramCU::ComputeSXYPZ | ( | float | a, |
| CuTexImage & | texX, | ||
| CuTexImage & | texY, | ||
| CuTexImage & | texZ, | ||
| CuTexImage & | result | ||
| ) |
| double pba::ProgramCU::ComputeVectorDot | ( | CuTexImage & | vector1, |
| CuTexImage & | vector2, | ||
| CuTexImage & | buf | ||
| ) |
| float pba::ProgramCU::ComputeVectorMax | ( | CuTexImage & | vector, |
| CuTexImage & | buf | ||
| ) |
Referenced by pba::SparseBundleCU::SaveBundleRecord().
| double pba::ProgramCU::ComputeVectorNorm | ( | CuTexImage & | vector, |
| CuTexImage & | buf | ||
| ) |
Referenced by pba::SparseBundleCU::EvaluateDeltaNorm(), pba::SparseBundleCU::EvaluateProjection(), pba::SparseBundleCU::EvaluateProjectionX(), pba::SparseBundleCU::RunProfileSteps(), pba::SparseBundleCU::RunTestIterationLM(), pba::SparseBundleCU::SaveBundleRecord(), pba::SparseBundleCU::SaveUpdatedSystem(), pba::SparseBundleCU::SolveNormalEquationPCGB(), and pba::SparseBundleCU::SolveNormalEquationPCGX().
| double pba::ProgramCU::ComputeVectorNormW | ( | CuTexImage & | vector, |
| CuTexImage & | weight, | ||
| CuTexImage & | buf | ||
| ) |
| float pba::ProgramCU::ComputeVectorSum | ( | CuTexImage & | vector, |
| CuTexImage & | buf, | ||
| int | skip | ||
| ) |
| void pba::ProgramCU::ComputeVXY | ( | CuTexImage & | texX, |
| CuTexImage & | texY, | ||
| CuTexImage & | result, | ||
| unsigned int | part = 0, |
||
| unsigned int | skip = 0 |
||
| ) |
| void pba::ProgramCU::FinishWorkCUDA | ( | ) |
Referenced by pba::SparseBundleCU::RunProfileSteps().
| void pba::ProgramCU::GetBlockConfiguration | ( | unsigned int | nblock, |
| unsigned int & | bw, | ||
| unsigned int & | bh | ||
| ) |
| size_t pba::ProgramCU::GetCudaMemoryCap | ( | ) |
Referenced by pba::SparseBundleCU::CheckRequiredMem(), and pba::SparseBundleCU::GetMemCapacity().
| void pba::ProgramCU::MultiplyBlockConditioner | ( | int | ncam, |
| int | npoint, | ||
| CuTexImage & | blocks, | ||
| CuTexImage & | vector, | ||
| CuTexImage & | result, | ||
| int | radial, | ||
| int | mode = 0 |
||
| ) |
Referenced by pba::SparseBundleCU::ApplyBlockPC().
| void pba::ProgramCU::ResetCurrentDevice | ( | ) |
Referenced by pba::SparseBundleCU::ReleaseAllocatedData().
| int pba::ProgramCU::SetCudaDevice | ( | int | device | ) |
| bool pba::ProgramCU::ShuffleCameraJacobian | ( | CuTexImage & | jc, |
| CuTexImage & | map, | ||
| CuTexImage & | result | ||
| ) |
Referenced by pba::SparseBundleCU::EvaluateJacobians(), and pba::SparseBundleCU::RunProfileSteps().
| void pba::ProgramCU::UncompressCamera | ( | int | ncam, |
| CuTexImage & | camera0, | ||
| CuTexImage & | result | ||
| ) |
| void pba::ProgramCU::UpdateCameraPoint | ( | int | ncam, |
| CuTexImage & | camera, | ||
| CuTexImage & | point, | ||
| CuTexImage & | delta, | ||
| CuTexImage & | new_camera, | ||
| CuTexImage & | new_point, | ||
| int | mode = 0 |
||
| ) |
Referenced by pba::SparseBundleCU::UpdateCameraPoint().