SF.net SVN: avogadro: trunk/libavogadro/src/tools

On May 7, 2007, at 5:05 PM, Donald Ephraim Curtis wrote:

Is OB trying to maintain ABI compatability?

I don’t know if there will be an API/ABI-compatible Open Babel 2.2
release. Certainly I’d really love to break some things this summer
(atom indexing at the top of the list).

If you have some “Open Babel Enhancement Proposals,” it seems like
Noel already got started:
http://openbabel.sourceforge.net/wiki/OBEP_1

One reason I wanted to try Avogadro is that I knew we’d be exercising
Open Babel in new and exiting (i.e., buggy) ways. So far, so good. :slight_smile:

Cheers,
-Geoff

Geoff,

Is OB trying to maintain ABI compatability? If not, I would suggest
possibly adding three new functions to OB (eventually) ::NewAtom(OBAtom
&atom), ::NewBond(OBBond &bond)… etc so that we can copy stuff over
in a subclass (this would be a good solution for the problem you
implemented with selecting the newly pasted atoms).

Another solution might be that we add a flag in the primitive class
“selectNew” that does the selection in the NewAtom function rather than
in +=. That way in Molecule::operator+= we can setSelectNew(true) and
when NewAtom gets called the newly created atoms will be selected and
wouldn’t have to worry about the index thing.

Anyways, just my 2c. I wouldn’t want to do it anytime soon if we’re
going to to try to release Avo. Needs to be linked against the stable
version of OB.


Donald

(Mon, May 07, 2007 at 11:23:22AM -0700) ghutchis@users.sourceforge.net:

Revision: 340
http://svn.sourceforge.net/avogadro/?rev=340&view=rev
Author: ghutchis
Date: 2007-05-07 11:22:15 -0700 (Mon, 07 May 2007)

Log Message:

Initial “manipulate mode” for select tool.
Hold down the shift key: left button rotates (needs work) right translates

Modified Paths:

trunk/libavogadro/src/tools/selectrotatetool.cpp
trunk/libavogadro/src/tools/selectrotatetool.h

This was sent by the SourceForge.net collaborative development platform, the world’s largest Open Source development site.


This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


Avogadro-updates mailing list
Avogadro-updates@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-updates