11 const double BuiltinVTKObservation::TOL = 1e-5;
14 BuiltinVTKObservation::BuiltinVTKObservation()
24 BuiltinVTKObservation::BuiltinVTKObservation(
const kernel::r3& k) : k_(k)
27 void BuiltinVTKObservation::setLoc(Vector3 loc)
33 Vector3 BuiltinVTKObservation::getLoc()
const {
return k_.loc_; }
35 void BuiltinVTKObservation::setWeight(
weight_t weight)
43 const Color& BuiltinVTKObservation::getColor()
const
46 return dynamic_cast<const ColorDescriptor&
>(k_.getDescriptor()).getColor();
49 void BuiltinVTKObservation::setColor(
const Color& color)
52 dynamic_cast<ColorDescriptor&
>(k_.getDescriptor()).setColor(color);