21 SegmentationZone::SegmentationZone(
const string &name,
const string &parent_frame_id,
const string &child_frame_id,
22 const string &bounding_frame_id,
const string &segmentation_frame_id)
23 : name_(name), parent_frame_id_(parent_frame_id), child_frame_id_(child_frame_id),
24 bounding_frame_id_(bounding_frame_id), segmentation_frame_id_(segmentation_frame_id)
30 roll_min_ = -numeric_limits<double>::infinity();
31 pitch_min_ = -numeric_limits<double>::infinity();
32 yaw_min_ = -numeric_limits<double>::infinity();
33 x_min_ = -numeric_limits<double>::infinity();
34 y_min_ = -numeric_limits<double>::infinity();
35 z_min_ = -numeric_limits<double>::infinity();
37 roll_max_ = numeric_limits<double>::infinity();
38 pitch_max_ = numeric_limits<double>::infinity();
39 yaw_max_ = numeric_limits<double>::infinity();
40 x_max_ = numeric_limits<double>::infinity();
41 y_max_ = numeric_limits<double>::infinity();
42 z_max_ = numeric_limits<double>::infinity();
void setName(const std::string &name)
Name value mutator.
double getYawMin() const
Yaw min value accessor.
std::string child_frame_id_
double getPitchMax() const
Pitch max value accessor.
double getYawMax() const
Yaw max value accessor.
void setYawMin(const double yaw_min)
Yaw min value mutator.
double getZMax() const
Z max value accessor.
void setZMin(const double z_min)
Z min value mutator.
void setBoundingFrameID(const std::string &bounding_frame_id)
Bounding frame ID value mutator.
double getPitchMin() const
Pitch min value accessor.
void setYawMax(const double yaw_max)
Yaw max value mutator.
void setPitchMin(const double pitch_min)
Pitch min value mutator.
const std::string & getBoundingFrameID() const
Segmentation frame ID value accessor.
const std::string & getChildFrameID() const
Child frame ID value accessor.
double getYMin() const
Y min value accessor.
void setChildFrameID(const std::string &child_frame_id)
Child frame ID value mutator.
void setPitchMax(const double pitch_max)
Pitch max value mutator.
void setRollMin(const double roll_min)
Roll min value mutator.
void setYMin(const double y_min)
Y min value mutator.
const std::string & getParentFrameID() const
Parent frame ID value accessor.
double getXMax() const
X max value accessor.
double getZMin() const
Z min value accessor.
void setXMax(const double x_max)
X max value mutator.
double getYMax() const
Y max value accessor.
void setZMax(const double z_max)
Z max value mutator.
void setParentFrameID(const std::string &parent_frame_id)
Parent frame ID value mutator.
The criteria for a segmentation zone.
bool getRemoveSurface() const
Remove surface value accessor.
double getRollMax() const
Roll max value accessor.
double getXMin() const
X min value accessor.
const std::string & getSegmentationFrameID() const
Segmentation frame ID value accessor.
void setXMin(const double x_min)
X min value mutator.
std::string bounding_frame_id_
void setRollMax(const double roll_max)
Roll max value mutator.
std::string segmentation_frame_id_
void setYMax(const double y_max)
Y max value mutator.
void setSegmentationFrameID(const std::string &segmentation_frame_id)
Segmentation frame ID value mutator.
std::string parent_frame_id_
void setRemoveSurface(const bool remove_surface)
Remove surface value mutator.
const std::string & getName() const
Name value accessor.
double getRollMin() const
Roll min value accessor.