#include <pcdfilter_pa_ros_filter.h>
Public Types | |
| enum | { COUNT_PARAMETER = 3, COUNT_FRAME = 2 } |
| enum | eFiltertype { ftNONE = cPcdFilterPaFilter::ftNONE, ftCUBE = cPcdFilterPaFilter::ftCUBE, ftSPHERE = cPcdFilterPaFilter::ftSPHERE, ftBLOCK = cPcdFilterPaFilter::ftBLOCK, ftCYLINDER = cPcdFilterPaFilter::ftCYLINDER, ftCONE = cPcdFilterPaFilter::ftCONE, ftLINK } |
Public Member Functions | |
| cPcdFilterPaRosFilter () | |
| cPcdFilterPaRosFilter (const cPcdFilterPaRosFilter &other) | |
| bool | fromString (const std::string &filter) |
| setting filter from string | |
| bool | isValid (void) const |
| returning if filter is valid | |
| cPcdFilterPaRosFilter & | operator= (const cPcdFilterPaRosFilter &other) |
| void | reset (void) |
| reseting this filter | |
| std::string | toString (void) const |
| returning string equivalent of filter | |
Public Attributes | |
| std::string | comment_ |
| comment to filter | |
| std::string | frame_ [COUNT_FRAME] |
| frame id(s) | |
| bool | inverse_ |
| inverted filter | |
| tf::Transform | offset_ [COUNT_FRAME] |
| double | parameter_ [COUNT_PARAMETER] |
| single parameter of filter | |
| bool | required_ |
| required filter | |
| eFiltertype | type_ |
| filter type | |
Private Member Functions | |
| bool | _checkSymbol (const std::string &str, int &pos, const char symbol) const |
| helper function for checking a certain symbol | |
| std::string | _floatToStr (const double &value) const |
| helper function for converting a double | |
| std::string | _getComment (const std::string &str) const |
| helper function for returning the comment | |
| std::string | _getValue (const std::string &str, int &pos) const |
| helper function for returning the next value | |
| bool | _skipWhitespace (const std::string &str, int &pos) const |
| helper function for skipping whitespace | |
| bool | _StrToFloat (const std::string &str, double &value) const |
| helper function for converting a double | |
Definition at line 64 of file pcdfilter_pa_ros_filter.h.
| anonymous enum |
Definition at line 75 of file pcdfilter_pa_ros_filter.h.
Definition at line 66 of file pcdfilter_pa_ros_filter.h.
Definition at line 57 of file pcdfilter_pa_ros_filter.cpp.
| cPcdFilterPaRosFilter::cPcdFilterPaRosFilter | ( | const cPcdFilterPaRosFilter & | other | ) |
Definition at line 63 of file pcdfilter_pa_ros_filter.cpp.
| bool cPcdFilterPaRosFilter::_checkSymbol | ( | const std::string & | str, |
| int & | pos, | ||
| const char | symbol | ||
| ) | const [private] |
helper function for checking a certain symbol
Definition at line 349 of file pcdfilter_pa_ros_filter.cpp.
| std::string cPcdFilterPaRosFilter::_floatToStr | ( | const double & | value | ) | const [private] |
helper function for converting a double
Definition at line 403 of file pcdfilter_pa_ros_filter.cpp.
| std::string cPcdFilterPaRosFilter::_getComment | ( | const std::string & | str | ) | const [private] |
helper function for returning the comment
Definition at line 391 of file pcdfilter_pa_ros_filter.cpp.
| std::string cPcdFilterPaRosFilter::_getValue | ( | const std::string & | str, |
| int & | pos | ||
| ) | const [private] |
helper function for returning the next value
Definition at line 365 of file pcdfilter_pa_ros_filter.cpp.
| bool cPcdFilterPaRosFilter::_skipWhitespace | ( | const std::string & | str, |
| int & | pos | ||
| ) | const [private] |
helper function for skipping whitespace
Definition at line 321 of file pcdfilter_pa_ros_filter.cpp.
| bool cPcdFilterPaRosFilter::_StrToFloat | ( | const std::string & | str, |
| double & | value | ||
| ) | const [private] |
helper function for converting a double
Definition at line 412 of file pcdfilter_pa_ros_filter.cpp.
| bool cPcdFilterPaRosFilter::fromString | ( | const std::string & | filter | ) |
setting filter from string
Definition at line 93 of file pcdfilter_pa_ros_filter.cpp.
| bool cPcdFilterPaRosFilter::isValid | ( | void | ) | const |
returning if filter is valid
Definition at line 315 of file pcdfilter_pa_ros_filter.cpp.
| cPcdFilterPaRosFilter & cPcdFilterPaRosFilter::operator= | ( | const cPcdFilterPaRosFilter & | other | ) |
Definition at line 70 of file pcdfilter_pa_ros_filter.cpp.
| void cPcdFilterPaRosFilter::reset | ( | void | ) |
reseting this filter
Definition at line 299 of file pcdfilter_pa_ros_filter.cpp.
| std::string cPcdFilterPaRosFilter::toString | ( | void | ) | const |
returning string equivalent of filter
Definition at line 194 of file pcdfilter_pa_ros_filter.cpp.
| std::string cPcdFilterPaRosFilter::comment_ |
comment to filter
Definition at line 104 of file pcdfilter_pa_ros_filter.h.
| std::string cPcdFilterPaRosFilter::frame_[COUNT_FRAME] |
frame id(s)
Definition at line 98 of file pcdfilter_pa_ros_filter.h.
inverted filter
Definition at line 86 of file pcdfilter_pa_ros_filter.h.
Definition at line 101 of file pcdfilter_pa_ros_filter.h.
single parameter of filter
Definition at line 95 of file pcdfilter_pa_ros_filter.h.
required filter
Definition at line 92 of file pcdfilter_pa_ros_filter.h.
filter type
Definition at line 89 of file pcdfilter_pa_ros_filter.h.