namespace bbtk
{
- class GObjectModel //: public Observable
+ class GObjectModel : public Observable
{
public:
void getInicPoint(double& x, double& y, double& z);
void getFinalPoint(double& x, double& y, double& z);
- void setInicPoint(double& x, double& y, double& z);
- void setFinalPoint(double& x, double& y, double& z);
- void setState(int state);
- int getState();
+ void getCenter(double& x, double& y, double& z);
+ virtual void setInicPoint(double& x, double& y, double& z);
+ virtual void setFinalPoint(double& x, double& y, double& z);
+
+ virtual void move(double xx,double yy,double zz);
virtual bool isPointInside(double x,double y, double z);
- virtual void updateBlackBox(BlackBoxDescriptor::Pointer descriptor);
int getGObjectType();
void setGObjectType(int obtype);
+
+ std::string getBBTKType();
+ void setBBTKType(std::string obtype);
+
+ std::string getBBTKName();
+ void setBBTKName(std::string obname);
+
+ int getObjectId();
+ void setObjectId(int id);
+
+ virtual std::string getStatusText();
+ virtual void save(std::string &content);
private:
double _yFin;
double _zFin;
- int _state;
int _gObjectType;
+ int _objectId;
+
+ std::string _bbtkType;
+ std::string _bbtkName;
//Protected methods