16 #include <boost/shared_ptr.hpp>
17 #include <boost/optional.hpp>
19 #include <luabind/luabind.hpp>
44 DtLuaFeatureSet getFeaturesWithinArea(luabind::object
const& points, luabind::object
const& attributes);
77 bool getIsLoaded()
const;
80 int getFeatureCount();
84 bool getIsPointFeature(
int);
88 bool getIsLinearFeature(
int);
92 bool getIsArealFeature(
int);
96 std::string getFeatureType(
int);
100 std::vector<std::string> getFeatureAttributeNames(
int);
103 bool getHasAttributeNamed(
int,
const std::string);
111 std::vector<DtLocation3D> getLocations3D(
int);
115 static luabind::object getFeatureAttributeValue(
DtLuaFeatureSet&,
int,
const std::string, lua_State*);
132 virtual void testLoaded();
137 void updateRange(
const DtLocation3D& center,
double range);
138 void updatePoints(luabind::object
const& points);
139 void updateAttributes(luabind::object
const& attributes);
141 void filterFeatures();
144 typedef std::vector<MAKVRinTerra::DtFeature::CPtr>
Features;
157 boost::optional<MAKVRinTerra::DtQuery>
myQuery;