![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
3D Vector (templated version) More...
#include <CVGeom.h>


Public Member Functions | |
| Vector3Tpl () | |
| Default constructor. More... | |
| Vector3Tpl (Type _x, Type _y, Type _z) | |
| Constructor from a triplet of coordinates. More... | |
| Vector3Tpl (const Type p[]) | |
| Constructor from an array of 3 elements. More... | |
| Vector3Tpl (const Vector2Tpl< Type > &t2D, Type c) | |
| Constructor from a 2D vector (and a third value) More... | |
| operator Vector3Tpl< double > () const | |
| Vector3Tpl< double > | toDouble () const |
| Cast operator to a double vector (explicit call version) More... | |
| Vector3Tpl< float > | toFloat () const |
| Vector3Tpl< PointCoordinateType > | toPC () const |
| Vector3Tpl (const Eigen::Matrix< float, 3, 1 > &v) | |
| Copy Function. More... | |
| Vector3Tpl (const Eigen::Matrix< double, 3, 1 > &v) | |
| Vector3Tpl & | operator= (const Eigen::Matrix< double, 3, 1 > &v) |
| Assignment Function. More... | |
| Vector3Tpl & | operator= (const Eigen::Matrix< float, 3, 1 > &v) |
| Vector3Tpl & | operator+= (const Eigen::Matrix< double, 3, 1 > &v) |
| In-place addition operator. More... | |
| Vector3Tpl & | operator-= (const Eigen::Matrix< double, 3, 1 > &v) |
| In-place subtraction operator. More... | |
| Vector3Tpl & | operator*= (const Eigen::Matrix< double, 3, 1 > &v) |
| In-place product operator. More... | |
| Vector3Tpl | operator- (const Eigen::Matrix< double, 3, 1 > &v) const |
| Subtraction operator. More... | |
| Vector3Tpl | operator+ (const Eigen::Matrix< double, 3, 1 > &v) const |
| Addition operator. More... | |
| Vector3Tpl | operator* (const Eigen::Matrix< double, 3, 1 > &v) const |
| Cross product operator. More... | |
| Type | operator&& (const Eigen::Matrix< double, 3, 1 > &v) const |
| Dot product operator. More... | |
| Type & | operator() (unsigned i) |
| Direct coordinate access. More... | |
| const Type & | operator() (unsigned i) const |
| Direct coordinate access (const) More... | |
| Type | maxCoeff () const |
| x,y,z maximum More... | |
| Type | prod () const |
| x,y,z product More... | |
| Type | dot (const Vector3Tpl &v) const |
| Dot product. More... | |
| Vector3Tpl | cross (const Vector3Tpl &v) const |
| Cross product. More... | |
| Type | norm2 () const |
| Returns vector square norm. More... | |
| double | norm2d () const |
| Returns vector square norm (forces double precision output) More... | |
| Type | norm () const |
| Returns vector norm. More... | |
| double | normd () const |
| Returns vector norm (forces double precision output) More... | |
| void | normalize () |
| Sets vector norm to unity. More... | |
| Vector3Tpl | orthogonal () const |
| Returns a normalized vector which is orthogonal to this one. More... | |
| Vector3Tpl | operator- () const |
| Inverse operator. More... | |
| Vector3Tpl & | operator+= (const Vector3Tpl &v) |
| In-place addition operator. More... | |
| Vector3Tpl & | operator-= (const Vector3Tpl &v) |
| In-place subtraction operator. More... | |
| Vector3Tpl & | operator*= (Type v) |
| In-place multiplication (by a scalar) operator. More... | |
| Vector3Tpl & | operator/= (Type v) |
| In-place division (by a scalar) operator. More... | |
| Vector3Tpl | operator+ (const Vector3Tpl &v) const |
| Addition operator. More... | |
| Vector3Tpl | operator- (const Vector3Tpl &v) const |
| Subtraction operator. More... | |
| Vector3Tpl | operator* (Type s) const |
| Multiplication operator. More... | |
| Vector3Tpl | operator/ (Type s) const |
| Division operator. More... | |
| Vector3Tpl | operator* (const Vector3Tpl &v) const |
| Cross product operator. More... | |
| Type | operator&& (const Vector3Tpl &v) const |
| Dot product operator. More... | |
| Type & | operator[] (unsigned i) |
| Direct coordinate access. More... | |
| const Type & | operator[] (unsigned i) const |
| Direct coordinate access (const) More... | |
| Type | angle_rad (const Vector3Tpl &v) const |
| Returns the angle to another vector (in radians - in [0, pi]. More... | |
| double | angle_radd (const Vector3Tpl &v) const |
Public Member Functions inherited from Tuple3Tpl< Type > | |
| std::size_t | rows () const |
| std::size_t | dimensions () const |
| Type * | data () |
| const Type * | data () const |
| Tuple3Tpl () | |
| Default constructor. More... | |
| Tuple3Tpl (Type a, Type b, Type c) | |
| Constructor from a triplet of values. More... | |
| Tuple3Tpl (const Type p[]) | |
| Constructor from an array of 3 elements. More... | |
| Tuple3Tpl | operator- () const |
| Inverse operator. More... | |
| Tuple3Tpl & | operator+= (const Tuple3Tpl &v) |
| In-place addition operator. More... | |
| Tuple3Tpl & | operator-= (const Tuple3Tpl &v) |
| In-place subtraction operator. More... | |
| Tuple3Tpl & | operator*= (Type v) |
| In-place multiplication (by a scalar) operator. More... | |
| Tuple3Tpl & | operator/= (Type v) |
| In-place division (by a scalar) operator. More... | |
| Tuple3Tpl | operator+ (const Tuple3Tpl &v) const |
| Addition operator. More... | |
| Tuple3Tpl | operator- (const Tuple3Tpl &v) const |
| Subtraction operator. More... | |
| Tuple3Tpl | operator* (Type s) const |
| Multiplication operator. More... | |
| Tuple3Tpl | operator/ (Type s) const |
| Division operator. More... | |
Static Public Member Functions | |
| static Vector3Tpl | fromArray (const int a[3]) |
| Constructor from an int array. More... | |
| static Vector3Tpl | fromArray (const float a[3]) |
| Constructor from a float array. More... | |
| static Vector3Tpl | fromArray (const double a[3]) |
| Constructor from a double array. More... | |
| static Vector3Tpl | fromArray (const Eigen::Matrix< double, 3, 1 > &a) |
| Constructor from a Eigen vector. More... | |
| static Eigen::Matrix< Type, 3, 1 > | fromArray (const Vector3Tpl< float > &a) |
| static Eigen::Matrix< Type, 3, 1 > | fromArray (const Vector3Tpl< double > &a) |
| static std::vector< Eigen::Matrix< double, 3, 1 > > | fromArrayContainer (const std::vector< Vector3Tpl< Type >> &container) |
| static std::vector< Vector3Tpl > | fromArrayContainer (const std::vector< Eigen::Matrix< double, 3, 1 >> &container) |
| static void | vdivide (const Type p[], Type s, Type r[]) |
| static void | vdivide (Type p[], Type s) |
| static void | vmultiply (const Type p[], Type s, Type r[]) |
| static void | vmultiply (Type p[], Type s) |
| static Type | vdot (const Type p[], const Type q[]) |
| static double | vdotd (const Type p[], const Type q[]) |
| static void | vcross (const Type p[], const Type q[], Type r[]) |
| static void | vcopy (const Type p[], Type q[]) |
| static void | vset (Type p[], Type s) |
| static void | vset (Type p[], Type x, Type y, Type z) |
| static void | vadd (const Type p[], const Type q[], Type r[]) |
| static void | vsubstract (const Type p[], const Type q[], Type r[]) |
| static void | vcombination (Type a, const Type p[], Type b, const Type q[], Type r[]) |
| static void | vcombination (const Type p[], Type b, const Type q[], Type r[]) |
| static void | vnormalize (Type p[]) |
| static Type | vnorm2 (const Type p[]) |
| static double | vnorm2d (const Type p[]) |
| static Type | vdistance2 (const Type p[], const Type q[]) |
| static double | vdistance2d (const Type p[], const Type q[]) |
| static Type | vnorm (const Type p[]) |
| static double | vnormd (const Type p[]) |
| static Type | vdistance (const Type p[], const Type q[]) |
| static double | vdistanced (const Type p[], const Type q[]) |
| static void | vorthogonal (const Type p[], Type q[]) |
| static Type | vangle_rad (const Type p[], const Type q[]) |
| static double | vangle_radd (const Type p[], const Type q[]) |
Additional Inherited Members | |
Public Attributes inherited from Tuple3Tpl< Type > | |
| union { | |
| struct { | |
| Type x | |
| Type y | |
| Type z | |
| } | |
| Type u [3] | |
| }; | |
3D Vector (templated version)
|
inline |
Default constructor.
Inits vector to (0, 0, 0).
Definition at line 235 of file CVGeom.h.
Referenced by Vector3Tpl< Type >::cross(), Vector3Tpl< Type >::fromArray(), Vector3Tpl< Type >::fromArrayContainer(), Vector3Tpl< Type >::operator*(), Vector3Tpl< Type >::operator+(), Vector3Tpl< Type >::operator-(), and Vector3Tpl< Type >::operator/().
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Returns the angle to another vector (in radians - in [0, pi].
Definition at line 497 of file CVGeom.h.
References Tuple3Tpl< Type >::u, and Vector3Tpl< Type >::vangle_rad().
|
inline |
Definition at line 498 of file CVGeom.h.
References Tuple3Tpl< Type >::u, and Vector3Tpl< Type >::vangle_radd().
|
inline |
Cross product.
Definition at line 412 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by PdmsTools::PdmsObjects::GenericItem::completeOrientation(), cloudViewer::CCMiscTools::ComputeBaseVectors(), ComputeFacetExtensions(), cloudViewer::Neighbourhood::computeLeastSquareBestFittingPlane(), cloudViewer::MeshSamplingTools::computeMeshArea(), cloudViewer::DistanceComputationTools::computePoint2TriangleDistance(), cloudViewer::GeometricalAnalysisTools::DetectCircle(), ccCompass::estimateStrain(), qFacets::exportFacets(), ccContourExtractor::ExtractFlatContour(), ccGLMatrixTpl< T >::FromToRotation(), ccGLMatrixTpl< T >::FromViewDirAndUpDir(), cloudViewer::DistanceComputationTools::intersectMeshWithOctree(), cloudViewer::Grid3D< Type >::intersectWith(), RDBFilter::loadFile(), ccBoundingBoxEditorDlg::onAxisValueChanged(), MainWindow::onItemPicked(), Vector3Tpl< Type >::operator*(), cloudViewer::Neighbourhood::projectPointsOn2DPlane(), Ray< T >::radialSquareDistance(), cloudViewer::RegistrationTools::RegistrationProcedure(), cloudViewer::MeshSamplingTools::samplePointsOnMesh(), Ray< T >::squareDistances(), ccLineation::updateMetadata(), and ccThickness::updateMetadata().
|
inline |
Dot product.
Definition at line 408 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by qCanupo2DViewDialog::addOrSelectPoint(), FacetsClassifier::CommputeHDistBetweenFacets(), cloudViewer::DistanceComputationTools::computeCloud2BoxEquation(), cloudViewer::DistanceComputationTools::computeCloud2ConeEquation(), cloudViewer::DistanceComputationTools::computeCloud2CylinderEquation(), cloudViewer::DistanceComputationTools::computeCloud2RectangleEquation(), ComputeFacetExtensions(), cloudViewer::Neighbourhood::computeLeastSquareBestFittingPlane(), cloudViewer::Neighbourhood::computeMomentOrder1(), cloudViewer::DistanceComputationTools::computePoint2LineSegmentDistSquared(), cloudViewer::DistanceComputationTools::computePoint2TriangleDistance(), FastMarchingForFacetExtraction::computeTCoefApprox(), qFacets::createFacets(), ccCropTool::Crop(), cloudViewer::GeometricalAnalysisTools::DetectCircle(), Plane::distance(), ccCompass::estimateStructureNormals(), cloudViewer::FPCSRegistrationTools::FindBase(), ccTrace::fitPlane(), ccGLMatrixTpl< T >::FromToRotation(), ccKdTreeForFacetExtraction::FuseCells(), cloudViewer::DgmOctree::getPointsInCylindricalNeighbourhood(), cloudViewer::DgmOctree::getPointsInCylindricalNeighbourhoodProgressive(), ccCompass::importFoliations(), ccCompassImport::importFoliations(), cloudViewer::DistanceComputationTools::intersectMeshWithOctree(), cloudViewer::Grid3D< Type >::intersectWith(), cloudViewer::FPCSRegistrationTools::LinesIntersections(), MainWindow::onItemPicked(), Vector3Tpl< Type >::operator&&(), OrientPointNormalWithCloud(), cloudViewer::Neighbourhood::projectPointsOn2DPlane(), cloudViewer::RegistrationTools::RegistrationProcedure(), ccLineation::updateMetadata(), ccThickness::updateMetadata(), and ccPlaneEditDlg::updatePlane().
|
inlinestatic |
Constructor from a double array.
Definition at line 278 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl().
|
inlinestatic |
Constructor from a Eigen vector.
Definition at line 284 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl().
|
inlinestatic |
Constructor from a float array.
Definition at line 273 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl().
|
inlinestatic |
Constructor from an int array.
Definition at line 268 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl().
Referenced by ccGLMatrixTpl< T >::getColumnAsVec3D(), Vector3Tpl< Type >::toFloat(), and Vector3Tpl< Type >::toPC().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 314 of file CVGeom.h.
References points, and Vector3Tpl< Type >::Vector3Tpl().
|
inlinestatic |
|
inline |
x,y,z maximum
Definition at line 402 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Returns vector norm.
Definition at line 424 of file CVGeom.h.
References Vector3Tpl< Type >::norm2d().
Referenced by qCanupo2DViewDialog::addOrSelectPoint(), cloudViewer::MeshSamplingTools::computeMeshArea(), ComputePMUncertainty(), cloudViewer::GeometricalAnalysisTools::ComputeSphereFrom4(), ccPointPair::drawMeOnly(), cloudViewer::BoundingBoxTpl< T >::getDiagNorm(), cloudViewer::BoundingBoxTpl< T >::minDistTo(), cloudViewer::GeometricalAnalysisTools::RefineSphereLS(), cloudViewer::FPCSRegistrationTools::RegisterClouds(), cloudViewer::RegistrationTools::RegistrationProcedure(), Plane::setCoefficients(), and qAnimationDlg::smoothTrajectory().
|
inline |
Returns vector square norm.
Definition at line 417 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by qCanupo2DViewDialog::addOrSelectPoint(), MainWindow::addToDB(), cloudViewer::DistanceComputationTools::computeCloud2RectangleEquation(), ComputeFacetExtensions(), ComputePMUncertainty(), cloudViewer::DistanceComputationTools::computePoint2LineSegmentDistSquared(), FastMarchingForFacetExtraction::computeTCoefApprox(), ccCompass::estimateStrain(), qFacets::exportFacets(), ccPointListPickingDlg::exportToASCII(), cloudViewer::FPCSRegistrationTools::FindBase(), GetGlobalShift(), ccGLMatrixTpl< T >::getParameters(), ccTrace::insertWaypoint(), cloudViewer::DistanceComputationTools::intersectMeshWithOctree(), cloudViewer::Grid3D< Type >::intersectWith(), ccGLMatrixTpl< T >::invert(), SimpleBinFilter::loadFile(), LASFWFFilter::loadFile(), LasIOFilter::loadFile(), LASFilter::loadFile(), OrientPointNormalWithCloud(), SimpleBinFilter::saveToFile(), and ccGLMatrixTpl< T >::zRotation().
|
inline |
Returns vector square norm (forces double precision output)
Definition at line 419 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by cloudViewer::DistanceComputationTools::computeCloud2ConeEquation(), cloudViewer::DistanceComputationTools::computeCloud2CylinderEquation(), cloudViewer::GeometricalAnalysisTools::ComputeSphereFrom4(), Vector3Tpl< Type >::norm(), Vector3Tpl< Type >::normalize(), Vector3Tpl< Type >::normd(), Ray< T >::radialSquareDistance(), ccBoundingBoxEditorDlg::saveBoxAndAccept(), SaveScan(), Ray< T >::squareDistances(), and Ray< T >::squareDistanceToOrigin().
|
inline |
Sets vector norm to unity.
Definition at line 428 of file CVGeom.h.
References Vector3Tpl< Type >::norm2d().
Referenced by PdmsTools::PdmsObjects::GenericItem::completeOrientation(), cloudViewer::CCMiscTools::ComputeBaseVectors(), cloudViewer::DistanceComputationTools::computeCloud2ConeEquation(), cloudViewer::DistanceComputationTools::computeCloud2CylinderEquation(), ComputeCorePointNormal(), ComputeFacetExtensions(), cloudViewer::Neighbourhood::computeLeastSquareBestFittingPlane(), FastMarchingForFacetExtraction::computeTCoefApprox(), ccCompass::estimateStrain(), qFacets::exportFacets(), ccGLMatrixTpl< T >::FromViewDirAndUpDir(), qM3C2Tools::GuessBestParams(), StereogramWidget::init(), ccGLMatrixTpl< T >::initFromParameters(), LoadScan(), qM3C2Normals::MakeNormalsHorizontal(), MainWindow::onItemPicked(), ccPlaneEditDlg::onNormalChanged(), cloudViewer::Neighbourhood::projectPointsOn2DPlane(), Ray< T >::Ray(), ccBoundingBoxEditorDlg::saveBoxAndAccept(), MascaretFilter::saveToFile(), ccLineation::updateMetadata(), and ccThickness::updateMetadata().
|
inline |
Returns vector norm (forces double precision output)
Definition at line 426 of file CVGeom.h.
References Vector3Tpl< Type >::norm2d().
Referenced by cloudViewer::DistanceComputationTools::computeCloud2ConeEquation(), cloudViewer::DistanceComputationTools::computeCloud2CylinderEquation(), cloudViewer::BoundingBoxTpl< T >::getDiagNormd(), cloudViewer::RegistrationTools::RegistrationProcedure(), and cloudViewer::MeshSamplingTools::samplePointsOnMesh().
|
inline |
Cast operator to a double vector (no loss of precision, can be done silently)
Definition at line 252 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Dot product operator.
Definition at line 385 of file CVGeom.h.
References Vector3Tpl< Type >::dot().
|
inline |
Dot product operator.
Definition at line 491 of file CVGeom.h.
References Vector3Tpl< Type >::dot().
|
inline |
|
inline |
Direct coordinate access (const)
Definition at line 399 of file CVGeom.h.
References Tuple3Tpl< Type >::u.
|
inline |
Cross product operator.
Definition at line 380 of file CVGeom.h.
References Vector3Tpl< Type >::cross().
|
inline |
Cross product operator.
Definition at line 489 of file CVGeom.h.
References Vector3Tpl< Type >::cross().
|
inline |
Multiplication operator.
Definition at line 481 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
|
inline |
In-place multiplication (by a scalar) operator.
Definition at line 459 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Addition operator.
Definition at line 373 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Addition operator.
Definition at line 473 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
In-place addition operator.
Definition at line 345 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
In-place addition operator.
Definition at line 445 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Inverse operator.
Definition at line 440 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Subtraction operator.
Definition at line 366 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Subtraction operator.
Definition at line 477 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
In-place subtraction operator.
Definition at line 352 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
In-place subtraction operator.
Definition at line 452 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Division operator.
Definition at line 485 of file CVGeom.h.
References Vector3Tpl< Type >::Vector3Tpl(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
In-place division (by a scalar) operator.
Definition at line 466 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Assignment Function.
Definition at line 331 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Definition at line 337 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
|
inline |
Direct coordinate access (const)
Definition at line 495 of file CVGeom.h.
References Tuple3Tpl< Type >::u.
|
inline |
Returns a normalized vector which is orthogonal to this one.
Definition at line 433 of file CVGeom.h.
References Tuple3Tpl< Type >::u, and Vector3Tpl< Type >::vorthogonal().
Referenced by PdmsTools::PdmsObjects::GenericItem::completeOrientation(), cloudViewer::CCMiscTools::ComputeBaseVectors(), and cloudViewer::GeometricalAnalysisTools::DetectCircle().
|
inline |
x,y,z product
Definition at line 406 of file CVGeom.h.
References abs(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by cloudViewer::BoundingBoxTpl< T >::volume().
|
inline |
Cast operator to a double vector (explicit call version)
Definition at line 255 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by ccPointPairRegistrationDlg::callHornRegistration(), DecodeCamera(), cloudViewer::RegistrationTools::FilterTransformation(), cloudViewer::RegistrationTools::RegistrationProcedure(), ecvPrimitiveFactoryDlg::setSpherePositionFromClipboard(), ccShiftedObject::toGlobal3d(), ccShiftedObject::toLocal3d(), and ccShiftedObject::toLocal3pc().
|
inline |
Cast operator to a float vector (potential loss of precision, should be called explicitely)
Definition at line 258 of file CVGeom.h.
References Vector3Tpl< Type >::fromArray(), and Tuple3Tpl< Type >::u.
|
inline |
Cast operator to the default vector type (potential loss of precision, should be called explicitely)
Definition at line 263 of file CVGeom.h.
References Vector3Tpl< Type >::fromArray(), and Tuple3Tpl< Type >::u.
Referenced by cloudViewer::PointProjectionTools::Transformation::apply(), and ccShiftedObject::toLocal3pc().
|
inlinestatic |
|
inlinestatic |
Definition at line 624 of file CVGeom.h.
References max(), min(), Vector3Tpl< Type >::vdot(), and Vector3Tpl< Type >::vnorm().
Referenced by Vector3Tpl< Type >::angle_rad().
|
inlinestatic |
Definition at line 635 of file CVGeom.h.
References max(), min(), Vector3Tpl< Type >::vdotd(), and Vector3Tpl< Type >::vnormd().
Referenced by Vector3Tpl< Type >::angle_radd().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 598 of file CVGeom.h.
References Vector3Tpl< Type >::vdistance2().
|
inlinestatic |
Definition at line 581 of file CVGeom.h.
Referenced by Vector3Tpl< Type >::vdistance().
|
inlinestatic |
Definition at line 586 of file CVGeom.h.
Referenced by Vector3Tpl< Type >::vdistanced().
|
inlinestatic |
Definition at line 601 of file CVGeom.h.
References Vector3Tpl< Type >::vdistance2d().
|
inlinestatic |
Definition at line 500 of file CVGeom.h.
Referenced by Vector3Tpl< Type >::vnormalize().
|
inlinestatic |
|
inlinestatic |
Definition at line 520 of file CVGeom.h.
Referenced by Vector3Tpl< Type >::vangle_rad().
|
inlinestatic |
Definition at line 523 of file CVGeom.h.
Referenced by Vector3Tpl< Type >::vangle_radd().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 594 of file CVGeom.h.
References Vector3Tpl< Type >::vnorm2().
Referenced by Vector3Tpl< Type >::vangle_rad().
|
inlinestatic |
Definition at line 573 of file CVGeom.h.
Referenced by Vector3Tpl< Type >::vnorm(), and Vector3Tpl< Type >::vnormalize().
|
inlinestatic |
Definition at line 576 of file CVGeom.h.
Referenced by Vector3Tpl< Type >::vnormd().
|
inlinestatic |
Definition at line 569 of file CVGeom.h.
References Vector3Tpl< Type >::vdivide(), and Vector3Tpl< Type >::vnorm2().
Referenced by Vector3Tpl< Type >::vorthogonal().
|
inlinestatic |
Definition at line 595 of file CVGeom.h.
References Vector3Tpl< Type >::vnorm2d().
Referenced by Vector3Tpl< Type >::vangle_radd().
|
inlinestatic |
Definition at line 605 of file CVGeom.h.
References abs(), and Vector3Tpl< Type >::vnormalize().
Referenced by Vector3Tpl< Type >::orthogonal().
|
inlinestatic |
|
inlinestatic |
Definition at line 539 of file CVGeom.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inlinestatic |