[GRASS-dev] wxvdigit

How can I communicate with wx digitizer ( i mean using the wxdigit.so file) using a c++ program.
All I need is create an map with one point from a c++ program which is linked to _grass6_wxvdigit.so located in
/usr/local/grass-6.5.svn/etc/wxpython/vdigit.

How to access the functions of the library using a C++ program run from grass shell with all variables set. My program renders a map when run from grass shell. Now I want to add
digitzer;


Rashad

Hi,

2010/9/29 Mohammed Rashad <mohammedrashadkm@gmail.com>:

All I need is create an map with one point from a c++ program which is
linked to _grass6_wxvdigit.so located in
/usr/local/grass-6.5.svn/etc/wxpython/vdigit.
How to access the functions of the library using a C++ program run from
grass shell with all variables set. My program renders a map when run from
grass shell. Now I want to add

use vedit library as I suggested (take a look at vector/v.edit and
gui/wxpython/vdigit for implementation issues). Also note that vector
digitizer is going to be rewritten from C++ to Python. So don't waste
your time with gui/wxpython/vdigit component.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

ok. I am building a grass standalone application. As a part of it I need vector digitizer. My application is written in C++ and cannot use python for some other reasons.
i saw the code gui/wxpython/vdigit. that are nice c++ classes.
Can I compile then with wxwidgets(C++) library and use it as a vector digitizer based on wxwidgets.
There are wxwidgets specific code. so i thought of rewriting wxpython/gui_modules/vdigit.py
and make a vector digitizer .

Is that possible.?

I need help in creating wxvidgit.so file. Will you please tell the steps to make vedit library…

On Wed, Sep 29, 2010 at 6:46 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2010/9/29 Mohammed Rashad <mohammedrashadkm@gmail.com>:

All I need is create an map with one point from a c++ program which is
linked to _grass6_wxvdigit.so located in
/usr/local/grass-6.5.svn/etc/wxpython/vdigit.
How to access the functions of the library using a C++ program run from
grass shell with all variables set. My program renders a map when run from
grass shell. Now I want to add

use vedit library as I suggested (take a look at vector/v.edit and
gui/wxpython/vdigit for implementation issues). Also note that vector
digitizer is going to be rewritten from C++ to Python. So don’t waste
your time with gui/wxpython/vdigit component.

Martin


Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


Rashad