Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Types | Public Member Functions | Public Attributes
mrpt::math::TPoint3Df Struct Reference

Detailed Description

Lightweight 3D point (float version).

See also
mrpt::poses::CPoint3D, mrpt::math::TPoint3D

Definition at line 318 of file lightweight_geom_data.h.

#include <mrpt/math/lightweight_geom_data.h>

Public Types

enum  { static_size = 3 }
 

Public Member Functions

 TPoint3Df ()
 
 TPoint3Df (const float xx, const float yy, const float zz)
 
TPoint3Dfoperator+= (const TPoint3Df &p)
 
TPoint3Df operator* (const float s)
 
float & operator[] (size_t i)
 Coordinate access using operator[]. More...
 
const float & operator[] (size_t i) const
 Coordinate access using operator[]. More...
 

Public Attributes

float x
 
float y
 
float z
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
static_size 

Definition at line 320 of file lightweight_geom_data.h.

Constructor & Destructor Documentation

◆ TPoint3Df() [1/2]

mrpt::math::TPoint3Df::TPoint3Df ( )
inline

Definition at line 328 of file lightweight_geom_data.h.

Referenced by operator*().

Here is the caller graph for this function:

◆ TPoint3Df() [2/2]

mrpt::math::TPoint3Df::TPoint3Df ( const float  xx,
const float  yy,
const float  zz 
)
inline

Definition at line 329 of file lightweight_geom_data.h.

Member Function Documentation

◆ operator*()

TPoint3Df mrpt::math::TPoint3Df::operator* ( const float  s)
inline

Definition at line 340 of file lightweight_geom_data.h.

References TPoint3Df().

Here is the call graph for this function:

◆ operator+=()

TPoint3Df& mrpt::math::TPoint3Df::operator+= ( const TPoint3Df p)
inline

Definition at line 333 of file lightweight_geom_data.h.

References x.

◆ operator[]() [1/2]

float& mrpt::math::TPoint3Df::operator[] ( size_t  i)
inline

Coordinate access using operator[].

Order: x,y,z

Definition at line 345 of file lightweight_geom_data.h.

References x, y, and z.

◆ operator[]() [2/2]

const float& mrpt::math::TPoint3Df::operator[] ( size_t  i) const
inline

Coordinate access using operator[].

Order: x,y,z

Definition at line 361 of file lightweight_geom_data.h.

References x, y, and z.

Member Data Documentation

◆ x

float mrpt::math::TPoint3Df::x

◆ y

float mrpt::math::TPoint3Df::y

Definition at line 325 of file lightweight_geom_data.h.

Referenced by mrpt::maps::COctoMapBase< octomap::ColorOcTree, octomap::ColorOcTreeNode >::TInsertionOptions::dumpToTextStream(), mrpt::maps::CPointCloudFilterByDistance::filter(), mrpt::opengl::CFrustum::getBoundingBox(), mrpt::opengl::COctreePointRenderer< Derived >::TNode::getCornerY(), mrpt::opengl::gl_utils::getCurrentRenderingInfo(), mrpt::maps::CPointsMap::insertAnotherMap(), mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::internal_build_PointCloud_for_observation(), mrpt::maps::CColouredOctoMap::internal_insertObservation(), mrpt::opengl::COctreePointRenderer< Derived >::octree_debug_dump_tree(), mrpt::opengl::COctreePointRenderer< Derived >::octree_recursive_render(), operator[](), mrpt::maps::CColouredPointsMap::PLY_export_get_vertex(), mrpt::maps::CPointsMap::PLY_export_get_vertex(), mrpt::opengl::CPointCloud::PLY_export_get_vertex(), mrpt::opengl::CPointCloudColoured::PLY_export_get_vertex(), mrpt::maps::CColouredPointsMap::PLY_import_set_vertex(), mrpt::maps::CPointsMap::PLY_import_set_vertex(), mrpt::opengl::CPointCloud::PLY_import_set_vertex(), mrpt::opengl::CPointCloudColoured::PLY_import_set_vertex(), mrpt::opengl::CFrustum::render_dl(), mrpt::opengl::gl_utils::renderTriangleWithNormal(), mrpt::utils::PLY_Exporter::saveToPlyFile(), mrpt::opengl::COctreePointRenderer< Derived >::TNode::setBBFromOrderInParent(), mrpt::opengl::COctreePointRenderer< Derived >::TNode::update_bb(), and velodyne_scan_to_pointcloud().

◆ z

float mrpt::math::TPoint3Df::z

Definition at line 326 of file lightweight_geom_data.h.

Referenced by mrpt::maps::COctoMapBase< octomap::ColorOcTree, octomap::ColorOcTreeNode >::TInsertionOptions::dumpToTextStream(), mrpt::maps::CPointCloudFilterByDistance::filter(), mrpt::opengl::CFrustum::getBoundingBox(), mrpt::opengl::COctreePointRenderer< Derived >::TNode::getCornerZ(), mrpt::opengl::gl_utils::getCurrentRenderingInfo(), mrpt::maps::CPointsMap::insertAnotherMap(), mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::internal_build_PointCloud_for_observation(), mrpt::maps::CColouredOctoMap::internal_insertObservation(), mrpt::opengl::COctreePointRenderer< Derived >::octree_debug_dump_tree(), mrpt::opengl::COctreePointRenderer< Derived >::octree_recursive_render(), operator[](), mrpt::maps::CColouredPointsMap::PLY_export_get_vertex(), mrpt::maps::CPointsMap::PLY_export_get_vertex(), mrpt::opengl::CPointCloud::PLY_export_get_vertex(), mrpt::opengl::CPointCloudColoured::PLY_export_get_vertex(), mrpt::maps::CColouredPointsMap::PLY_import_set_vertex(), mrpt::maps::CPointsMap::PLY_import_set_vertex(), mrpt::opengl::CPointCloud::PLY_import_set_vertex(), mrpt::opengl::CPointCloudColoured::PLY_import_set_vertex(), mrpt::opengl::CFrustum::render_dl(), mrpt::opengl::gl_utils::renderTriangleWithNormal(), mrpt::utils::PLY_Exporter::saveToPlyFile(), mrpt::opengl::COctreePointRenderer< Derived >::TNode::setBBFromOrderInParent(), mrpt::opengl::COctreePointRenderer< Derived >::TNode::update_bb(), and velodyne_scan_to_pointcloud().




Page generated by Doxygen 1.9.1 for MRPT 1.9.9 Git: 63ea9d1f1 Thu Nov 23 00:06:53 2017 +0100 at mar 26 may 2026 12:19:29 CEST