SegmentationZone.h
Go to the documentation of this file.
1 
12 #ifndef RAIL_SEGMENTATION_SEGMENTATION_ZONE_H_
13 #define RAIL_SEGMENTATION_SEGMENTATION_ZONE_H_
14 
15 // C++ Standard Library
16 #include <string>
17 
18 namespace rail
19 {
20 namespace segmentation
21 {
22 
31 {
32 public:
45  SegmentationZone(const std::string &name = "", const std::string &parent_frame_id = "",
46  const std::string &child_frame_id = "", const std::string &bounding_frame_id = "",
47  const std::string &segmentation_frame_id = "");
48 
56  void setRemoveSurface(const bool remove_surface);
57 
65  bool getRemoveSurface() const;
66 
74  void setName(const std::string &name);
75 
83  const std::string &getName() const;
84 
92  void setParentFrameID(const std::string &parent_frame_id);
93 
101  const std::string &getParentFrameID() const;
102 
110  void setChildFrameID(const std::string &child_frame_id);
111 
119  const std::string &getChildFrameID() const;
120 
128  void setSegmentationFrameID(const std::string &segmentation_frame_id);
129 
137  const std::string &getSegmentationFrameID() const;
138 
146  void setBoundingFrameID(const std::string &bounding_frame_id);
147 
155  const std::string &getBoundingFrameID() const;
156 
164  void setRollMin(const double roll_min);
165 
173  double getRollMin() const;
174 
182  void setRollMax(const double roll_max);
183 
191  double getRollMax() const;
192 
200  void setPitchMin(const double pitch_min);
201 
209  double getPitchMin() const;
210 
218  void setPitchMax(const double pitch_max);
219 
227  double getPitchMax() const;
228 
236  void setYawMin(const double yaw_min);
237 
245  double getYawMin() const;
246 
254  void setYawMax(const double yaw_max);
255 
263  double getYawMax() const;
264 
272  void setXMin(const double x_min);
273 
281  double getXMin() const;
282 
290  void setXMax(const double x_max);
291 
299  double getXMax() const;
300 
308  void setYMin(const double y_min);
309 
317  double getYMin() const;
318 
326  void setYMax(const double y_max);
327 
335  double getYMax() const;
336 
344  void setZMin(const double z_min);
345 
353  double getZMin() const;
354 
362  void setZMax(const double z_max);
363 
371  double getZMax() const;
372 
373 private:
380  z_max_;
381 };
382 
383 }
384 }
385 
386 #endif
void setName(const std::string &name)
Name value mutator.
double getYawMin() const
Yaw min value accessor.
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.
SegmentationZone(const std::string &name="", const std::string &parent_frame_id="", const std::string &child_frame_id="", const std::string &bounding_frame_id="", const std::string &segmentation_frame_id="")
Create a SegmentationZone with the given frame information.
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.
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.
void setRollMax(const double roll_max)
Roll max value mutator.
void setYMax(const double y_max)
Y max value mutator.
The criteria for a segmentation zone.
void setSegmentationFrameID(const std::string &segmentation_frame_id)
Segmentation frame ID value mutator.
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.


rail_segmentation
Author(s): Russell Toris , David Kent
autogenerated on Sun Feb 16 2020 04:02:44