Go to the documentation of this file.
51 if (dataFields.size() != 1)
53 throw InvalidConditionException(
54 "Wrong number of datafields for condition magnitude larger: expected 1 actual: " +
105 if (dataFields.size() != 1)
108 throw InvalidConditionException(
"Wrong number of datafields for condition equals ");
157 if (dataFields.size() != 1)
160 throw InvalidConditionException(
"Wrong number of datafields for condition InRange ");
The Variant class is described here: Variants.
const VariantTypeId Float
void addSupportedType(VariantTypeId dataFieldType=0, ParameterTypeList parameterTypes=ParameterTypeList())
Add a supported type for elementary condition check marks pairs of (dataFieldType,...
std::map< std::string, Variant > StringVariantMap
The LinkedDirection class.
const VariantTypeId Vector3
ConditionCheckMagnitudeInRange()
std::shared_ptr< Value > value()
bool evaluate(const StringVariantMap &dataFields) override
Evaluate the condition based on the current data field values.
ConditionCheck * clone() override
Clones the current check.
Eigen::Vector3f toEigen(const pcl::PointXYZ &pt)
std::string ValueToString(const T &value)
const Variant & getParameter(int index)
Retrieve parameters of check.
ConditionCheckMagnitudeLarger()
static ParameterTypeList createParameterTypeList(int numberTypes,...)
ConditionCheck * clone() override
Clones the current check.
float getFloat(const Ice::Current &c=Ice::emptyCurrent) const override
Return the Variant's value as float.
bool evaluate(const StringVariantMap &dataFields) override
Evaluate the condition based on the current data field values.
bool evaluate(const StringVariantMap &dataFields) override
Evaluate the condition based on the current data field values.
FramedDirection is a 3 dimensional direction vector with a reference frame. The reference frame can b...
const VariantTypeId FramedDirection
void setNumberParameters(int numberParameters)
Sets the number of paramaters required for this check.
ConditionCheck * clone() override
Clones the current check.
ConditionCheckMagnitudeSmaller()
This file offers overloads of toIce() and fromIce() functions for STL container types.
double norm(const Point &a)
const VariantTypeId LinkedDirection