00001
00002
00003 #ifndef _QDISPLAY_ELLIPSOID_HPP_
00004 #define _QDISPLAY_ELLIPSOID_HPP_
00005
00006 #include <jmath/jblas.hpp>
00007 #include <qdisplay/Shape.hpp>
00008
00009 namespace jafar {
00010 namespace qdisplay {
00015 class Ellipsoid : public Shape {
00016 public:
00022 Ellipsoid( const jblas::vec2& _x, const jblas::sym_mat22& _xCov, double _scale = 3.0 );
00023 Ellipsoid( double x, double y, double cov_x, double cov_y, double cov_xy, double _scale = 3.0 );
00024 virtual ~Ellipsoid() {}
00025 void set( const jblas::vec2& _x, const jblas::sym_mat22& _xCov, double _scale = 3.0 );
00026 };
00027 }
00028 }
00029
00030 #endif