//---------------------------------------------------------------------------- // EgalTech 2015-2015 //---------------------------------------------------------------------------- // File : PhotoObj.h Data : 05.10.15 Versione : 1.6j1 // Contenuto : Dichiarazione della classe PhotoObj. // // // // Modifiche : 05.10.15 DS Creazione modulo. // // //---------------------------------------------------------------------------- #pragma once #include "/EgtDev/Include/EGkUserObj.h" #include "/EgtDev/Include/EGkPoint3d.h" //---------------------------------------------------------------------------- class PhotoObj : public IUserObj { public : // IUserObj virtual PhotoObj* Clone( void) const ; virtual const std::string& GetClassName( void) const ; virtual bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const ; virtual bool ToSave( void) const { return true ; } virtual bool Save( STRVECTOR& vString) const ; virtual bool Load( const STRVECTOR& vString) ; virtual bool SetOwner( int nId, IGeomDB* pGDB) ; virtual int GetOwner( void) const ; virtual IGeomDB* GetGeomDB( void) const ; public : PhotoObj( void) ; bool Set( const std::string& sName, const std::string& sPath, const Point3d& ptOri, const Point3d& ptCen, double dDimX, double dDimY) ; bool GetPath( std::string& sPath) ; bool ChangePath( const std::string& sPath) ; private : int m_nOwnerId ; IGeomDB* m_pGeomDB ; std::string m_sName ; std::string m_sPath ; Point3d m_ptOri ; Point3d m_ptCen ; double m_dDimX ; double m_dDimY ; } ;