Galaxis Codebase  1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
Object Class Reference

#include <Object.hpp>

Public Member Functions

 Object ()
 
void set_center_point (pcl::PointXYZ &p_centerPoint)
 
void set_max_dimensions (pcl::PointXYZ &p_leftmostPoint)
 
void set_min_dimensions (pcl::PointXYZ &p_rightmostPoint)
 
pcl::PointXYZ get_center_point (void) const
 
pcl::PointXYZ get_max_dimensions (void) const
 
pcl::PointXYZ get_min_dimensions (void) const
 

Public Attributes

double size
 

Private Attributes

pcl::PointXYZ m_centerPoint
 
pcl::PointXYZ m_maxDimension
 
pcl::PointXYZ m_minDimension
 

Detailed Description

Definition at line 7 of file Object.hpp.

Constructor & Destructor Documentation

◆ Object()

Object::Object ( )

Definition at line 3 of file Object.cpp.

3  {
4  m_centerPoint.x = 0;
5  m_centerPoint.y = 0;
6  m_centerPoint.z = 0;
7  m_maxDimension.x = 0;
8  m_maxDimension.y = 0;
9  m_maxDimension.z = 0;
10  m_minDimension.x = 0;
11  m_minDimension.y = 0;
12  m_minDimension.z = 0;
13 }

References m_centerPoint, m_maxDimension, and m_minDimension.

Member Function Documentation

◆ get_center_point()

pcl::PointXYZ Object::get_center_point ( void  ) const

Definition at line 27 of file Object.cpp.

27  {
28  return m_centerPoint;
29 }

References m_centerPoint.

◆ get_max_dimensions()

pcl::PointXYZ Object::get_max_dimensions ( void  ) const

Definition at line 31 of file Object.cpp.

31  {
32  return m_maxDimension;
33 }

References m_maxDimension.

◆ get_min_dimensions()

pcl::PointXYZ Object::get_min_dimensions ( void  ) const

Definition at line 35 of file Object.cpp.

35  {
36  return m_minDimension;
37 }

References m_minDimension.

◆ set_center_point()

void Object::set_center_point ( pcl::PointXYZ &  p_centerPoint)

Definition at line 15 of file Object.cpp.

15  {
16  m_centerPoint = p_centerPoint;
17 }

References m_centerPoint.

Referenced by EuclideanDetector::cluster_data().

Here is the caller graph for this function:

◆ set_max_dimensions()

void Object::set_max_dimensions ( pcl::PointXYZ &  p_leftmostPoint)

Definition at line 19 of file Object.cpp.

19  {
20  m_maxDimension = p_leftmostPoint;
21 }

References m_maxDimension.

Referenced by EuclideanDetector::cluster_data().

Here is the caller graph for this function:

◆ set_min_dimensions()

void Object::set_min_dimensions ( pcl::PointXYZ &  p_rightmostPoint)

Definition at line 23 of file Object.cpp.

23  {
24  m_minDimension = p_rightmostPoint;
25 }

References m_minDimension.

Referenced by EuclideanDetector::cluster_data().

Here is the caller graph for this function:

Member Data Documentation

◆ m_centerPoint

pcl::PointXYZ Object::m_centerPoint
private

Definition at line 9 of file Object.hpp.

Referenced by get_center_point(), Object(), and set_center_point().

◆ m_maxDimension

pcl::PointXYZ Object::m_maxDimension
private

Definition at line 10 of file Object.hpp.

Referenced by get_max_dimensions(), Object(), and set_max_dimensions().

◆ m_minDimension

pcl::PointXYZ Object::m_minDimension
private

Definition at line 11 of file Object.hpp.

Referenced by get_min_dimensions(), Object(), and set_min_dimensions().

◆ size

double Object::size

Definition at line 18 of file Object.hpp.

Referenced by EuclideanDetector::cluster_data().


The documentation for this class was generated from the following files:
Object::m_maxDimension
pcl::PointXYZ m_maxDimension
Definition: Object.hpp:10
Object::m_centerPoint
pcl::PointXYZ m_centerPoint
Definition: Object.hpp:9
Object::m_minDimension
pcl::PointXYZ m_minDimension
Definition: Object.hpp:11